Merge pull request #376 from negativeExponent/fix_famicom_expansion_crash
Fix SIGSEGV error when using Famicom expansion devices (port 5)
This commit is contained in:
@@ -125,7 +125,7 @@ typedef struct {
|
||||
/* input data */
|
||||
uint32_t JSReturn; /* player input data, 1 byte per player (1-4) */
|
||||
uint32_t MouseData[MAX_PORTS][3]; /* nes mouse data */
|
||||
uint32_t FamicomData; /* Famicom expansion port data */
|
||||
uint32_t FamicomData[3]; /* Famicom expansion port data */
|
||||
} NES_INPUT_T;
|
||||
|
||||
static NES_INPUT_T nes_input = { 0 };
|
||||
|
||||
Reference in New Issue
Block a user