Skip to content

Commit

Permalink
Merge pull request #9 from jmqw/master
Browse files Browse the repository at this point in the history
Disable an instruction in UB that removes the volume settings from the in-game menu
  • Loading branch information
ata4 authored Jul 31, 2017
2 parents 2703194 + 90b49c5 commit 3043417
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions glrage_patch/TombRaiderPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,11 @@ void TombRaiderPatch::applySoundPatches()
} else {
patchAddr(0x438576, "E8 B5 F9 FF FF", TombRaiderHooks::soundUpdateVolume, 0xE8);
}

// Disable an instruction in UB that removes the volume settings from the in-game menu
if (m_ub) {
patchNop(0x41F655, "66 89 15 0C 5A 45 00");
}
}

void TombRaiderPatch::applyKeyboardPatches()
Expand Down

0 comments on commit 3043417

Please sign in to comment.