fix partition set

This commit is contained in:
Christoph Baumann
2025-05-22 18:42:48 +02:00
parent f8436d1247
commit db519a454b

View File

@@ -284,15 +284,11 @@ int emummc_storage_set_mmc_partition(u32 partition)
{
emu_cfg.active_part = partition;
if(h_cfg.emummc_force_disable){
if(h_cfg.emummc_force_disable || !emu_cfg.enabled){
emmc_set_partition(partition);
return 1;
}
if(!emu_cfg.enabled){
return 1;
}
if(!emu_cfg.sector){
emummc_storage_file_base_set_partition(partition);
return 1;