mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
39 lines
775 B
C++
39 lines
775 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "VideoCommon/VideoBackendBase.h"
|
|
|
|
class PointerWrap;
|
|
|
|
#define FIFO_SIZE (2*1024*1024)
|
|
|
|
extern bool g_bSkipCurrentFrame;
|
|
|
|
|
|
void Fifo_Init();
|
|
void Fifo_Shutdown();
|
|
|
|
u8* GetVideoBufferStartPtr();
|
|
u8* GetVideoBufferEndPtr();
|
|
|
|
void Fifo_DoState(PointerWrap &f);
|
|
void Fifo_PauseAndLock(bool doLock, bool unpauseOnUnlock);
|
|
|
|
void ReadDataFromFifo(u8* _uData, u32 len);
|
|
|
|
void RunGpu();
|
|
void RunGpuLoop();
|
|
void ExitGpuLoop();
|
|
void EmulatorState(bool running);
|
|
bool AtBreakpoint();
|
|
void ResetVideoBuffer();
|
|
void Fifo_SetRendering(bool bEnabled);
|
|
|
|
|
|
// Implemented by the Video Backend
|
|
void VideoFifo_CheckAsyncRequest();
|