]> git.sur5r.net Git - cc65/commitdiff
Programs need to reset NES input controllers by writing to them. 248/head
authorGreg King <gregdk@users.sf.net>
Tue, 15 Dec 2015 16:26:04 +0000 (11:26 -0500)
committerGreg King <gregdk@users.sf.net>
Tue, 15 Dec 2015 16:26:04 +0000 (11:26 -0500)
include/nes.h

index 934b8a8025cef7055544297ad1ab209c8076e823..a472a0f3c9cd587369163ae43a27cf54ca40ce1e 100644 (file)
@@ -155,7 +155,7 @@ struct __apu {
 };
 #define APU             (*(struct __apu*)0x4000)
 
-#define JOYPAD          ((unsigned char volatile const[2])0x4016)
+#define JOYPAD          ((unsigned char volatile[2])0x4016)
 
 /* The addresses of the static drivers */
 extern void nes_stdjoy_joy[];       /* Referred to by joy_static_stddrv[] */