Minor disassembly tweaks
This commit is contained in:
parent
3d4bb3f20b
commit
274632f304
3 changed files with 10 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue