Fix ridiculously bad typo.

This commit is contained in:
Unknown W. Brackets committed 2014-04-17 22:47:05 -07:00
1 parent 5ed851204c
commit 8f26d5ceae
1 file changed
+1 -1
+1 -1
View File
@@ -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);