diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index da55da9fbe..42f5586170 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -141,7 +141,7 @@ class PlatformX11 : public Platform void Init() override { XInitThreads(); - dpy = XOpenDisplay(NULL); + dpy = XOpenDisplay(nullptr); win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowXPos,