mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Windows fixes
This commit is contained in:
1 parent
861d66a4d4
commit
d3d601dced
2 files changed
+6
-6
No files matched your search
@@ -779,7 +779,7 @@ std::vector<u32> CtrlMemView::searchString(const std::string &searchQuery) {
|
||||
return searchResAddrs;
|
||||
}
|
||||
|
||||
u8 *ptr = Memory::GetPointerUnchecked(pos);
|
||||
const u8 *ptr = Memory::GetPointerUnchecked(pos);
|
||||
if (memcmp(ptr, searchData.data(), searchData.size()) == 0) {
|
||||
searchResAddrs.push_back(pos);
|
||||
}
|
||||
@@ -798,7 +798,7 @@ void CtrlMemView::search(bool continueSearch)
|
||||
u32 searchAddress = 0;
|
||||
u32 segmentStart = 0;
|
||||
u32 segmentEnd = 0;
|
||||
u8* dataPointer = 0;
|
||||
const u8* dataPointer = 0;
|
||||
if (continueSearch == false || searchQuery.empty())
|
||||
{
|
||||
if (InputBox_GetString(GetModuleHandle(NULL), wnd, L"Search for", searchQuery, searchQuery) == false)
|
||||
|
||||
Reference in new issue
Block a user