diff options
| -rwxr-xr-x | src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -106,10 +106,8 @@ impl ExportedVM { } pub fn run(&mut self) -> Result<usize, String> { + self.reset_ip(); let vm = (&mut self.vm).as_mut().ok_or(Error::NoVM)?; - - vm.ip.word = 0; - vm.ip.offset = 0; Ok(vm.run()?) } |
