summaryrefslogtreecommitdiffstats
path: root/src/skel
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 00:30:02 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-19 00:30:02 +0100
commitdfa0c8bf1921d955f1ea5af6388a381b280fcd98 (patch)
tree639af8a47ae411af564387c5cf1f700b9495390d /src/skel
parentGet keyboard input from X11 on Linux (diff)
parentname error strings to REVC (diff)
downloadre3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.gz
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.bz2
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.lz
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.xz
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.tar.zst
re3-dfa0c8bf1921d955f1ea5af6388a381b280fcd98.zip
Diffstat (limited to 'src/skel')
-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 89c901b2..21bd0eb0 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2273,7 +2273,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
@@ -2353,8 +2356,11 @@ WinMain(HINSTANCE instance,
case GS_INIT_ONCE:
{
-#ifndef NO_MOVIES
+#ifdef NO_MOVIES
+ if (!gbNoMovies)
+#endif
CloseClip();
+#ifndef FIX_BUGS
CoUninitialize();
#endif