mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Loader: skip savestate check in add_only mode
This commit is contained in:
parent
ff082b98cb
commit
1e7b2c052a
1 changed files with 29 additions and 26 deletions
|
@ -721,6 +721,8 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
{
|
{
|
||||||
m_ar.reset();
|
m_ar.reset();
|
||||||
|
|
||||||
|
if (!add_only)
|
||||||
|
{
|
||||||
if (m_config_mode == cfg_mode::continuous)
|
if (m_config_mode == cfg_mode::continuous)
|
||||||
{
|
{
|
||||||
// The program is being booted from another running program
|
// The program is being booted from another running program
|
||||||
|
@ -752,6 +754,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
|
|
||||||
m_boot_source_type = CELL_GAME_GAMETYPE_SYS;
|
m_boot_source_type = CELL_GAME_GAMETYPE_SYS;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!IsStopped())
|
if (!IsStopped())
|
||||||
{
|
{
|
||||||
|
@ -1423,8 +1426,8 @@ game_boot_result Emulator::Load(const std::string& title_id, bool add_only, bool
|
||||||
argv[7] = "2"; // ??? arg7 2 -- full screen on/off 2/1 ?
|
argv[7] = "2"; // ??? arg7 2 -- full screen on/off 2/1 ?
|
||||||
argv[8] = "1"; // ??? arg8 2 -- smoothing on/off = 1/0 ?
|
argv[8] = "1"; // ??? arg8 2 -- smoothing on/off = 1/0 ?
|
||||||
|
|
||||||
//TODO, this seems like it would normally be done by sysutil etc
|
// TODO, this seems like it would normally be done by sysutil etc
|
||||||
//Basically make 2 128KB memory cards 0 filled and let the games handle formatting.
|
// Basically make 2 128KB memory cards 0 filled and let the games handle formatting.
|
||||||
|
|
||||||
fs::file card_1_file(vfs::get("/dev_hdd0/savedata/vmc/" + argv[1]), fs::write + fs::create);
|
fs::file card_1_file(vfs::get("/dev_hdd0/savedata/vmc/" + argv[1]), fs::write + fs::create);
|
||||||
card_1_file.trunc(128 * 1024);
|
card_1_file.trunc(128 * 1024);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue