Set PSN to disconnected when net status is disconnected
Some checks are pending
Generate Translation Template / Generate Translation Template (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 gcc (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04-arm clang (push) Waiting to run
Build RPCS3 / RPCS3 Linux ubuntu-24.04 clang (push) Waiting to run
Build RPCS3 / RPCS3 Windows (push) Waiting to run

This commit is contained in:
RipleyTom 2025-03-25 15:28:04 +01:00 committed by Megamouse
parent 1b5d9a34df
commit 324af04426
3 changed files with 17 additions and 1 deletions

View file

@ -303,6 +303,12 @@ static void fixup_settings(const psf::registry* _psf)
g_cfg.video.resolution.set(new_resolution);
}
}
if (g_cfg.net.net_active == np_internet_status::disabled && g_cfg.net.psn_status != np_psn_status::disabled)
{
sys_log.warning("Net status was set to disconnected so psn status was disabled");
g_cfg.net.psn_status.set(np_psn_status::disabled);
}
}
extern void dump_executable(std::span<const u8> data, const ppu_module<lv2_obj>* _module, std::string_view title_id)