Libretro: Fixed uninitalized variable causing core to freeze after loading rom
This commit is contained in:
parent
7c79bf2974
commit
1015ed6850
1 changed files with 2 additions and 0 deletions
|
@ -47,6 +47,7 @@ Console::Console()
|
|||
_paused = false;
|
||||
_pauseOnNextFrame = false;
|
||||
_stopFlag = false;
|
||||
_isRunAheadFrame = false;
|
||||
_lockCounter = 0;
|
||||
}
|
||||
|
||||
|
@ -236,6 +237,7 @@ void Console::RunSingleFrame()
|
|||
//Used by Libretro
|
||||
uint32_t lastFrameNumber = _ppu->GetFrameCount();
|
||||
_emulationThreadId = std::this_thread::get_id();
|
||||
_isRunAheadFrame = false;
|
||||
|
||||
_controlManager->UpdateInputState();
|
||||
_internalRegisters->ProcessAutoJoypadRead();
|
||||
|
|
Loading…
Add table
Reference in a new issue