correct peek_byte/2 bugs (#1882)

This commit is contained in:
Mark
2023-07-13 12:23:20 -06:00
parent cfc49243c8
commit b051f39145
3 changed files with 21 additions and 7 deletions

View File

@@ -2444,7 +2444,11 @@ impl Machine {
addr,
);
return Ok(());
if !self.machine_st.fail {
return Ok(());
} else {
self.machine_st.fail = false;
}
}
let addr = match addr {