mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Re-added NumberPatchLoop option to ddraw.ini
This commit is contained in:
+3
-1
@@ -309,8 +309,10 @@ WorldMapSlots=0
|
||||
UseFileSystemOverride=0
|
||||
|
||||
;To use a patch file other than patch000.dat, uncomment the next line and add your new file name
|
||||
;If you want to load multiple patch files (up to 1000) at once, you can include a %d in the file name (sprintf syntax)
|
||||
;If you want to load multiple patch files at once, you can include a %d in the file name (sprintf syntax)
|
||||
;PatchFile=patch%03d.dat
|
||||
;Uncomment the next line to change the number of patch files to load (valid range: 1..1000; default is 100)
|
||||
;NumberPatchLoop=100
|
||||
|
||||
;Set to 1 to change the order of how the engine loads game data
|
||||
;Old: patchXXX.dat > critter_patches > critter_dat > f2_res_patches > f2_res_dat > master_patches > master_dat
|
||||
|
||||
@@ -395,11 +395,11 @@ static void GetExtraPatches() {
|
||||
}
|
||||
|
||||
static void MultiPatchesPatch() {
|
||||
//if (IniReader::GetConfigInt("Misc", "MultiPatches", 0)) {
|
||||
dlogr("Applying load multiple patches patch.", DL_INIT);
|
||||
SafeWrite8(0x444354, CodeType::Nop); // Change step from 2 to 1
|
||||
SafeWrite8(0x44435C, 0xC4); // Disable check
|
||||
//}
|
||||
dlogr("Applying load multiple patches patch.", DL_INIT);
|
||||
SafeWrite8(0x444354, CodeType::Nop); // Change step from 2 to 1
|
||||
SafeWrite8(0x44435C, 0xC4); // Disable check
|
||||
// New loop count
|
||||
SafeWrite32(0x444357, clamp(IniReader::GetConfigInt("Misc", "NumberPatchLoop", 100), 1, 1000));
|
||||
}
|
||||
|
||||
///////////////////////// SAVE PARTY MEMBER PROTOTYPES /////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user