]> git.sur5r.net Git - cc65/blobdiff - include/nes.h
Added a missing -O configuration.
[cc65] / 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[] */