mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Increased decompression buffer size to 4KB
(ref. fallout2-ce/fallout2-ce#439)
This commit is contained in:
@@ -800,6 +800,9 @@ void FileSystem::init() {
|
||||
// Fix file seeking in uncompressed database files
|
||||
HookCall(0x4E5B52, dfile_fseek_hook);
|
||||
|
||||
// Increase decompression buffer size for reading compressed database files
|
||||
SafeWriteBatch<DWORD>(4096, {0x4E5EE0, 0x4E60D9, 0x4E60E0}); // was 1024
|
||||
|
||||
// Warning message when there are more than 16 open files (max 20)
|
||||
HookCall(0x4EE0DE, sopen_hook_warning);
|
||||
// Error message "Failed to open file"
|
||||
|
||||
Reference in New Issue
Block a user