|
|
|
@ -59,7 +59,9 @@ bool Pad::DoState(StateWrapper& sw)
|
|
|
|
|
if (g_settings.load_devices_from_save_states)
|
|
|
|
|
{
|
|
|
|
|
g_host_interface->AddFormattedOSDMessage(
|
|
|
|
|
10.0f, "Save state contains controller type %s in port %u, but %s is used. Switching.",
|
|
|
|
|
10.0f,
|
|
|
|
|
g_host_interface->TranslateString(
|
|
|
|
|
"OSDMessage", "Save state contains controller type %s in port %u, but %s is used. Switching."),
|
|
|
|
|
Settings::GetControllerTypeName(state_controller_type), i + 1u,
|
|
|
|
|
Settings::GetControllerTypeName(controller_type));
|
|
|
|
|
|
|
|
|
@ -69,8 +71,9 @@ bool Pad::DoState(StateWrapper& sw)
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
g_host_interface->AddFormattedOSDMessage(10.0f, "Ignoring mismatched controller type %s in port %u.",
|
|
|
|
|
Settings::GetControllerTypeName(state_controller_type), i + 1u);
|
|
|
|
|
g_host_interface->AddFormattedOSDMessage(
|
|
|
|
|
10.0f, g_host_interface->TranslateString("OSDMessage", "Ignoring mismatched controller type %s in port %u."),
|
|
|
|
|
Settings::GetControllerTypeName(state_controller_type), i + 1u);
|
|
|
|
|
|
|
|
|
|
// we still need to read the save state controller state
|
|
|
|
|
if (state_controller_type != ControllerType::None)
|
|
|
|
|