else
showOSD("State file save failed", true);
}
public void saveState(int slot) {
if (!powerOn || media == null) return;
ConsoleState state = pauseAndSaveState();
if (media.saveState(slot, state))
showOSD("State " + slot + " saved", true);
else
showOSD("State " + slot + " save failed", true);
}