diff --git a/server/src/main.rs b/server/src/main.rs index e3432d8..0ccabcc 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -177,7 +177,7 @@ async fn main() -> anyhow::Result<()> { _ => break, } - std::thread::sleep(Duration::from_millis(1)); + std::thread::sleep(Duration::from_millis(4)); } }) .expect("failed to spawn retro RX thread, it's probably over"); diff --git a/server/src/retro_thread.rs b/server/src/retro_thread.rs index 795d814..2e7cdcd 100644 --- a/server/src/retro_thread.rs +++ b/server/src/retro_thread.rs @@ -414,7 +414,7 @@ fn retro_thread_main( app.load_core("cores/swanstation_libretro.so") .expect("failed to load core"); - app.load_game("roms/merged/nmv1/us/nmv1_us.cue") //merged/nmv1/us/nmv1_us.cue + app.load_game("roms/merged/nmv3/us/nmv3_us.cue") //merged/nmv1/us/nmv1_us.cue .expect("failed to load game"); // sync diff --git a/server/src/video/h264_encoder.rs b/server/src/video/h264_encoder.rs index 6301416..6c0ebd2 100644 --- a/server/src/video/h264_encoder.rs +++ b/server/src/video/h264_encoder.rs @@ -135,8 +135,8 @@ impl H264Encoder { video_encoder_context.set_format(ffmpeg::format::Pixel::ZRGB32); - video_encoder_context.set_qmin(40); - video_encoder_context.set_qmax(38); + video_encoder_context.set_qmin(38); + video_encoder_context.set_qmax(32); // set h264_nvenc options let mut dict = ffmpeg::Dictionary::new();