Programs need to reset NES input controllers by writing to them.

This commit is contained in:
Greg King 2015-12-15 11:26:04 -05:00
parent 82860423f3
commit abfc36ec9c

View 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[] */