mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-09 03:58:06 +03:00
fix Clang warnings
This commit is contained in:
parent
86409a9c4f
commit
96b4b2904c
23 changed files with 86 additions and 55 deletions
|
@ -140,6 +140,7 @@ void CompatPatchesInstall(LdrWatcher* watcher)
|
|||
}});
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
int __cdecl EnableCompatPatches()
|
||||
{
|
||||
static LdrWatcher watcher;
|
||||
|
@ -159,4 +160,5 @@ int __cdecl EnableCompatPatches()
|
|||
extern "C" {
|
||||
__declspec(allocate(".CRT$XCZ")) decltype(&EnableCompatPatches)
|
||||
enableCompatPatches = EnableCompatPatches;
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue