aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authormeepingsnesroms2016-10-18 18:30:36 -0700
committermeepingsnesroms2016-10-18 18:30:36 -0700
commit1cc61b98f35bc681105bdfe9726212d9727ea97f (patch)
tree380d3e6bd58146466e9221a23f61f378b955cef8 /source
parente2eb2ce8c9c2c8731d8fcffedaf8a6a40346b69a (diff)
downloadsnes9x2005-1cc61b98f35bc681105bdfe9726212d9727ea97f.tar.gz
snes9x2005-1cc61b98f35bc681105bdfe9726212d9727ea97f.tar.bz2
snes9x2005-1cc61b98f35bc681105bdfe9726212d9727ea97f.zip
Remove breakpoint functions.
No one should use this emu for testing, and those functions where just floating there disconnected.
Diffstat (limited to 'source')
-rw-r--r--source/fxemu.c7
-rw-r--r--source/fxemu.h7
2 files changed, 8 insertions, 6 deletions
diff --git a/source/fxemu.c b/source/fxemu.c
index 749a00e..ecef971 100644
--- a/source/fxemu.c
+++ b/source/fxemu.c
@@ -635,10 +635,12 @@ int FxEmulate(uint32_t nInstructions)
/* Execute GSU session */
CF(IRQ);
+ /*
if (GSU.bBreakPoint)
vCount = fx_ppfFunctionTable[FX_FUNCTION_RUN_TO_BREAKPOINT](nInstructions);
else
- vCount = fx_ppfFunctionTable[FX_FUNCTION_RUN](nInstructions);
+ */
+ vCount = fx_ppfFunctionTable[FX_FUNCTION_RUN](nInstructions);
/* Store GSU registers */
fx_writeRegisterSpace();
@@ -651,6 +653,7 @@ int FxEmulate(uint32_t nInstructions)
}
/* Breakpoints */
+/*
void FxBreakPointSet(uint32_t vAddress)
{
GSU.bBreakPoint = true;
@@ -659,7 +662,7 @@ void FxBreakPointSet(uint32_t vAddress)
void FxBreakPointClear()
{
GSU.bBreakPoint = false;
-}
+}*/
/* Step by step execution */
int FxStepOver(uint32_t nInstructions)
diff --git a/source/fxemu.h b/source/fxemu.h
index cee82f0..fcc1ee0 100644
--- a/source/fxemu.h
+++ b/source/fxemu.h
@@ -112,12 +112,11 @@ extern int FxEmulate(uint32_t nInstructions);
/* Write access to the cache */
extern void FxCacheWriteAccess(uint16_t vAddress);
-extern void
-FxFlushCache(); /* Callled when the G flag in SFR is set to zero */
+extern void FxFlushCache(); /* Callled when the G flag in SFR is set to zero */
/* Breakpoint */
-extern void FxBreakPointSet(uint32_t vAddress);
-extern void FxBreakPointClear();
+//extern void FxBreakPointSet(uint32_t vAddress);
+//extern void FxBreakPointClear();
/* Step by step execution */
extern int FxStepOver(uint32_t nInstructions);