mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Fix ridiculously bad typo.
This commit is contained in:
1 parent
5ed851204c
commit
8f26d5ceae
1 file changed
+1
-1
@@ -461,7 +461,7 @@ void RestoreReplacedInstruction(u32 address) {
|
||||
|
||||
void RestoreReplacedInstructions(u32 startAddr, u32 endAddr) {
|
||||
// Need to be in order, or we'll hang.
|
||||
if (endAddr > startAddr)
|
||||
if (endAddr < startAddr)
|
||||
std::swap(endAddr, startAddr);
|
||||
const auto start = replacedInstructions.lower_bound(startAddr);
|
||||
const auto end = replacedInstructions.upper_bound(endAddr);
|
||||
|
||||
Reference in new issue
Block a user