misc
This commit is contained in:
parent
7c66291479
commit
8438ca11b5
3 changed files with 4 additions and 4 deletions
|
@ -177,7 +177,7 @@ async fn main() -> anyhow::Result<()> {
|
||||||
_ => break,
|
_ => 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");
|
.expect("failed to spawn retro RX thread, it's probably over");
|
||||||
|
|
|
@ -414,7 +414,7 @@ fn retro_thread_main(
|
||||||
|
|
||||||
app.load_core("cores/swanstation_libretro.so")
|
app.load_core("cores/swanstation_libretro.so")
|
||||||
.expect("failed to load core");
|
.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");
|
.expect("failed to load game");
|
||||||
|
|
||||||
// sync
|
// sync
|
||||||
|
|
|
@ -135,8 +135,8 @@ impl H264Encoder {
|
||||||
|
|
||||||
video_encoder_context.set_format(ffmpeg::format::Pixel::ZRGB32);
|
video_encoder_context.set_format(ffmpeg::format::Pixel::ZRGB32);
|
||||||
|
|
||||||
video_encoder_context.set_qmin(40);
|
video_encoder_context.set_qmin(38);
|
||||||
video_encoder_context.set_qmax(38);
|
video_encoder_context.set_qmax(32);
|
||||||
|
|
||||||
// set h264_nvenc options
|
// set h264_nvenc options
|
||||||
let mut dict = ffmpeg::Dictionary::new();
|
let mut dict = ffmpeg::Dictionary::new();
|
||||||
|
|
Loading…
Reference in a new issue