diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index 744485c..8a00d3a 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -5334,9 +5334,9 @@ void Patch_SA_10(HINSTANCE hInstance) } - // Display stats in kg's as floats (they pass a float and intend to display an integer) - Patch( 0x55A954 + 1, "%.0fkgs" ); - Patch( 0x5593E4 + 1, "%.0fkgs" ); + // Display stats in kg as floats (they pass a float and intend to display an integer) + Patch( 0x55A954 + 1, "%.0fkg" ); + Patch( 0x5593E4 + 1, "%.0fkg" ); // Add wind animations when driving a Quadbike @@ -6455,6 +6455,15 @@ void Patch_SA_NewBinaries_Common(HINSTANCE hInstance) TXN_CATCH(); + // Bindable NUM5 + try + { + auto keys_exception_list = get_pattern("3D 08 04 00 00 74", 5); + Nop(keys_exception_list, 2); + } + TXN_CATCH(); + + // Unlocked widescreen resolutions { // Assume anybody could have changed those, so bail out if ANYTHING goes wrong