mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 03:14:34 +01:00
Fix headless to work better in vulkan mode
This commit is contained in:
1 parent
fce077f191
commit
babfec5237
1 file changed
+2
-2
@@ -186,10 +186,10 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, bool
|
||||
Core_Stop();
|
||||
}
|
||||
}
|
||||
PSP_EndHostFrame();
|
||||
|
||||
if (coreParameter.thin3d)
|
||||
coreParameter.thin3d->EndFrame();
|
||||
PSP_EndHostFrame();
|
||||
|
||||
PSP_Shutdown();
|
||||
|
||||
@@ -272,7 +272,7 @@ int main(int argc, const char* argv[])
|
||||
else if (!strcasecmp(gpuName, "null"))
|
||||
gpuCore = GPUCORE_NULL;
|
||||
else
|
||||
return printUsage(argv[0], "Unknown gpu backend specified after --graphics=");
|
||||
return printUsage(argv[0], "Unknown gpu backend specified after --graphics=. Allowed: software, directx9, directx11, vulkan, gles, null.");
|
||||
}
|
||||
// Default to GLES if no value selected.
|
||||
else if (!strcmp(argv[i], "--graphics"))
|
||||
|
||||
Reference in new issue
Block a user