Cleanup bsnes debugger logic
This commit is contained in:
parent
f69b1fee0c
commit
b4c0b5dc45
2 changed files with 3 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -20,9 +20,11 @@ BSNES_PROFILE_STRING=profile=accuracy
|
|||
endif
|
||||
ifeq ($(BSNES_VERSION), 084)
|
||||
BSNES_PROFILE_STRING+=options=debugger
|
||||
CFLAGS += -DBSNES_HAS_DEBUGGER
|
||||
else
|
||||
ifeq ($(BSNES_VERSION), 085)
|
||||
BSNES_PROFILE_STRING+=options=debugger
|
||||
CFLAGS += -DBSNES_HAS_DEBUGGER
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -915,7 +915,7 @@ std::pair<bool, uint32_t> core_emulate_cycles(uint32_t cycles)
|
|||
{
|
||||
if(!internal_rom)
|
||||
return std::make_pair(false, 0);
|
||||
#if defined(BSNES_V084) || defined(BSNES_V085)
|
||||
#ifdef BSNES_HAS_DEBUGGER
|
||||
messages << "Executing delayed reset... This can take some time!" << std::endl;
|
||||
video_refresh_done = false;
|
||||
delayreset_cycles_run = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue