Fix "watch rom" feature not actually reloading
This commit is contained in:
+2
-1
@@ -265,7 +265,8 @@ impl Emulator {
|
||||
} else if let Some(cart) = self.carts[index].as_mut()
|
||||
&& cart.is_watching()
|
||||
{
|
||||
cart.restart_watching();
|
||||
cart.reload()?;
|
||||
sim.load_cart(cart.rom.clone(), cart.sram.clone())?;
|
||||
}
|
||||
let mut profiling = false;
|
||||
if let Some(profiler) = self.profilers[sim_id.to_index()].as_ref()
|
||||
|
||||
Reference in New Issue
Block a user