mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-18 02:48:28 +00:00
Allow "Run Tests" on iOS with alternate location.
Either place is annoying, easier to install via Xcode.
This commit is contained in:
parent
e4f71ce6e4
commit
8fefd15d58
@ -490,8 +490,14 @@ void DeveloperToolsScreen::CreateViews() {
|
||||
|
||||
Choice *cpuTests = new Choice(de->T("Run CPU Tests"));
|
||||
list->Add(cpuTests)->OnClick.Handle(this, &DeveloperToolsScreen::OnRunCPUTests);
|
||||
if (!File::Exists(g_Config.memCardDirectory + "pspautotests/tests/"))
|
||||
#ifdef IOS
|
||||
const std::string testDirectory = g_Config.flash0Directory + "../";
|
||||
#else
|
||||
const std::string testDirectory = g_Config.memCardDirectory;
|
||||
#endif
|
||||
if (!File::Exists(testDirectory + "pspautotests/tests/")) {
|
||||
cpuTests->SetEnabled(false);
|
||||
}
|
||||
|
||||
list->Add(new CheckBox(&g_Config.bEnableLogging, de->T("Enable Logging")))->OnClick.Handle(this, &DeveloperToolsScreen::OnLoggingChanged);
|
||||
list->Add(new Choice(de->T("Logging Channels")))->OnClick.Handle(this, &DeveloperToolsScreen::OnLogConfig);
|
||||
|
Loading…
Reference in New Issue
Block a user