mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
JANITORIAL: Last remaining RTL references
This commit is contained in:
parent
cc7b06d47a
commit
1b9fc31e2d
@ -137,9 +137,9 @@ void MainMenuDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint3
|
||||
}
|
||||
break;
|
||||
case kLauncherCmd: {
|
||||
Common::Event eventRTL;
|
||||
eventRTL.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventRTL);
|
||||
Common::Event eventReturnToLauncher;
|
||||
eventReturnToLauncher.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventReturnToLauncher);
|
||||
close();
|
||||
}
|
||||
break;
|
||||
|
@ -641,9 +641,9 @@ bool EventRecorder::switchMode() {
|
||||
saveName = Common::String::format("Save %d", emptySlot + 1);
|
||||
Common::Error status = g_engine->saveGameState(emptySlot, saveName);
|
||||
if (status.getCode() == Common::kNoError) {
|
||||
Common::Event eventRTL;
|
||||
eventRTL.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventRTL);
|
||||
Common::Event eventReturnToLauncher;
|
||||
eventReturnToLauncher.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventReturnToLauncher);
|
||||
}
|
||||
}
|
||||
ConfMan.set("record_mode", "", Common::ConfigManager::kTransientDomain);
|
||||
|
@ -122,11 +122,11 @@ OnScreenDialog::OnScreenDialog(bool isRecord) : Dialog("OnScreenDialog") {
|
||||
}
|
||||
|
||||
void OnScreenDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
|
||||
Common::Event eventRTL;
|
||||
Common::Event eventReturnToLauncher;
|
||||
switch (cmd) {
|
||||
case kStopCmd:
|
||||
eventRTL.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventRTL);
|
||||
eventReturnToLauncher.type = Common::EVENT_RETURN_TO_LAUNCHER;
|
||||
g_system->getEventManager()->pushEvent(eventReturnToLauncher);
|
||||
close();
|
||||
break;
|
||||
case kEditCmd:
|
||||
|
Loading…
x
Reference in New Issue
Block a user