Removed unnecessary selfrun file creation

* autoplay was disabled in 3.8.30 (commit 6c2eb479)

Updated version number.
This commit is contained in:
NovaRain
2024-10-14 10:56:09 +08:00
parent ef791b872a
commit 62f9eb1987
2 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -1013,7 +1013,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 3
#define VERSION_MINOR 8
#define VERSION_BUILD 45
#define VERSION_REV 0
#define VERSION_REV 1
#define VERSION_STRING "3.8.45"
#define VERSION_STRING "3.8.45.1"