aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYotam Barnoy2009-10-15 20:01:24 +0000
committerYotam Barnoy2009-10-15 20:01:24 +0000
commit78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef (patch)
tree02149383af569d026d4f7b2af4c57e3591431299
parent59649759b83b61f1f34e8be3303aa417135c56d3 (diff)
downloadscummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.tar.gz
scummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.tar.bz2
scummvm-rg350-78c905ebbe6244c9cd3f4e76c02bd6808e04d1ef.zip
PSP plugin: fixed small warning that could cause problems
svn-id: r45130
-rw-r--r--backends/platform/psp/psploader.h2
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);
}
};