RPCS3 arguments, TTY to file & sceNpTrophy stuff

This commit is contained in:
Alexandro Sánchez Bach 2014-02-27 04:21:08 +01:00
parent 6a15351363
commit cd10dca71f
7 changed files with 54 additions and 3 deletions

View file

@ -27,9 +27,25 @@ bool Rpcs3App::OnInit()
m_MainFrame->Show();
m_MainFrame->DoSettings(true);
OnArguments();
return true;
}
void Rpcs3App::OnArguments()
{
// Usage:
// rpcs3-*.exe Initializes RPCS3
// rpcs3-*.exe [(S)ELF] Initializes RPCS3, then loads and runs the specified (S)ELF file.
if (Rpcs3App::argc > 1)
{
Emu.SetPath(argv[1]);
Emu.Load();
Emu.Run();
}
}
void Rpcs3App::Exit()
{
Emu.Stop();