mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Common: Capitalize setCurrentThreadName().
This commit is contained in:
1 parent
7e21e9a721
commit
f4a6d291e1
38 files changed
+53
-53
No files matched your search
@@ -69,7 +69,7 @@ bool MainThread_Ready() {
|
||||
}
|
||||
|
||||
static void EmuThreadFunc(GraphicsContext *graphicsContext) {
|
||||
setCurrentThreadName("Emu");
|
||||
SetCurrentThreadName("Emu");
|
||||
|
||||
// There's no real requirement that NativeInit happen on this thread.
|
||||
// We just call the update/render loop here.
|
||||
@@ -111,10 +111,10 @@ static void EmuThreadJoin() {
|
||||
void MainThreadFunc() {
|
||||
if (useEmuThread) {
|
||||
// We'll start up a separate thread we'll call Emu
|
||||
setCurrentThreadName("Render");
|
||||
SetCurrentThreadName("Render");
|
||||
} else {
|
||||
// This is both Emu and Render.
|
||||
setCurrentThreadName("Emu");
|
||||
SetCurrentThreadName("Emu");
|
||||
}
|
||||
|
||||
host = new WindowsHost(MainWindow::GetHInstance(), MainWindow::GetHWND(), MainWindow::GetDisplayHWND());
|
||||
@@ -137,12 +137,12 @@ void MainThreadFunc() {
|
||||
if (!useEmuThread) {
|
||||
// Okay, we must've switched to OpenGL. Let's flip the emu thread on.
|
||||
useEmuThread = true;
|
||||
setCurrentThreadName("Render");
|
||||
SetCurrentThreadName("Render");
|
||||
}
|
||||
} else if (useEmuThread) {
|
||||
// We must've failed over from OpenGL, flip the emu thread off.
|
||||
useEmuThread = false;
|
||||
setCurrentThreadName("Emu");
|
||||
SetCurrentThreadName("Emu");
|
||||
}
|
||||
|
||||
if (g_Config.sFailedGPUBackends.find("ALL") != std::string::npos) {
|
||||
|
||||
Reference in new issue
Block a user