mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
VideoState: Simplify dummy wrapper.
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user