mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
Fix problem where the touch screen controls got reactivated by gamepad input
This commit is contained in:
@@ -884,7 +884,7 @@ MemorySearchStatus ImMemView::search(bool continueSearch) {
|
||||
continue;
|
||||
|
||||
int index = memSearch_.searchAddress - memSearch_.segmentStart;
|
||||
int endIndex = memSearch_.segmentEnd - memSearch_.segmentStart - size;
|
||||
int endIndex = memSearch_.segmentEnd - memSearch_.segmentStart - (int)size;
|
||||
while (index < endIndex) {
|
||||
if (memcmp(&dataPointer[index], data, size) == 0) {
|
||||
memSearch_.matchAddress = index + memSearch_.segmentStart;
|
||||
|
||||
Reference in New Issue
Block a user