Don't save recent history from testrunner

This commit is contained in:
Henrik Rydgard 2013-05-22 21:01:24 +02:00
parent 42cf3a5c80
commit 1f50096d7f
3 changed files with 7 additions and 2 deletions

View File

@ -33,7 +33,7 @@ enum GPUCore {
struct CoreParameter
{
CoreParameter() : collectEmuLog(0), unthrottle(false) {}
CoreParameter() : collectEmuLog(0), unthrottle(false), updateRecent(true) {}
// 0 = Interpreter
// 1 = Jit
// 2 = JitIL
@ -67,4 +67,6 @@ struct CoreParameter
// Can be modified at runtime.
bool unthrottle;
int fpsLimit;
bool updateRecent;
};

View File

@ -108,7 +108,9 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
return false;
}
g_Config.AddRecent(coreParameter.fileToStart);
if (coreParam.updateRecent)
g_Config.AddRecent(coreParameter.fileToStart);
// Setup JIT here.
if (coreParameter.startPaused)
coreState = CORE_STEPPING;

View File

@ -71,6 +71,7 @@ void RunTests()
coreParam.useMediaEngine = false;
coreParam.collectEmuLog = &output;
coreParam.unthrottle = true;
coreParam.updateRecent = false;
#ifdef IOS
std::string baseDirectory = g_Config.flashDirectory + "../";