Skip to content

Commit

Permalink
snapquik: fix error popmessage param index
Browse files Browse the repository at this point in the history
  • Loading branch information
happppp committed Sep 12, 2024
1 parent fbe7a1d commit be4fdb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/devices/imagedev/snapquik.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ snapshot_image_device::snapshot_image_device(const machine_config &mconfig, devi
, m_timer(nullptr)
{
}

//-------------------------------------------------
// snapshot_image_device - destructor
//-------------------------------------------------
Expand Down Expand Up @@ -67,7 +68,7 @@ TIMER_CALLBACK_MEMBER(snapshot_image_device::process_snapshot_or_quickload)
err.value(),
err.message());
popmessage(
!message.empty() ? "Error loading '%1$s': %3$s" : "Error loading '%1$s': %4$s",
!message.empty() ? "Error loading '%1$s': %2$s" : "Error loading '%1$s': %3$s",
basename(),
message,
err.message());
Expand Down

0 comments on commit be4fdb9

Please sign in to comment.