mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoState: Simplify dummy wrapper.
This commit is contained in:
parent
5f244abf28
commit
aa430c10d5
2 changed files with 1 additions and 12 deletions
|
@ -17,7 +17,7 @@
|
||||||
#include "VideoCommon/VideoState.h"
|
#include "VideoCommon/VideoState.h"
|
||||||
#include "VideoCommon/XFMemory.h"
|
#include "VideoCommon/XFMemory.h"
|
||||||
|
|
||||||
static void DoState(PointerWrap &p)
|
void VideoCommon_DoState(PointerWrap &p)
|
||||||
{
|
{
|
||||||
// BP Memory
|
// BP Memory
|
||||||
p.Do(bpmem);
|
p.Do(bpmem);
|
||||||
|
@ -64,16 +64,6 @@ static void DoState(PointerWrap &p)
|
||||||
// TODO: search for more data that should be saved and add it here
|
// TODO: search for more data that should be saved and add it here
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoCommon_DoState(PointerWrap &p)
|
|
||||||
{
|
|
||||||
DoState(p);
|
|
||||||
}
|
|
||||||
|
|
||||||
void VideoCommon_RunLoop(bool enable)
|
|
||||||
{
|
|
||||||
Fifo::EmulatorState(enable);
|
|
||||||
}
|
|
||||||
|
|
||||||
void VideoCommon_Init()
|
void VideoCommon_Init()
|
||||||
{
|
{
|
||||||
memset(&g_main_cp_state, 0, sizeof(g_main_cp_state));
|
memset(&g_main_cp_state, 0, sizeof(g_main_cp_state));
|
||||||
|
|
|
@ -7,5 +7,4 @@
|
||||||
class PointerWrap;
|
class PointerWrap;
|
||||||
|
|
||||||
void VideoCommon_DoState(PointerWrap &p);
|
void VideoCommon_DoState(PointerWrap &p);
|
||||||
void VideoCommon_RunLoop(bool enable);
|
|
||||||
void VideoCommon_Init();
|
void VideoCommon_Init();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue