mirror of https://github.com/PCSX2/pcsx2.git
Sio: Replace reinsert spam with a single message
This commit is contained in:
parent
4bfbc355a2
commit
3fbe704e21
|
@ -907,14 +907,15 @@ void AutoEject::CountDownTicks()
|
|||
if (mcds[port][slot].autoEjectTicks > 0)
|
||||
{
|
||||
if (--mcds[port][slot].autoEjectTicks == 0)
|
||||
reinserted |= EmuConfig.Mcd[sioConvertPortAndSlotToPad(port, slot)].Enabled;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (reinserted)
|
||||
{
|
||||
Host::AddKeyedOSDMessage(fmt::format("AutoEjectSlotClear{}{}", port, slot),
|
||||
fmt::format(TRANSLATE_SV("MemoryCard", "Memory card in port {} / slot {} reinserted"),
|
||||
port + 1, slot + 1),
|
||||
Host::OSD_INFO_DURATION);
|
||||
}
|
||||
}
|
||||
}
|
||||
Host::AddIconOSDMessage("AutoEjectAllSet", ICON_FA_SD_CARD,
|
||||
TRANSLATE_SV("MemoryCard", "Memory Cards reinserted."), Host::OSD_INFO_DURATION);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue