deny direct access to symmed register - prevents bugs

This commit is contained in:
2020-10-06 12:39:39 +02:00
parent 2fa23dbbc3
commit f404445003
5 changed files with 20 additions and 7 deletions
+2 -2
View File
@@ -168,8 +168,8 @@ impl OpTrait for ScreenOp {
let xval = xf.round() as u64;
let yval = yf.round() as u64;
state.write(*x, xval);
state.write(*y, yval);
state.write(*x, xval)?;
state.write(*y, yval)?;
}
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
use crsn::asm::data::{Rd, RdData};
use crsn::asm::data::{Rd};
use crsn::asm::error::CrsnError;
use crsn::asm::instr::op::OpKind;
use crsn::asm::parse::arg_parser::TokenParser;