Fixed declaration of two variables, 32-bit PCem no longer crashes.

This commit is contained in:
OBattler
2016-07-29 03:34:42 +02:00
parent f438a72437
commit 95ec4d5429

View File

@@ -183,6 +183,9 @@ void leave_fullscreen()
uint64_t main_time; uint64_t main_time;
uint64_t start_time;
uint64_t end_time;
void mainthread(LPVOID param) void mainthread(LPVOID param)
{ {
int t = 0; int t = 0;
@@ -205,8 +208,7 @@ void mainthread(LPVOID param)
old_time = new_time; old_time = new_time;
if (drawits > 0 && !pause) if (drawits > 0 && !pause)
{ {
uint64_t start_time = timer_read(); start_time = timer_read();
uint64_t end_time;
drawits-=10; if (drawits>50) drawits=0; drawits-=10; if (drawits>50) drawits=0;
runpc(); runpc();
frames++; frames++;