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.
This commit is contained in:
Lioncash 2018-05-20 14:21:17 -04:00
parent 46cc57ba33
commit d05c1b257c
1 changed files with 6 additions and 0 deletions

View File

@ -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.
}