summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2010-06-20 14:53:29 +0000
committerhrydgard <hrydgard@gmail.com>2010-06-20 14:53:29 +0000
commitc51bb0b010eb32a9de08edff292f9c57c90eb79f (patch)
tree1b91b359e571ccf2acc2960ac6f0f3b61f0f0a22 /Source
parentbe3c06f326bbf783d1fb11d836c685712063d1e3 (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
index fd98730291..30aa7c464d 100644
--- a/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
+++ b/Source/Core/Core/Src/PowerPC/Interpreter/Interpreter_LoadStore.cpp
@@ -292,25 +292,24 @@ void dcbf(UGeckoInstruction _inst)
void dcbi(UGeckoInstruction _inst)
{
- //Used during initialization
- //_assert_msg_(POWERPC,0,"dcbi - Not implemented");
+ // Removes a block from data cache. Since we don't emulate the data cache, we don't need to do anything.
+ // Seen used during initialization.
}
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)
{
- //This should tell GFX plugin to throw out any cached data here
- //Used by Ikaruga
- //_assert_msg_(POWERPC,0,"dcbt - Not implemented");
+ // Prefetch. Since we don't emulate the data cache, we don't need to do anything.
}
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)
@@ -367,7 +366,6 @@ void eieio(UGeckoInstruction _inst)
// have completed (in order) before executing the next op.
// Prevents real ppc from "smartly" reordering loads/stores
// But (at least in interpreter) we do everything realtime anyways.
- //_assert_msg_(POWERPC,0,"eieio - Not implemented");
}
void icbi(UGeckoInstruction _inst)