mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-21 10:08:59 +02:00
clang-modernize -use-nullptr
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
1 parent
f28116b7da
commit
d802d39281
292 files changed
+1526
-1526
No files matched your search
@@ -48,7 +48,7 @@ std::string GetDeviceName(const LPDIRECTINPUTDEVICE8 device)
|
||||
void Init(std::vector<Core::Device*>& devices, HWND hwnd)
|
||||
{
|
||||
IDirectInput8* idi8;
|
||||
if (FAILED(DirectInput8Create(GetModuleHandle(NULL), DIRECTINPUT_VERSION, IID_IDirectInput8, (LPVOID*)&idi8, NULL)))
|
||||
if (FAILED(DirectInput8Create(GetModuleHandle(nullptr), DIRECTINPUT_VERSION, IID_IDirectInput8, (LPVOID*)&idi8, nullptr)))
|
||||
return;
|
||||
|
||||
InitKeyboardMouse(idi8, devices, hwnd);
|
||||
|
||||
Reference in new issue
Block a user