mirror of https://github.com/RPCS3/rpcs3.git
Qt: Add Boot VSH option
This commit is contained in:
parent
c84e5489f2
commit
2a8d740d63
|
@ -468,6 +468,12 @@ void main_window::BootGame()
|
||||||
Boot(sstr(dir_path));
|
Boot(sstr(dir_path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void main_window::BootVSH()
|
||||||
|
{
|
||||||
|
gui_log.notice("Booting from BootVSH...");
|
||||||
|
Boot(g_cfg.vfs.get_dev_flash() + "/vsh/module/vsh.self");
|
||||||
|
}
|
||||||
|
|
||||||
void main_window::BootRsxCapture(std::string path)
|
void main_window::BootRsxCapture(std::string path)
|
||||||
{
|
{
|
||||||
if (path.empty())
|
if (path.empty())
|
||||||
|
@ -1914,6 +1920,7 @@ void main_window::CreateConnects()
|
||||||
{
|
{
|
||||||
connect(ui->bootElfAct, &QAction::triggered, this, &main_window::BootElf);
|
connect(ui->bootElfAct, &QAction::triggered, this, &main_window::BootElf);
|
||||||
connect(ui->bootGameAct, &QAction::triggered, this, &main_window::BootGame);
|
connect(ui->bootGameAct, &QAction::triggered, this, &main_window::BootGame);
|
||||||
|
connect(ui->bootVSHAct, &QAction::triggered, this, &main_window::BootVSH);
|
||||||
connect(ui->actionopen_rsx_capture, &QAction::triggered, this, [this](){ BootRsxCapture(); });
|
connect(ui->actionopen_rsx_capture, &QAction::triggered, this, [this](){ BootRsxCapture(); });
|
||||||
connect(ui->actionCreate_RSX_Capture, &QAction::triggered, this, []()
|
connect(ui->actionCreate_RSX_Capture, &QAction::triggered, this, []()
|
||||||
{
|
{
|
||||||
|
|
|
@ -109,6 +109,7 @@ private Q_SLOTS:
|
||||||
void Boot(const std::string& path, const std::string& title_id = "", bool direct = false, bool add_only = false, bool force_global_config = false);
|
void Boot(const std::string& path, const std::string& title_id = "", bool direct = false, bool add_only = false, bool force_global_config = false);
|
||||||
void BootElf();
|
void BootElf();
|
||||||
void BootGame();
|
void BootGame();
|
||||||
|
void BootVSH();
|
||||||
void BootRsxCapture(std::string path = "");
|
void BootRsxCapture(std::string path = "");
|
||||||
void DecryptSPRXLibraries();
|
void DecryptSPRXLibraries();
|
||||||
static void show_boot_error(game_boot_result status);
|
static void show_boot_error(game_boot_result status);
|
||||||
|
|
|
@ -188,6 +188,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="bootElfAct"/>
|
<addaction name="bootElfAct"/>
|
||||||
<addaction name="bootGameAct"/>
|
<addaction name="bootGameAct"/>
|
||||||
|
<addaction name="bootVSHAct"/>
|
||||||
<addaction name="bootRecentMenu"/>
|
<addaction name="bootRecentMenu"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="addGamesAct"/>
|
<addaction name="addGamesAct"/>
|
||||||
|
@ -1163,6 +1164,11 @@
|
||||||
<string>Play Hover Gifs</string>
|
<string>Play Hover Gifs</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="bootVSHAct">
|
||||||
|
<property name="text">
|
||||||
|
<string>Boot VSH/XMB</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
Loading…
Reference in New Issue