mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06:00
* Implement audio timing with integer math. * Add busy loop to audio thread. * Implement a frame limiter. * Implement implot. * Add more stuff to the profiler window. * Redo frame limiter logic to fix drifting. * Move frame limiter, add limiters for SFD & loading screen. * Update waiting logic for audio thread. * Correct small delta time errors. * Decrease delta time error threshold. * Set busy wait threshold to 2ms. * Change spin wait in D3D12 present to infinite wait. * Replace FPS literals with constants.
19 lines
309 B
C++
19 lines
309 B
C++
#pragma once
|
|
|
|
#include <user/config.h>
|
|
|
|
class App
|
|
{
|
|
public:
|
|
static inline bool s_isInit;
|
|
static inline bool s_isMissingDLC;
|
|
|
|
static inline ELanguage s_language;
|
|
|
|
static inline double s_deltaTime;
|
|
|
|
static void Restart(std::vector<std::string> restartArgs = {});
|
|
static void Exit();
|
|
};
|
|
|