diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2008-08-26 23:40:18 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2008-08-26 23:40:18 +0000 |
| commit | 7a2cdef9124864fe5ca3a09ceb89883f26d3c5d1 (patch) | |
| tree | 42be78f304174c3205fa9aed1b8f75f0a7f0282a /Source/Core/VideoCommon/Src/VideoState.cpp | |
| parent | 734586a0ab77927cc20851d60f5f5324920b6c6a (diff) | |
Preliminary video save state support. More work is necessary, this is just some infrastructure for inter-project communication.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@332 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VideoState.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoState.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoState.cpp b/Source/Core/VideoCommon/Src/VideoState.cpp new file mode 100644 index 0000000000..ab41047b44 --- /dev/null +++ b/Source/Core/VideoCommon/Src/VideoState.cpp @@ -0,0 +1,31 @@ +// Copyright (C) 2003-2008 Dolphin Project.
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, version 2.0.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License 2.0 for more details.
+
+// A copy of the GPL 2.0 should have been included with the program.
+// If not, see http://www.gnu.org/licenses/
+
+// Official SVN repository and contact information can be found at
+// http://code.google.com/p/dolphin-emu/
+
+#include "VideoState.h"
+#include "TextureDecoder.h"
+
+void VideoCommon_SaveState() {
+#ifdef WIN32
+ MessageBoxA(NULL, "SAVING STATE", "From Common Video Library", NULL);
+#endif
+}
+
+void VideoCommon_LoadState() {
+#ifdef WIN32
+ MessageBoxA(NULL, "LOADING STATE", "From Common Video Library", NULL);
+#endif
+}
\ No newline at end of file |
