mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Add a way to test new atrac using headless.
This commit is contained in:
parent
5b625bfd3e
commit
a74a0fdbde
@ -339,6 +339,7 @@ int main(int argc, const char* argv[])
|
||||
GPUCore gpuCore = GPUCORE_SOFTWARE;
|
||||
CPUCore cpuCore = CPUCore::JIT;
|
||||
int debuggerPort = -1;
|
||||
bool newAtrac = false;
|
||||
|
||||
std::vector<std::string> testFilenames;
|
||||
const char *mountIso = nullptr;
|
||||
@ -375,6 +376,8 @@ int main(int argc, const char* argv[])
|
||||
testOptions.bench = true;
|
||||
else if (!strcmp(argv[i], "-v") || !strcmp(argv[i], "--verbose"))
|
||||
testOptions.verbose = true;
|
||||
else if (!strcmp(argv[i], "--new-atrac"))
|
||||
newAtrac = true;
|
||||
else if (!strncmp(argv[i], "--graphics=", strlen("--graphics=")) && strlen(argv[i]) > strlen("--graphics="))
|
||||
{
|
||||
const char *gpuName = argv[i] + strlen("--graphics=");
|
||||
@ -498,6 +501,7 @@ int main(int argc, const char* argv[])
|
||||
g_Config.iGlobalVolume = VOLUME_FULL;
|
||||
g_Config.iReverbVolume = VOLUME_FULL;
|
||||
g_Config.internalDataDirectory.clear();
|
||||
g_Config.bUseNewAtrac = newAtrac;
|
||||
|
||||
Path exePath = File::GetExeDirectory();
|
||||
g_Config.flash0Directory = exePath / "assets/flash0";
|
||||
|
Loading…
Reference in New Issue
Block a user