Fix Emulator::IsPaused()

This commit is contained in:
Eladash 2021-03-02 16:56:23 +02:00 committed by Ivan
parent 66df38957b
commit aad5283786
5 changed files with 32 additions and 45 deletions

View file

@ -741,7 +741,7 @@ bool gdb_thread::cmd_vcont(gdb_cmd& cmd)
}
ppu->state -= cpu_flag::dbg_pause;
//special case if app didn't start yet (only loaded)
if (!Emu.IsPaused() && !Emu.IsRunning()) {
if (Emu.IsReady()) {
Emu.Run(true);
}
if (Emu.IsPaused()) {