mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
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
This commit is contained in:
parent
734586a0ab
commit
7a2cdef912
10 changed files with 138 additions and 1 deletions
|
@ -37,6 +37,8 @@
|
|||
#include "PixelShaderManager.h"
|
||||
#include "VertexShaderManager.h"
|
||||
|
||||
#include "VideoState.h"
|
||||
|
||||
SVideoInitialize g_VideoInitialize;
|
||||
#define VERSION_STRING "0.1"
|
||||
|
||||
|
@ -177,6 +179,19 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
|||
|
||||
}
|
||||
|
||||
void Video_SaveState() {
|
||||
VideoCommon_SaveState();
|
||||
#ifdef WIN32
|
||||
MessageBoxA(NULL, "SAVING STATE", "From OpenGL", NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Video_LoadState() {
|
||||
VideoCommon_LoadState();
|
||||
#ifdef WIN32
|
||||
MessageBoxA(NULL, "LOADING STATE", "From OpenGL", NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Video_Prepare(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue