mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Removed unused variable, added tick count check
This commit is contained in:
parent
07da9cbcf4
commit
76c5fa084b
@ -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);
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ extern u64 g_currentByte, g_totalBytes;
|
||||
extern u64 g_currentFrame, g_totalFrames;
|
||||
extern u64 g_currentLagCount, g_totalLagCount;
|
||||
extern u64 g_currentInputCount, g_totalInputCount;
|
||||
extern u64 g_currentTickCount, g_totalTickCount, g_tickCountAtLastInput;
|
||||
extern u64 g_totalTickCount, g_tickCountAtLastInput;
|
||||
extern std::string g_discChange;
|
||||
|
||||
extern u32 g_rerecords;
|
||||
|
Loading…
x
Reference in New Issue
Block a user