mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-08-25 11:57:14 -05:00
FifoManager: Extract RestoreState from PauseAndLock
Replace calls of FifoManager::PauseAndLock(do_lock=false) with new function RestoreState for clarity.
This commit is contained in:
@@ -86,6 +86,12 @@ void FifoManager::PauseAndLock(bool do_lock, bool unpause_on_unlock)
|
||||
}
|
||||
}
|
||||
|
||||
void FifoManager::RestoreState(const bool was_running)
|
||||
{
|
||||
if (was_running)
|
||||
EmulatorState(true);
|
||||
}
|
||||
|
||||
void FifoManager::Init()
|
||||
{
|
||||
if (!m_config_callback_id)
|
||||
|
||||
Reference in New Issue
Block a user