From: Greg King Date: Tue, 15 Dec 2015 16:26:04 +0000 (-0500) Subject: Programs need to reset NES input controllers by writing to them. X-Git-Tag: V2.16~191^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abfc36ec9cb528ade2caf342ba902af9d4a86258;p=cc65 Programs need to reset NES input controllers by writing to them. --- diff --git a/include/nes.h b/include/nes.h index 934b8a802..a472a0f3c 100644 --- a/include/nes.h +++ b/include/nes.h @@ -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[] */