mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
RPCS3 arguments, TTY to file & sceNpTrophy stuff
This commit is contained in:
parent
6a15351363
commit
cd10dca71f
7 changed files with 54 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue