Minor disassembly tweaks

This commit is contained in:
Kingcom committed 2013-11-26 11:38:01 +01:00
1 parent 3d4bb3f20b
commit 274632f304
3 files changed
+10 -14

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ DebugInterface* DisassemblyManager::cpu;
bool isInInterval(u32 start, u32 size, u32 value)
{
return start <= value && value < start+size;
return start <= value && value <= (start+size-1);
}
void parseDisasm(const char* disasm, char* opcode, char* arguments, bool insertSymbols)