MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / FlushCacheForPrefixMemory

Function FlushCacheForPrefixMemory

source/Debugger/Debugger_Display.cpp:2120–2128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2118}
2119
2120static void FlushCacheForPrefixMemory(AddressPrefix_t& addrPrefix)
2121{
2122 if (addrPrefix.nSlot != AddressPrefix_t::kSlotInvalid
2123 || addrPrefix.nBank != AddressPrefix_t::kBankInvalid
2124 || addrPrefix.nLangCard != AddressPrefix_t::kLangCardInvalid)
2125 {
2126 MemGetBankPtr(0); // Flush cache to back-buffers
2127 }
2128}
2129
2130static BYTE ReadByteFromMemoryWithPrefix(const WORD iAddress, AddressPrefix_t& addrPrefix)
2131{

Callers 2

DrawMemoryFunction · 0.85
DrawSubWindow_DataFunction · 0.85

Calls 1

MemGetBankPtrFunction · 0.85

Tested by

no test coverage detected