missed a spot

This commit is contained in:
lifning 2021-11-09 21:58:51 -08:00
parent 82b9cba976
commit e02a183670
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ struct Opt {
trace_api: bool,
}
pub fn main() -> Result<(), Box<dyn std::error::Error>> {
pub fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
let opt: Opt = Opt::from_args();
let mut emu = RetroComponentBase::new(&opt.core);

View File

@ -198,7 +198,7 @@ impl RetroComponent for FfmpegComponent {
ControlFlow::Continue
}
fn post_load_game(&mut self, _retro: &mut LibretroWrapper, _rom: &Path) -> Result<(), Box<dyn Error>> {
fn post_load_game(&mut self, _retro: &mut LibretroWrapper, _rom: &Path) -> Result<(), Box<dyn Error + Send + Sync>> {
self.frame_properties_locked = true;
Ok(())
}