From 76ad89ebb690629df94b82e419b83c0f687cf85a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 21 Sep 2014 16:05:51 -0400 Subject: [PATCH] DolphinWX: Fix the video dialog crashing Dolphin on OSX When a game was running and someone opened the video dialog, it would crash. This is because the preprocessor macro should have been __APPLE__ not _APPLE_ Fixes issue 7644. --- Source/Core/DolphinWX/VideoConfigDiag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinWX/VideoConfigDiag.h b/Source/Core/DolphinWX/VideoConfigDiag.h index 0a28d53c89..0773a9bf46 100644 --- a/Source/Core/DolphinWX/VideoConfigDiag.h +++ b/Source/Core/DolphinWX/VideoConfigDiag.h @@ -201,7 +201,7 @@ protected: label_adapter->Disable(); } -#if !defined(_APPLE_) +#ifndef __APPLE__ // This isn't supported on OSX. choice_display_resolution->Disable();