Skip to content

Commit

Permalink
Partial revert "Improve ZydisRegisterGetLargestEnclosing (#456)"
Browse files Browse the repository at this point in the history
This reverts the interface-breaking portion of
6ab4463.
  • Loading branch information
athre0z committed Feb 4, 2024
1 parent 4a151f8 commit 224e32a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Register.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ ZydisRegister ZydisRegisterGetLargestEnclosing(ZydisMachineMode mode, ZydisRegis
return REG_CLASS_LOOKUP[ZYDIS_REGCLASS_ZMM].lo + reg_id;
#endif
default:
return reg;
return ZYDIS_REGISTER_NONE;
}
}

Expand Down

0 comments on commit 224e32a

Please sign in to comment.