mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 16:30:12 +00:00
xEmitter: Convert PrefetchLevel to enum class
This commit is contained in:
parent
93d9e90798
commit
04fcf68176
3 changed files with 10 additions and 10 deletions
|
@ -920,7 +920,7 @@ void XEmitter::UD2()
|
|||
void XEmitter::PREFETCH(PrefetchLevel level, OpArg arg)
|
||||
{
|
||||
ASSERT_MSG(DYNA_REC, !arg.IsImm(), "PREFETCH - Imm argument");
|
||||
arg.operandReg = (u8)level;
|
||||
arg.operandReg = static_cast<u8>(level);
|
||||
arg.WriteREX(this, 0, 0);
|
||||
Write8(0x0F);
|
||||
Write8(0x18);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue