This commit is contained in:
Henrik Rydgård committed 2023-03-24 17:52:56 +01:00
1 parent 1250692657
commit 5af92cfca0
3 files changed
+8 -23

No files matched your search

+3 -8
View File
@@ -152,15 +152,10 @@ bool CreateGraphicsBackend(std::string *error_message, GraphicsContext **ctx) {
}
void MainThreadFunc() {
if (useEmuThread) {
// We'll start up a separate thread we'll call Emu
SetCurrentThreadName("Render");
} else {
// This is both Emu and Render.
SetCurrentThreadName("Emu");
}
// We'll start up a separate thread we'll call Emu
SetCurrentThreadName(useEmuThread ? "Render" : "Emu");
host = new WindowsHost(MainWindow::GetHInstance(), MainWindow::GetHWND(), MainWindow::GetDisplayHWND());
host = new WindowsHost();
System_SetWindowTitle("");
// We convert command line arguments to UTF-8 immediately.