From 1cc61b98f35bc681105bdfe9726212d9727ea97f Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Tue, 18 Oct 2016 18:30:36 -0700 Subject: Remove breakpoint functions. No one should use this emu for testing, and those functions where just floating there disconnected. --- source/fxemu.c | 7 +++++-- source/fxemu.h | 7 +++---- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'source') 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); -- cgit v1.2.3