mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
Clang and emulator fixes
This commit is contained in:
parent
d642033ae4
commit
86a10d6e4a
@ -335,8 +335,7 @@ void Emulator::Restart() {
|
|||||||
LOG_ERROR(Loader, "No previous EBOOT path found! Cannot restart.");
|
LOG_ERROR(Loader, "No previous EBOOT path found! Cannot restart.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} // namespace Core
|
}
|
||||||
|
|
||||||
void Core::Emulator::LoadSystemModules(const std::string& game_serial) {
|
void Core::Emulator::LoadSystemModules(const std::string& game_serial) {
|
||||||
constexpr std::array<SysModules, 11> ModulesToLoad{
|
constexpr std::array<SysModules, 11> ModulesToLoad{
|
||||||
{{"libSceNgs2.sprx", &Libraries::Ngs2::RegisterlibSceNgs2},
|
{{"libSceNgs2.sprx", &Libraries::Ngs2::RegisterlibSceNgs2},
|
||||||
@ -450,5 +449,6 @@ void Core::Emulator::UpdatePlayTime(const std::string& serial) const {
|
|||||||
}
|
}
|
||||||
LOG_INFO(Loader, "Playing time for {}: {}", serial, playTimeSaved.toStdString());
|
LOG_INFO(Loader, "Playing time for {}: {}", serial, playTimeSaved.toStdString());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
} // namespace Core
|
@ -1,20 +1,12 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#ifdef ENABLE_QT_GUI
|
|
||||||
#include <QCoreApplication>
|
|
||||||
#include <QFileInfo>
|
|
||||||
#include <QProcess>
|
|
||||||
#include <QStandardPaths>
|
|
||||||
#include <QString>
|
|
||||||
#include <QThread>
|
|
||||||
#include "common/memory_patcher.h"
|
|
||||||
#endif
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
#include <sys/stat.h>
|
||||||
#include "SDL3/SDL_events.h"
|
#include "SDL3/SDL_events.h"
|
||||||
#include "SDL3/SDL_hints.h"
|
#include "SDL3/SDL_hints.h"
|
||||||
#include "SDL3/SDL_init.h"
|
#include "SDL3/SDL_init.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user