[Scummvm-cvs-logs] SF.net SVN: scummvm:[45130] scummvm/trunk/backends/platform/psp/psploader.h
bluddy at users.sourceforge.net
bluddy at users.sourceforge.net
Thu Oct 15 22:01:25 CEST 2009
Revision: 45130
http://scummvm.svn.sourceforge.net/scummvm/?rev=45130&view=rev
Author: bluddy
Date: 2009-10-15 20:01:24 +0000 (Thu, 15 Oct 2009)
Log Message:
-----------
PSP plugin: fixed small warning that could cause problems
Modified Paths:
--------------
scummvm/trunk/backends/platform/psp/psploader.h
Modified: scummvm/trunk/backends/platform/psp/psploader.h
===================================================================
--- scummvm/trunk/backends/platform/psp/psploader.h 2009-10-15 19:57:46 UTC (rev 45129)
+++ scummvm/trunk/backends/platform/psp/psploader.h 2009-10-15 20:01:24 UTC (rev 45130)
@@ -66,7 +66,7 @@
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);
}
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list