Fixed "logBreaks" output in debugger

This commit is contained in:
Thomas Jentzsch 2022-10-03 18:16:14 +02:00
parent d893b12807
commit d8ed1d1d13
1 changed files with 5 additions and 0 deletions

View File

@ -273,7 +273,12 @@ inline void M6502::_execute(uInt64 cycles, DispatchResult& result)
else
{
if(myLogBreaks)
{
// Make sure that the TIA state matches the current system clock.
// Else Scanlines, Cycles and Pixels are not updated for logging.
mySystem->tia().updateEmulation();
myDebugger->log("BP:");
}
else
{
ostringstream msg;