Remove consts.rs and just use plain types
This commit is contained in:
@@ -10,7 +10,6 @@ mod macros;
|
||||
mod rvi;
|
||||
|
||||
use crate::{
|
||||
consts::DWord,
|
||||
core::Core,
|
||||
decode::Instruction,
|
||||
exceptions::{
|
||||
@@ -22,7 +21,7 @@ use crate::{
|
||||
fn illegal(instr: Instruction) -> Result<(), Exception> {
|
||||
Err(Exception {
|
||||
type_: IllegalInstruction,
|
||||
value: instr.0 as DWord,
|
||||
value: instr.0 as u64,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user