mupen64plus-oldsvn/r4300
James Hood 5f40aa84cc -major cleanup of the cheat code.
-Changed name of cheat config file to cheats.cfg. File is now read in on startup and written out on exit.
-Changed cheat config file format to the following:

{Some Game's CRC}
name=Some Game

[Cheat Name 1]
enabled=1
XXXXXXXX YYYY <-- cheat code (address, new value)
XXXXXXXX YYYY
XXXXXXXX YYYY

[Cheat Name 2]
enabled=0
XXXXXXXX YYYY
XXXXXXXX YYYY
XXXXXXXX YYYY

{Another Game's CRC}
name=Another Game
...

Here's the cheats.cfg I used for testing:

{635a2bff 8b022326}
name=SUPER MARIO 64

[Super Mega Jumps]
enabled=1
8133b176 0008

[Jesus Mode Mario]
enabled=1
81381764 0800
81381766 0024
81000090 3c04
81000092 8034
81000094 8484
81000096 b1e6
81000098 4484
8100009a 3000
810000a0 4680
810000a2 3120
810000a4 4604
810000a6 903c
810000ac 4500
810000ae 0002
810000b4 4600
810000b6 2486
810000b8 080e
810000ba 05db
810000bc e712
2008-04-09 06:59:41 +00:00
..
x86 Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
x86_64 Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
bc.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
compare_core.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
cop0.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
cop1.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
cop1_d.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
cop1_l.c Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
cop1_s.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
cop1_w.c Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
empty_dynarec.c Added NO_ASM makefile parameter to compile mupen64plus with no dynarec or mmx/sse code. This is useful for building on non-intel architectures like PPC or Sparc. glide64 and rice video will probably not work 2008-04-07 03:14:17 +00:00
exception.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
exception.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
interupt.c -major cleanup of the cheat code. 2008-04-09 06:59:41 +00:00
interupt.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
macros.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
ops.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
profile.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
pure_interp.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
r4300.c Added NO_ASM makefile parameter to compile mupen64plus with no dynarec or mmx/sse code. This is useful for building on non-intel architectures like PPC or Sparc. glide64 and rice video will probably not work 2008-04-07 03:14:17 +00:00
r4300.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
recomp.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
recomp.h Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
recomph.h Imported mupen64plus/trunk from mupen64-amd64/trunk/mupen64-64bit rev 254 2008-03-15 14:33:00 +00:00
regimm.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
special.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00
tlb.c Converted all tabs to 4-spaces, and all line endings to LF-only 2008-04-06 14:55:37 +00:00