Skip to content

Commit

Permalink
Merge pull request #50 from samizzo/disassemble-reset-fix
Browse files Browse the repository at this point in the history
Fixed bug where when resetting, the first opcode would not be disassembled.
  • Loading branch information
drhelius committed Sep 5, 2021
2 parents 7f86d64 + cffdd88 commit 3c2233a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/GearsystemCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,7 @@ void GearsystemCore::ResetROM(Cartridge::ForceConfiguration* config)
Reset();
m_pMemory->LoadSlotsFromROM(m_pCartridge->GetROM(), m_pCartridge->GetROMSize());
AddMemoryRules();
// #ifndef GEARSYSTEM_DISABLE_DISASSEMBLER
// m_pProcessor->Disassemble(m_pProcessor->GetState()->PC->GetValue());
// #endif
m_pProcessor->DisassembleNextOpcode();
}
}

Expand Down

0 comments on commit 3c2233a

Please sign in to comment.