Upgrade to C++23

This commit is contained in:
SimoZ64
2025-05-20 17:47:52 +02:00
parent be711bf5b3
commit 8fa341bf72
7 changed files with 26 additions and 133 deletions

View File

@@ -8,7 +8,9 @@ EmuThread::EmuThread(const std::shared_ptr<n64::Core> &core, double &fps, Render
void EmuThread::start() noexcept {
thread = std::thread([this]() {
isRunning = true;
core->parallel.Init(renderWidget.wsiPlatform, renderWidget.windowInfo,
core->cpu->GetMem().GetRDRAMPtr());
auto lastSample = std::chrono::high_resolution_clock::now();
auto avgFps = 16.667;
auto sampledFps = 0;