mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Forgot to commit main.cpp in 1209b7e
This commit is contained in:
+4
-6
@@ -319,15 +319,13 @@ static void SfallInit() {
|
||||
|
||||
if (!CRC(filepath)) return;
|
||||
|
||||
// enabling debugging features
|
||||
isDebug = (GetIntDefaultConfig("Debugging", "Enable", 0) != 0);
|
||||
if (isDebug) {
|
||||
LoggingInit();
|
||||
if (!ddraw.dll) dlogr("Error: Cannot load the original ddraw.dll library.", DL_MAIN);
|
||||
}
|
||||
LoggingInit();
|
||||
if (!ddraw.dll) dlog("Error: Cannot load the original ddraw.dll library.\n");
|
||||
|
||||
HookCall(0x4DE7D2, WinMain_hook);
|
||||
|
||||
// enabling debugging features
|
||||
isDebug = (GetIntDefaultConfig("Debugging", "Enable", 0) != 0);
|
||||
if (!isDebug || !GetIntDefaultConfig("Debugging", "SkipCompatModeCheck", 0)) {
|
||||
int is64bit;
|
||||
typedef int (__stdcall *chk64bitproc)(HANDLE, int*);
|
||||
|
||||
Reference in New Issue
Block a user