summaryrefslogtreecommitdiffstats
path: root/src/skel/win
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-18 22:40:32 +0100
committerwithmorten <morten.with@gmail.com>2021-02-18 22:40:32 +0100
commit48cec4a7862f40de2d0a31c065b1b24cf52d3548 (patch)
tree59945a1d0fda7befa084f3aca91a86e866eb53ef /src/skel/win
parentupdate librw; render groups only if extension supported (diff)
downloadre3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.gz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.bz2
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.lz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.xz
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.tar.zst
re3-48cec4a7862f40de2d0a31c065b1b24cf52d3548.zip
Diffstat (limited to 'src/skel/win')
-rw-r--r--src/skel/win/win.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 86b0b214..baf9fdde 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2275,7 +2275,7 @@ WinMain(HINSTANCE instance,
case GS_START_UP:
{
#ifdef NO_MOVIES
- gGameState = GS_INIT_ONCE;
+ gGameState = gbNoMovies ? GS_INIT_ONCE : GS_INIT_LOGO_MPEG;
#else
gGameState = GS_INIT_LOGO_MPEG;
#endif
@@ -2314,8 +2314,11 @@ WinMain(HINSTANCE instance,
case GS_INIT_INTRO_MPEG:
{
-#ifndef NO_MOVIES
+#ifdef NO_MOVIES
+ if (!gbNoMovies)
+#endif
CloseClip();
+#ifndef FIX_BUGS
CoUninitialize();
#endif
@@ -2351,8 +2354,11 @@ WinMain(HINSTANCE instance,
case GS_INIT_ONCE:
{
-#ifndef NO_MOVIES
+#ifdef NO_MOVIES
+ if (!gbNoMovies)
+#endif
CloseClip();
+#ifndef FIX_BUGS
CoUninitialize();
#endif