mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
Fifo: Create a "Fifo" namespace.
This commit is contained in:
parent
c3481a576b
commit
5f244abf28
23 changed files with 81 additions and 72 deletions
|
@ -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);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue