Removed unnecessary selfrun file creation

* autoplay was disabled in 4.3 (commit 460bc045)

Updated version number.
This commit is contained in:
NovaRain
2024-10-14 10:52:41 +08:00
parent 6f8b06e738
commit 2c1ae1bf27
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -958,7 +958,12 @@ void MiscPatches::init() {
BlockCall(0x4425E6); // Patch out ereg call
SafeWrite8(0x4810AB, CodeType::JumpShort); // Disable selfrun
SafeWrite8(0x4810AB, CodeType::JumpShort); // Disable selfrun autoplay
// Disable selfrun file creation
BlockCall(0x4A8DB5); // block selfrun_save_data_ (selfrun_prep_recording_)
SafeWrite32(0x4A8DBA, 0x9090C031); // xor eax, eax
BlockCall(0x4A8E10); // block vcr_record_ (selfrun_recording_loop_)
BlockCall(0x4A8E15); // just nop code
SimplePatch<DWORD>(0x440C2A, "Misc", "SpecialDeathGVAR", fo::GVAR_MODOC_SHITTY_DEATH);
+2 -2
View File
@@ -25,6 +25,6 @@
#define VERSION_MAJOR 4
#define VERSION_MINOR 4
#define VERSION_BUILD 5
#define VERSION_REV 0
#define VERSION_REV 1
#define VERSION_STRING "4.4.5"
#define VERSION_STRING "4.4.5.1"