File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ namespace ModUtils
230230 uintptr_t protection = (uintptr_t )memoryInfo.Protect ;
231231 uintptr_t state = (uintptr_t )memoryInfo.State ;
232232
233- if ((protection == PAGE_EXECUTE_READWRITE || protection == PAGE_READWRITE || protection == PAGE_READONLY) && state == MEM_COMMIT)
233+ if ((protection == PAGE_EXECUTE_READWRITE || protection == PAGE_READWRITE || protection == PAGE_READONLY || protection == PAGE_WRITECOPY || protection == PAGE_EXECUTE_WRITECOPY ) && state == MEM_COMMIT)
234234 {
235235 Log (" Checking region: %p" , regionStart);
236236 currentAddress = regionStart;
@@ -350,7 +350,7 @@ namespace ModUtils
350350
351351 for (size_t i = 0 ; i < 10000 ; i++)
352352 {
353- HWND hwnd = FindWindowExA (NULL , NULL , NULL , " ELDEN RING " );
353+ HWND hwnd = FindWindowExA (NULL , NULL , NULL , " ELDEN RING� " );
354354 DWORD processId = 0 ;
355355 GetWindowThreadProcessId (hwnd, &processId);
356356 if (processId == GetCurrentProcessId ())
You can’t perform that action at this time.
0 commit comments