Permalink
Browse files

Interpreter_LoadStore: No-op dcbt and dcbtst if HID0.NOOPTI is set

If HID0.NOOPTI is set, then dcbt and dcbtst are no-oped globally. We
currently don't perform data cache emulation, but we put this in anyway
so this detail isn't forgotten about if data cache emulation is
introduced at some point in the future.
  • Loading branch information...
lioncash committed May 20, 2018
1 parent 46cc57b commit d05c1b257ce0a8f9c562b6aea079e45daa3e06e2
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp
@@ -499,11 +499,17 @@ void Interpreter::dcbst(UGeckoInstruction inst)
void Interpreter::dcbt(UGeckoInstruction inst)
{
if (HID0.NOOPTI)
return;
// TODO: Implement some sort of L2 emulation.
}
void Interpreter::dcbtst(UGeckoInstruction inst)
{
if (HID0.NOOPTI)
return;
// TODO: Implement some sort of L2 emulation.
}

0 comments on commit d05c1b2

Please sign in to comment.