Fixed random read frequency

This commit is contained in:
tevador 2018-11-16 18:12:32 +01:00
parent 9ed71ae167
commit d3739015ea

View File

@ -479,8 +479,8 @@ def writeProlog(file):
" data = DRAM_READ(mmu);\n" " data = DRAM_READ(mmu);\n"
" mmu->m0 += 8;\n" " mmu->m0 += 8;\n"
" mmu->mx ^= addr;\n" " mmu->mx ^= addr;\n"
" if((mmu->mx & 0xFFFF) == 0) {\n" " if((mmu->mx & 0xFFF8) == 0) {\n"
" mmu->m0 = mmu->mx;\n" " mmu->m0 = mmu->mx & ~7U;\n"
"#if defined(PREF)\n" "#if defined(PREF)\n"
" PREFETCH(mmu);\n" " PREFETCH(mmu);\n"
"#endif\n" "#endif\n"