aboutsummaryrefslogtreecommitdiff
path: root/source/fxemu.h
diff options
context:
space:
mode:
authorJoão Silva2017-08-14 06:03:05 +0100
committerJoão Silva2017-08-14 06:03:05 +0100
commit5e450063fbe25926ae50d569c285db428055318a (patch)
treed0dd772a589dbfa07bacd70207fc4db0f37d4109 /source/fxemu.h
parentfdaf2925f1353b07cd957ae47b0e6793648559be (diff)
downloadsnesemu-5e450063fbe25926ae50d569c285db428055318a.tar.gz
snesemu-5e450063fbe25926ae50d569c285db428055318a.tar.bz2
snesemu-5e450063fbe25926ae50d569c285db428055318a.zip
Deleted several unused variables, code and files.
Diffstat (limited to 'source/fxemu.h')
-rw-r--r--source/fxemu.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/fxemu.h b/source/fxemu.h
index 3161ebd..66e64e4 100644
--- a/source/fxemu.h
+++ b/source/fxemu.h
@@ -22,39 +22,13 @@ extern void FxReset(FxInit_s* psFxInfo);
extern int32_t FxEmulate(uint32_t nInstructions);
/* Write access to the cache */
-extern void FxCacheWriteAccess(uint16_t vAddress);
extern void FxFlushCache(void); /* Called when the G flag in SFR is set to zero */
-/* Errors */
-extern int32_t FxGetErrorCode(void);
-extern int32_t FxGetIllegalAddress(void);
-
-/* Access to internal registers */
-extern uint32_t FxGetColorRegister(void);
-extern uint32_t FxGetPlotOptionRegister(void);
-extern uint32_t FxGetSourceRegisterIndex(void);
-extern uint32_t FxGetDestinationRegisterIndex(void);
-
-/* Get the byte currently in the pipe */
-extern uint8_t FxPipe(void);
-
/* SCBR write seen. We need to update our cached screen pointers */
extern void fx_dirtySCBR(void);
/* Update RamBankReg and RAM Bank pointer */
extern void fx_updateRamBank(uint8_t Byte);
-/* Option flags */
-#define FX_FLAG_ADDRESS_CHECKING 0x01
-#define FX_FLAG_ROM_BUFFER 0x02
-
-/* Return codes from FxEmulate(), FxStepInto() or FxStepOver() */
-#define FX_BREAKPOINT -1
-#define FX_ERROR_ILLEGAL_ADDRESS -2
-
-/* Return the number of bytes in an opcode */
-#define OPCODE_BYTES(op) ((((op) >= 0x05 && (op) <= 0xf) || ((op) >= 0xa0 && (op) <= 0xaf)) ? 2 : (((op) >= 0xf0) ? 3 : 1))
-
extern void fx_computeScreenPointers(void);
-
#endif