CPU: Explain why some code is commented out.

This commit is contained in:
Gabe Black 2008-10-12 23:52:02 -07:00
parent 34ca72d16d
commit 809f6cb6d1

View file

@ -730,6 +730,10 @@ AtomicSimpleCPU::tick()
dcache_access = false; // assume no dcache access dcache_access = false; // assume no dcache access
if (!fromRom) { if (!fromRom) {
// This is commented out because the predecoder would act like
// a tiny cache otherwise. It wouldn't be flushed when needed
// like the I cache. It should be flushed, and when that works
// this code should be uncommented.
//Fetch more instruction memory if necessary //Fetch more instruction memory if necessary
//if(predecoder.needMoreBytes()) //if(predecoder.needMoreBytes())
//{ //{