Removed unused variable, added tick count check

This commit is contained in:
Fog
2014-06-20 16:56:00 -04:00
parent 07da9cbcf4
commit 76c5fa084b
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}