mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Fifo: Create a "Fifo" namespace.
This commit is contained in:
@ -9,6 +9,9 @@
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
namespace Fifo
|
||||
{
|
||||
|
||||
extern bool g_bSkipCurrentFrame;
|
||||
|
||||
// This could be in SConfig, but it depends on multiple settings
|
||||
@ -16,11 +19,11 @@ extern bool g_bSkipCurrentFrame;
|
||||
extern bool g_use_deterministic_gpu_thread;
|
||||
extern std::atomic<u8*> g_video_buffer_write_ptr_xthread;
|
||||
|
||||
void Fifo_Init();
|
||||
void Fifo_Shutdown();
|
||||
void Fifo_DoState(PointerWrap &f);
|
||||
void Fifo_PauseAndLock(bool doLock, bool unpauseOnUnlock);
|
||||
void Fifo_UpdateWantDeterminism(bool want);
|
||||
void Init();
|
||||
void Shutdown();
|
||||
void DoState(PointerWrap &f);
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock);
|
||||
void UpdateWantDeterminism(bool want);
|
||||
|
||||
// Used for diagnostics.
|
||||
enum SyncGPUReason
|
||||
@ -47,5 +50,7 @@ void ExitGpuLoop();
|
||||
void EmulatorState(bool running);
|
||||
bool AtBreakpoint();
|
||||
void ResetVideoBuffer();
|
||||
void Fifo_SetRendering(bool bEnabled);
|
||||
int Fifo_Update(int ticks);
|
||||
void SetRendering(bool bEnabled);
|
||||
int Update(int ticks);
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user