diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-04-12 14:18:04 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-04-12 21:28:39 +0200 |
| commit | 40bb9974f21878e64fb03d70e717cb996bf13a29 (patch) | |
| tree | 1d8a9e7eea10820e5d645ad5028e506836b856de /Source/Core/Common/CompatPatches.cpp | |
| parent | d27e85e9d70dfb41a5b8880fd3375a0ac9574f5d (diff) | |
Reformat all the things!
Diffstat (limited to 'Source/Core/Common/CompatPatches.cpp')
| -rw-r--r-- | Source/Core/Common/CompatPatches.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/Common/CompatPatches.cpp b/Source/Core/Common/CompatPatches.cpp index f835ac2279..b2bc839be3 100644 --- a/Source/Core/Common/CompatPatches.cpp +++ b/Source/Core/Common/CompatPatches.cpp @@ -203,8 +203,7 @@ static bool GetModuleVersion(const wchar_t* name, Version* version) void CompatPatchesInstall(LdrWatcher* watcher) { - watcher->Install({{L"EZFRD64.dll", L"811EZFRD64.DLL"}, - [](const LdrDllLoadEvent& event) { + watcher->Install({{L"EZFRD64.dll", L"811EZFRD64.DLL"}, [](const LdrDllLoadEvent& event) { // *EZFRD64 is incldued in software packages for cheapo third-party gamepads // (and gamepad adapters). The module cannot handle its heap being above 4GB, // which tends to happen very often on modern Windows. @@ -214,8 +213,7 @@ void CompatPatchesInstall(LdrWatcher* watcher) auto patcher = ImportPatcher(event.base_address); patcher.PatchIAT("kernel32.dll", "HeapCreate", HeapCreateLow4GB); }}); - watcher->Install({{L"ucrtbase.dll"}, - [](const LdrDllLoadEvent& event) { + watcher->Install({{L"ucrtbase.dll"}, [](const LdrDllLoadEvent& event) { // ucrtbase implements caching between fseek/fread, old versions have a bug // such that some reads return incorrect data. This causes noticable bugs // in dolphin since we use these APIs for reading game images. |
