mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
Fix icicle deprecation warning
This commit is contained in:
@@ -476,7 +476,7 @@ pub(crate) struct X86RegisterNodes {
|
||||
|
||||
impl X86RegisterNodes {
|
||||
pub fn new(arch: &icicle_cpu::Arch) -> Self {
|
||||
let r = |name: &str| arch.sleigh.get_reg(name).unwrap().var;
|
||||
let r = |name: &str| arch.sleigh.get_varnode(name).unwrap();
|
||||
let nodes = [
|
||||
"CF", "F1", "PF", "F3", "AF", "F5", "ZF", "SF", "TF", "IF", "DF", "OF", "IOPL", "NT",
|
||||
"F15", "RF", "VM", "AC", "VIF", "VIP", "ID",
|
||||
|
||||
Reference in New Issue
Block a user