mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Removed unused variable, added tick count check
This commit is contained in:
@ -937,7 +937,7 @@ void LoadInput(const std::string& filename)
|
||||
|
||||
static void CheckInputEnd()
|
||||
{
|
||||
if (g_currentFrame > g_totalFrames || g_currentByte >= g_totalBytes)
|
||||
if (g_currentFrame > g_totalFrames || g_currentByte >= g_totalBytes || (CoreTiming::GetTicks() > g_totalTickCount && !IsRecordingInputFromSaveState()))
|
||||
{
|
||||
EndPlayInput(!g_bReadOnly);
|
||||
}
|
||||
|
Reference in New Issue
Block a user