Skip to content

Commit

Permalink
Disabled auto insert also for the FDS that contains "Disk 1" and "Dis…
Browse files Browse the repository at this point in the history
…k 2" in the name.
  • Loading branch information
punesemu committed Jan 4, 2024
1 parent 56f4ddd commit 8e4c491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/fds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,8 @@ void fds_control_autoinsert(_fds_sinfo *sinfo) {
gui_overlay_info_append_msg_precompiled(39, NULL);
return;
}
if (ustrstr(info.rom.file, uL(" Zenpen ")) || ustrstr(info.rom.file, uL(" Kouhen "))) {
if (ustrstr(info.rom.file, uL("Zenpen")) || ustrstr(info.rom.file, uL("Kouhen")) ||
ustrstr(info.rom.file, uL("Disk 1")) || ustrstr(info.rom.file, uL("Disk 2"))) {
// auto insert disabilitato
fds.auto_insert.disabled = TRUE;
gui_overlay_info_append_msg_precompiled(39, NULL);
Expand Down

0 comments on commit 8e4c491

Please sign in to comment.