improve hotpatching

This commit is contained in:
FunkyFr3sh 2019-03-20 05:07:28 +01:00
parent 822b5c5f32
commit 69b29ebac3
2 changed files with 26 additions and 3 deletions

View file

@ -41,7 +41,7 @@ void Settings_Load()
ddraw->noactivateapp = GetBool("noactivateapp", FALSE);
ddraw->vhack = GetBool("vhack", FALSE);
ddraw->accurateTimers = GetBool("accuratetimers", FALSE);
ddraw->hotPatch = GetBool("hotPatch", FALSE);
ddraw->hotPatch = GetBool("hotpatch", FALSE);
WindowRect.right = GetInt("width", 0);
WindowRect.bottom = GetInt("height", 0);
@ -277,7 +277,8 @@ static void CreateSettingsIni()
"\n"
"; Use hotpatching rather than IAT hooking\n"
"; Note: Can be used to fix issues related to new features added by cnc-ddraw such as windowed mode or stretching\n"
"hotPatch=false\n"
"hotpatch=false\n"
"\n"
"\n"
"\n"
"; ### Game specific settings ###\n"