From abfc36ec9cb528ade2caf342ba902af9d4a86258 Mon Sep 17 00:00:00 2001 From: Greg King Date: Tue, 15 Dec 2015 11:26:04 -0500 Subject: [PATCH] Programs need to reset NES input controllers by writing to them. --- include/nes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] */ -- 2.39.5