Page 1 of 1
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 12:08 pm
by martinultima
Currently running VBA-M (SDL version) as of 2008/07/20, plus a few patches. One of them is a functional fix -- I think I've already posted it here, but it's fairly small so I'll post it again -- and the other two are build fixes required on my machine.
Â
I just checked out the current SVN (2008/08/03) and these still applied without any errors, so I'm submitting them again so they can be integrated "upstream".
Â
All patches apply at -p0
.
Â
vbam-gameboy-gameshark.diff.gz: Recognize GameShark codes (for original GameBoy/Color) passed with the --cheat
option. Probably should have also added GameGenie, but this was enough to get me through Zelda: Oracle of Seasons [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />
Â
The other two patches are build fixes that I needed on my machine. They actually just comment out or delete the offending sections of CMakeLists.txt
-- I'm not familiar with cmake's syntax, so I took the path of least resistance here, but might at least be something so consider:
Â
CMakeLists.txt.diff.gz: Build without GTK-mm support.
Â
CMakeLists.txt.lirc.diff.gz: Build without LIRC support.
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 1:32 pm
by chrono
Reworked build-fix patch. [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" />
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 3:59 pm
by spacy51
If someone with Linux & SVN-rights could please have a look at this and commit it...
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 5:07 pm
by xKiv
Build, runs GBA rom(s), runs GB rom(s).
Committed.
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 6:34 pm
by spacy51
Thank you, did you make sure you didn't break LIRC?
GBC cheats (GameShark) + compile fixes
Posted: Sun Aug 03, 2008 7:59 pm
by xKiv
I don't have LIRC, so I can't vouch for that working, but the only changes in code for it were
#ifdef WITH_LIRC -> #if WITH_LIRC
and WITH_LIRC is -D'ed to eighter 0 or 1, based on CMakeList's WITH_LIRC
Â
I assume you would have to pass -D WITH_LIRC=1 (oslt) to cmake to get lirc support.
GBC cheats (GameShark) + compile fixes
Posted: Mon Aug 04, 2008 12:19 am
by martinultima
Wow, fast response. [img]<fileStore.core_Emoticons>/emoticons/smile.png[/img]/emoticons/smile@2x.png 2x" width="20" height="20" /> Once I've got my own build environment updated I'll test the latest SVN.
GBC cheats (GameShark) + compile fixes
Posted: Mon Aug 04, 2008 12:20 am
by slacker
cmake files fail for me i cant turn on the lirc support. atm i changed it back to ifdef with_lirc but then it cant be turned off.
Â
i can tell you that the lircCheckInput() function is way too low and cannot access some of the functions like sdlReadState() and sdlWriteState()
Â
once you move the function and get the cmake files sorted it all should work. im sorry i dont know howto use cmake mayby it is fixed and im just doing it wrong using
cmake --with_lirc=1 . or
cmake -Dwith_lirc=1 .
Â
doesn't work for me. nice emulator i have 1 more issue related to sdl detecting 640x480 when i use 1024x768 im guessing this is a sdl problem and not yours im writing a little thing that will use screenwidth and screenheight if defined in the config file. i jsut thought id let you guys know
GBC cheats (GameShark) + compile fixes
Posted: Mon Aug 04, 2008 5:24 am
by chrono