mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Improved and moved the address conflict checking to CheckAddress.cpp/h
Added ddraw_CheckAddr.ini file to check conflicts properly. Some code fixes/edits.
This commit is contained in:
@@ -162,9 +162,8 @@ static void __stdcall InitExtraPatches() {
|
||||
patchFiles.shrink_to_fit();
|
||||
}
|
||||
|
||||
static void __fastcall game_init_databases_hook() {
|
||||
fo::PathNode* master_patches;
|
||||
__asm mov master_patches, eax; // eax = _master_db_handle
|
||||
static void __fastcall game_init_databases_hook() { // eax = _master_db_handle
|
||||
fo::PathNode* master_patches = (fo::PathNode*)fo::var::master_db_handle;
|
||||
|
||||
if (!patchFiles.empty()) InitExtraPatches();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user