mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
UserspaceEmulator: Tweak INC and SAR helpers to not be SoftCPU members
It's quite nice having these as compartmentalized free functions.
This commit is contained in:
parent
e852768ba6
commit
7d41b95071
2 changed files with 18 additions and 23 deletions
|
@ -767,11 +767,6 @@ private:
|
|||
template<bool update_dest, typename Op>
|
||||
void generic_reg8_RM8(Op, const X86::Instruction&);
|
||||
|
||||
template<typename T>
|
||||
T sar_impl(T data, u8 steps);
|
||||
template<typename T>
|
||||
T inc_impl(T);
|
||||
|
||||
private:
|
||||
Emulator& m_emulator;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue