Created
January 1, 2016 08:07
-
-
Save crabtw/3d4fee3049e342554134 to your computer and use it in GitHub Desktop.
Fix COIN key of gngeo 0.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/event.c.orig 2016-01-01 15:55:03.995071650 +0800 | |
+++ src/event.c 2016-01-01 15:56:36.584921148 +0800 | |
@@ -385,6 +385,11 @@ | |
if (joy_state[1][GN_START]) | |
memory.intern_start &= 0xFB; | |
+ if (joy_state[0][GN_SELECT_COIN]) | |
+ memory.intern_start &= 0xFD; | |
+ if (joy_state[1][GN_SELECT_COIN]) | |
+ memory.intern_start &= 0xF7; | |
+ | |
/* Update P1 */ | |
memory.intern_p1 = 0xFF; | |
if (joy_state[0][GN_UP] && (!joy_state[0][GN_DOWN])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment