mirror of https://github.com/mgba-emu/mgba.git
GBA Memory: Remove unused prefetch cruft
This commit is contained in:
parent
fec4c06447
commit
edeaba2e7c
1
CHANGES
1
CHANGES
|
@ -130,6 +130,7 @@ Misc:
|
|||
- Core: List memory segments in the core
|
||||
- Core: Move savestate creation time to extdata
|
||||
- Debugger: Add mDebuggerRunFrame convenience function
|
||||
- GBA Memory: Remove unused prefetch cruft
|
||||
|
||||
0.5.2: (2016-12-31)
|
||||
Bugfixes:
|
||||
|
|
|
@ -132,10 +132,6 @@ struct GBAMemory {
|
|||
char waitstatesSeq16[256];
|
||||
char waitstatesNonseq32[256];
|
||||
char waitstatesNonseq16[256];
|
||||
char waitstatesPrefetchSeq32[16];
|
||||
char waitstatesPrefetchSeq16[16];
|
||||
char waitstatesPrefetchNonseq32[16];
|
||||
char waitstatesPrefetchNonseq16[16];
|
||||
int activeRegion;
|
||||
bool prefetch;
|
||||
uint32_t lastPrefetchedPc;
|
||||
|
|
|
@ -59,12 +59,8 @@ void GBAMemoryInit(struct GBA* gba) {
|
|||
for (i = 0; i < 16; ++i) {
|
||||
gba->memory.waitstatesNonseq16[i] = GBA_BASE_WAITSTATES[i];
|
||||
gba->memory.waitstatesSeq16[i] = GBA_BASE_WAITSTATES_SEQ[i];
|
||||
gba->memory.waitstatesPrefetchNonseq16[i] = GBA_BASE_WAITSTATES[i];
|
||||
gba->memory.waitstatesPrefetchSeq16[i] = GBA_BASE_WAITSTATES_SEQ[i];
|
||||
gba->memory.waitstatesNonseq32[i] = GBA_BASE_WAITSTATES_32[i];
|
||||
gba->memory.waitstatesSeq32[i] = GBA_BASE_WAITSTATES_SEQ_32[i];
|
||||
gba->memory.waitstatesPrefetchNonseq32[i] = GBA_BASE_WAITSTATES_32[i];
|
||||
gba->memory.waitstatesPrefetchSeq32[i] = GBA_BASE_WAITSTATES_SEQ_32[i];
|
||||
}
|
||||
for (; i < 256; ++i) {
|
||||
gba->memory.waitstatesNonseq16[i] = 0;
|
||||
|
|
Loading…
Reference in New Issue