shorten some messages (#887)

This commit is contained in:
Logan McNaughton 2026-05-14 10:34:42 +02:00 committed by GitHub
parent 9846c2243c
commit 40a29d927f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -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
)
}
}

View File

@ -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(

View File

@ -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