mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06: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:
@ -20,6 +20,7 @@
|
||||
#include "D3DUtil.h"
|
||||
#include "W32Util/Misc.h"
|
||||
#include "EmuWindow.h"
|
||||
#include "VideoState.h"
|
||||
|
||||
#include "Utils.h"
|
||||
|
||||
@ -165,6 +166,20 @@ void Video_Initialize(SVideoInitialize* _pVideoInitialize)
|
||||
|
||||
}
|
||||
|
||||
void Video_SaveState() {
|
||||
VideoCommon_SaveState();
|
||||
#ifdef WIN32
|
||||
MessageBoxA(NULL, "SAVING STATE", "From DirectX", NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Video_LoadState() {
|
||||
VideoCommon_LoadState();
|
||||
#ifdef WIN32
|
||||
MessageBoxA(NULL, "LOADING STATE", "From DirectX", NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Video_EnterLoop()
|
||||
{
|
||||
Fifo_EnterLoop(g_VideoInitialize);
|
||||
|
Reference in New Issue
Block a user