diff --git a/src/device/controller.rs b/src/device/controller.rs index 87db1d2..1fd76eb 100644 --- a/src/device/controller.rs +++ b/src/device/controller.rs @@ -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 ) } } diff --git a/src/savestates.rs b/src/savestates.rs index 3a23a2a..41a91cf 100644 --- a/src/savestates.rs +++ b/src/savestates.rs @@ -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( diff --git a/src/ui/video.rs b/src/ui/video.rs index e5838ab..165ec6b 100644 --- a/src/ui/video.rs +++ b/src/ui/video.rs @@ -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