Minor disassembly tweaks

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

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)