Skip to content

Commit

Permalink
Disable signature scan optimizations for DS3
Browse files Browse the repository at this point in the history
  • Loading branch information
Andon M. Coleman authored Jun 14, 2016
1 parent 89a32e5 commit 77f2f79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugin_ds3.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <string>
#include <string>

#include "ini.h"
#include "parameter.h"
Expand Down Expand Up @@ -38,7 +38,7 @@ typedef BOOL (WINAPI *SetWindowPos_pfn)(
_In_ UINT uFlags
);
typedef HWND (WINAPI *SetActiveWindow_pfn)(
HWND hWnd
HWND hWnd
);


Expand Down Expand Up @@ -335,8 +335,8 @@ uint8_t* const PAGE_WALK_LIMIT = (base_addr + (uintptr_t)(1ULL << 36));
// committed executable image data.
//
while (VirtualQuery (end_addr, &mem_info, sizeof mem_info) && end_addr < PAGE_WALK_LIMIT) {
if (mem_info.Protect & PAGE_NOACCESS || (! (mem_info.Type & MEM_IMAGE)))
break;
//if (mem_info.Protect & PAGE_NOACCESS || (! (mem_info.Type & MEM_IMAGE)))
//break;

pages += VirtualQuery (end_addr, &mem_info, sizeof mem_info);

Expand Down

0 comments on commit 77f2f79

Please sign in to comment.