ref: 8dce9c5affcbe1ea610d7d919f2addc4bf9e0bff
parent: 1f3728c177741b5cdf9a0fbebb47968374fdc839
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Sep 2 20:43:05 EDT 2019
Add some missing code to the main function This code was previously in WindowProc, which was replaced.
--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -300,6 +300,12 @@
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
#endif
+ if (CheckFileExists("fps"))
+ bFps = TRUE;
+
+ if (!bFullscreen)
+ LoadWindowRect(hWnd, "window.rect", FALSE);
+
// Set rects
RECT rcLoading = {0, 0, 64, 8};
RECT rcFull = {0, 0, 0, 0};
--
⑨