File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -134,10 +134,18 @@ bool InitPatchesAndHooks()
134
134
return false ;
135
135
}
136
136
137
+ #ifdef DEBUG
138
+ bool quick_start = true ;
139
+ #else
140
+ bool quick_start = (strstr (GetCommandLine (), " -quickstart" ) != nullptr );
141
+ #endif
142
+
137
143
// enable quick start
138
- meow_hook::put (GetAddress (VAR_QUICK_START), true );
139
- meow_hook::put (GetAddress (IS_INTRO_SEQUENCE_COMPLETE), 0x90C301B0 );
140
- meow_hook::put (GetAddress (IS_INTRO_MOVIE_COMPLETE), 0x90C301B0 );
144
+ if (quick_start) {
145
+ meow_hook::put (GetAddress (VAR_QUICK_START), true );
146
+ meow_hook::put (GetAddress (IS_INTRO_SEQUENCE_COMPLETE), 0x90C301B0 );
147
+ meow_hook::put (GetAddress (IS_INTRO_MOVIE_COMPLETE), 0x90C301B0 );
148
+ }
141
149
142
150
// WndProc
143
151
pfn_WndProc = MH_STATIC_DETOUR (GetAddress (WND_PROC), WndProc);
You can’t perform that action at this time.
0 commit comments