mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-06 09:06:20 +00:00
common: Move timer to common
This commit is contained in:
parent
369d92fa56
commit
099d01f96c
8 changed files with 84 additions and 69 deletions
|
@ -1,15 +1,13 @@
|
|||
#include "emulator.h"
|
||||
|
||||
#include <core/PS4/HLE/Graphics/graphics_render.h>
|
||||
#include <Emulator/Host/controller.h>
|
||||
#include <Lib/Timer.h>
|
||||
#include <fmt/core.h>
|
||||
#include <vulkan_util.h>
|
||||
|
||||
#include "core/PS4/HLE/Graphics/video_out.h"
|
||||
#include "core/hle/libraries/libpad/pad.h"
|
||||
#include "common/timer.h"
|
||||
#include "common/singleton.h"
|
||||
#include "common/version.h"
|
||||
#include "emulator.h"
|
||||
#include "core/PS4/HLE/Graphics/graphics_render.h"
|
||||
#include "Emulator/Host/controller.h"
|
||||
#include "core/PS4/HLE/Graphics/video_out.h"
|
||||
#include "core/hle/libraries/libpad/pad.h"
|
||||
|
||||
namespace Emu {
|
||||
|
||||
|
@ -92,7 +90,7 @@ static void calculateFps(double game_time_s) {
|
|||
}
|
||||
}
|
||||
void emuRun() {
|
||||
Lib::Timer timer;
|
||||
Common::Timer timer;
|
||||
timer.Start();
|
||||
auto window_ctx = Common::Singleton<Emu::WindowCtx>::Instance();
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue