mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-09 02:42:33 -07:00
General: Setup yuzu threads' microprofile, naming and registry.
This commit is contained in:
@@ -44,7 +44,9 @@ EmuThread::EmuThread() = default;
|
||||
EmuThread::~EmuThread() = default;
|
||||
|
||||
void EmuThread::run() {
|
||||
MicroProfileOnThreadCreate("EmuThread");
|
||||
std::string name = "yuzu:EmuControlThread";
|
||||
MicroProfileOnThreadCreate(name.c_str());
|
||||
Common::SetCurrentThreadName(name.c_str());
|
||||
|
||||
// Main process has been loaded. Make the context current to this thread and begin GPU and CPU
|
||||
// execution.
|
||||
|
@@ -925,6 +925,8 @@ bool GMainWindow::LoadROM(const QString& filename) {
|
||||
nullptr, // E-Commerce
|
||||
});
|
||||
|
||||
system.RegisterHostThread();
|
||||
|
||||
const Core::System::ResultStatus result{system.Load(*render_window, filename.toStdString())};
|
||||
|
||||
const auto drd_callout =
|
||||
|
Reference in New Issue
Block a user