aboutsummaryrefslogtreecommitdiff
path: root/source/fxinst.h
diff options
context:
space:
mode:
authortwinaphex2017-08-11 17:53:39 +0200
committertwinaphex2017-08-11 17:53:39 +0200
commit62be8bed4dc3dc7793f1df1391f153436e4ea949 (patch)
treeceeb31adb5fbbae99184fdb3d89cafacc70f556e /source/fxinst.h
parentb9c74ceb1352c8f433cf6bf2c446ae07457c5267 (diff)
downloadsnesemu-62be8bed4dc3dc7793f1df1391f153436e4ea949.tar.gz
snesemu-62be8bed4dc3dc7793f1df1391f153436e4ea949.tar.bz2
snesemu-62be8bed4dc3dc7793f1df1391f153436e4ea949.zip
More buildfixes
Diffstat (limited to 'source/fxinst.h')
-rw-r--r--source/fxinst.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/fxinst.h b/source/fxinst.h
index e63c68c..68555b2 100644
--- a/source/fxinst.h
+++ b/source/fxinst.h
@@ -169,8 +169,8 @@ typedef struct
uint32_t vScreenRealHeight; /* 128, 160, 192 or 256 */
uint32_t vPrevScreenHeight;
uint32_t vScreenSize;
- void (*pfPlot)();
- void (*pfRpix)();
+ void (*pfPlot)(void);
+ void (*pfRpix)(void);
uint8_t* pvRamBank; /* Pointer to current RAM-bank */
uint8_t* pvRomBank; /* Pointer to current ROM-bank */
uint8_t* pvPrgBank; /* Pointer to current program ROM-bank */
@@ -340,8 +340,8 @@ typedef struct
(*fx_apfOpcodeTable[ (GSU.vStatusReg & 0x300) | vOpcode ])(); \
}
-extern void (*fx_apfOpcodeTable[])();
-extern void (*fx_apfPlotTable[])();
+extern void (*fx_apfOpcodeTable[])(void);
+extern void (*fx_apfPlotTable[])(void);
uint32_t fx_run(uint32_t nInstructions);