Commit Graph

10 Commits

Author SHA1 Message Date
negativeExponent
565f60c0f2 Fix some warnings 2020-10-25 08:31:41 +08:00
negativeExponent
f4ef507222 Cheats: Add check for valid game genie code format
- Partially reverts changes in 0b362afcc0
- Checks the codestring if its a valid game genie code before attempting
  to decode it. If code fails, then assume it to be a pro action replay
cheat.

Issue: Cheats where failing because a value of 0 in the decoder does not
mean an error.

Fix https://github.com/libretro/libretro-fceumm/issues/384
2020-09-09 11:33:36 +08:00
negativeExponent
0b362afcc0 Cheats: Fix pro action replay cheat format
Two issues are causiong PAR cheats to not work.
1. GG decoder should only accept specific characters. When it fails,
   assume PAR code.
2. The corrent code that makes PAR decoding work was not set.

Both fixed on this PR with some added notes.
2020-08-31 12:49:42 +08:00
negativeExponent
a37314c4be Silence warnings 2020-02-16 23:14:49 +08:00
retro-wertz
52c8155dee Use C-comment style 2017-10-15 03:13:11 +08:00
Andre Leiradella
d854ca66f5 Memory map all the available RAM 2017-07-13 00:23:01 +01:00
twinaphex
22f4172f40 We don't need these file I/O functions 2017-03-24 02:13:48 +01:00
twinaphex
944b48a732 (Untested) Implement cheats 2014-12-08 17:33:02 +01:00
twinaphex
30b4c60b21 Rename files endian.c and memory.c 2014-03-30 22:29:30 +02:00
twinaphex
7e6caac57d Initial commit - http://sourceforge.net/p/fceumm/code/160/ 2014-03-30 22:15:17 +02:00