diff options
Diffstat (limited to 'Source/Core/Common/ucrtFreadWorkaround.cpp')
| -rw-r--r-- | Source/Core/Common/ucrtFreadWorkaround.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/ucrtFreadWorkaround.cpp b/Source/Core/Common/ucrtFreadWorkaround.cpp index cecab2b4ff..549c2d9ac5 100644 --- a/Source/Core/Common/ucrtFreadWorkaround.cpp +++ b/Source/Core/Common/ucrtFreadWorkaround.cpp @@ -8,7 +8,7 @@ #include <Windows.h> struct PatchInfo { - const wchar_t *module_name; + const wchar_t* module_name; u32 checksum; u32 rva; u32 length; @@ -23,7 +23,7 @@ struct PatchInfo { { L"ucrtbased.dll", 0x1C1915 , 0x91905, 5 }, }; -bool ApplyPatch(const PatchInfo &patch) { +bool ApplyPatch(const PatchInfo& patch) { auto module = GetModuleHandleW(patch.module_name); if (module == nullptr) { @@ -35,7 +35,7 @@ bool ApplyPatch(const PatchInfo &patch) { return false; } - void *patch_addr = (void *)((uintptr_t)module + patch.rva); + void* patch_addr = (void*)((uintptr_t)module + patch.rva); size_t patch_size = patch.length; DWORD old_protect; |
