From a0ae17c5ffcc71c34dc550b8152c15882a468a0d Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Wed, 27 Aug 2008 10:01:46 +0000 Subject: [PATCH] Fixed message box calls (they aren't even necessary, just checking whether the saving made it into the VideoCommon library git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@345 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/VideoState.cpp | 13 ++++--------- Source/Plugins/Plugin_VideoDX9/Src/main.cpp | 8 ++------ Source/Plugins/Plugin_VideoOGL/Src/main.cpp | 8 ++------ 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp index abc5789434..ded7f6fb03 100644 --- a/Source/Core/VideoCommon/Src/VideoState.cpp +++ b/Source/Core/VideoCommon/Src/VideoState.cpp @@ -17,18 +17,13 @@ #include "VideoState.h" #include "TextureDecoder.h" -#ifdef WIN32 -#include -#endif void VideoCommon_SaveState() { -#ifdef WIN32 - MessageBoxA(NULL, "SAVING STATE", "From Common Video Library", NULL); -#endif + //PanicAlert("Saving state from Video Common Library"); + //TODO: Save the video state } void VideoCommon_LoadState() { -#ifdef WIN32 - MessageBoxA(NULL, "LOADING STATE", "From Common Video Library", NULL); -#endif + //PanicAlert("Loading state from Video Common Library"); + //TODO: Load the video state } diff --git a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp index 8d7271572b..dd54c2adfe 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/main.cpp @@ -168,16 +168,12 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize) void Video_SaveState() { VideoCommon_SaveState(); -#ifdef WIN32 - MessageBoxA(NULL, "SAVING STATE", "From DirectX", NULL); -#endif + //PanicAlert("Saving state from DirectX9"); } void Video_LoadState() { VideoCommon_LoadState(); -#ifdef WIN32 - MessageBoxA(NULL, "LOADING STATE", "From DirectX", NULL); -#endif + //PanicAlert("Loading state from DirectX9"); } void Video_EnterLoop() diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp index ebd51a7fb8..83e58306dc 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp @@ -181,16 +181,12 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize) void Video_SaveState() { VideoCommon_SaveState(); -#ifdef WIN32 - MessageBoxA(NULL, "SAVING STATE", "From OpenGL", NULL); -#endif + //PanicAlert("Saving state from OpenGL"); } void Video_LoadState() { VideoCommon_LoadState(); -#ifdef WIN32 - MessageBoxA(NULL, "LOADING STATE", "From OpenGL", NULL); -#endif + //PanicAlert("Loading state from OpenGL"); } void Video_Prepare(void)