shorten some messages (#887)
This commit is contained in:
parent
9846c2243c
commit
40a29d927f
@ -76,7 +76,7 @@ pub fn process(device: &mut device::Device, channel: usize) {
|
||||
device::events::create_event(
|
||||
device,
|
||||
device::events::EVENT_TYPE_PAK,
|
||||
device.cpu.clock_rate, // 1 second
|
||||
device.cpu.clock_rate / 2, // 500ms
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ pub fn create_savestate(device: &device::Device) {
|
||||
"Savestate created in slot {}",
|
||||
device.ui.storage.save_state_slot
|
||||
),
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_SHORT,
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_VERY_SHORT,
|
||||
);
|
||||
} else {
|
||||
ui::video::onscreen_message(
|
||||
@ -237,7 +237,7 @@ pub fn load_savestate(device: &mut device::Device) {
|
||||
"Savestate loaded from slot {}",
|
||||
device.ui.storage.save_state_slot
|
||||
),
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_SHORT,
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_VERY_SHORT,
|
||||
);
|
||||
} else {
|
||||
ui::video::onscreen_message(
|
||||
|
||||
@ -219,7 +219,7 @@ pub fn check_callback(device: &mut device::Device) -> (bool, bool) {
|
||||
if device.ui.storage.save_state_slot != callback.save_state_slot {
|
||||
onscreen_message(
|
||||
&format!("Switching savestate slot to {}", callback.save_state_slot),
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_SHORT,
|
||||
ui::video::MESSAGE_LENGTH_MESSAGE_VERY_SHORT,
|
||||
);
|
||||
device.ui.storage.save_state_slot = callback.save_state_slot;
|
||||
device
|
||||
|
||||
Reference in New Issue
Block a user