mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-10 05:38:49 +00:00
removed hardware info seems make perfomance issues , will test something more lightweight
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include "core/linker.h"
|
||||
#include "core/memory.h"
|
||||
#include "emulator.h"
|
||||
#include "hwinfo/hwinfo.h"
|
||||
|
||||
Frontend::WindowSDL* g_window = nullptr;
|
||||
|
||||
@@ -43,7 +42,6 @@ Emulator::Emulator()
|
||||
Common::Log::Initialize();
|
||||
Common::Log::Start();
|
||||
LOG_INFO(Loader, "Starting shadps4 emulator v{} ", Common::VERSION);
|
||||
PrintSystemInfo();
|
||||
}
|
||||
|
||||
Emulator::~Emulator() {
|
||||
@@ -181,17 +179,4 @@ void Emulator::LoadSystemModules(const std::filesystem::path& file) {
|
||||
}
|
||||
}
|
||||
|
||||
void Emulator::PrintSystemInfo() {
|
||||
auto cpus = hwinfo::getAllCPUs();
|
||||
for (const auto& cpu : cpus) {
|
||||
LOG_INFO(Loader, "CPU #{} {}", cpu.id(), cpu.modelName());
|
||||
}
|
||||
hwinfo::OS os;
|
||||
LOG_INFO(Loader, "{}", os.name());
|
||||
auto gpus = hwinfo::getAllGPUs();
|
||||
for (auto& gpu : gpus) {
|
||||
LOG_INFO(Loader, "GPU #{} {}", gpu.id(), gpu.name());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user