mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 23:27:37 +00:00
PSP plugin: fixed small warning that could cause problems
svn-id: r45130
This commit is contained in:
parent
59649759b8
commit
78c905ebbe
@ -66,7 +66,7 @@ public:
|
|||||||
return (Elf32_Addr)(_startAddress - _origAddress);
|
return (Elf32_Addr)(_startAddress - _origAddress);
|
||||||
}
|
}
|
||||||
bool inSegment(char *addr) {
|
bool inSegment(char *addr) {
|
||||||
return ((char *)addr >= _startAddress && (char *)addr < _startAddress + _size);
|
return ((char *)addr >= _startAddress && (char *)addr <= _startAddress + _size);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user