diff options
-rw-r--r-- | backends/platform/psp/psploader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/psp/psploader.h b/backends/platform/psp/psploader.h index cd65dc38bd..70022d65de 100644 --- a/backends/platform/psp/psploader.h +++ b/backends/platform/psp/psploader.h @@ -66,7 +66,7 @@ public: return (Elf32_Addr)(_startAddress - _origAddress); } bool inSegment(char *addr) { - return ((char *)addr >= _startAddress && (char *)addr < _startAddress + _size); + return ((char *)addr >= _startAddress && (char *)addr <= _startAddress + _size); } }; |