ppc: remove an assert and update some comments. Fixes games that would keep complaining about dcbtst not implemented (i've seen one, crash bandicoot for wii)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5752 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2010-06-20 14:53:29 +00:00
parent be3c06f326
commit c51bb0b010
1 changed files with 6 additions and 8 deletions

View File

@ -292,25 +292,24 @@ void dcbf(UGeckoInstruction _inst)
void dcbi(UGeckoInstruction _inst) void dcbi(UGeckoInstruction _inst)
{ {
//Used during initialization // Removes a block from data cache. Since we don't emulate the data cache, we don't need to do anything.
//_assert_msg_(POWERPC,0,"dcbi - Not implemented"); // Seen used during initialization.
} }
void dcbst(UGeckoInstruction _inst) void dcbst(UGeckoInstruction _inst)
{ {
//_assert_msg_(POWERPC,0,"dcbst - Not implemented"); // Cache line flush. Since we don't emulate the data cache, we don't need to do anything.
} }
void dcbt(UGeckoInstruction _inst) void dcbt(UGeckoInstruction _inst)
{ {
//This should tell GFX plugin to throw out any cached data here // Prefetch. Since we don't emulate the data cache, we don't need to do anything.
//Used by Ikaruga
//_assert_msg_(POWERPC,0,"dcbt - Not implemented");
} }
void dcbtst(UGeckoInstruction _inst) void dcbtst(UGeckoInstruction _inst)
{ {
_assert_msg_(POWERPC,0,"dcbtst - Not implemented"); // This is just some sort of store "prefetching".
// Since we don't emulate the data cache, we don't need to do anything.
} }
void dcbz(UGeckoInstruction _inst) void dcbz(UGeckoInstruction _inst)
@ -367,7 +366,6 @@ void eieio(UGeckoInstruction _inst)
// have completed (in order) before executing the next op. // have completed (in order) before executing the next op.
// Prevents real ppc from "smartly" reordering loads/stores // Prevents real ppc from "smartly" reordering loads/stores
// But (at least in interpreter) we do everything realtime anyways. // But (at least in interpreter) we do everything realtime anyways.
//_assert_msg_(POWERPC,0,"eieio - Not implemented");
} }
void icbi(UGeckoInstruction _inst) void icbi(UGeckoInstruction _inst)