Ram Search - small speedup on UpdateValues
This commit is contained in:
parent
8c5d8741cb
commit
1f128aeda4
|
@ -357,7 +357,7 @@ namespace BizHawk.Emulation.Consoles.Sega
|
|||
(addr, value) => VDP.VRAM[addr & 0xFFFF] = value);
|
||||
|
||||
var RomDomain = new MemoryDomain("Rom Data", RomData.Length, Endian.Big,
|
||||
addr => RomData[addr & (RomData.Length - 1)],
|
||||
addr => RomData[addr], //adelikat: For speed considerations, I didn't mask this, every tool that uses memory domains is smart enough not to overflow, if I'm wrong let me know!
|
||||
(addr, value) => RomData[addr & (RomData.Length - 1)] = value);
|
||||
|
||||
var SystemBusDomain = new MemoryDomain("System Bus", 0x1000000, Endian.Big,
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace BizHawk.MultiClient
|
|||
sortReverse = false;
|
||||
sortedCol = "";
|
||||
|
||||
for (int x = 0; x < searchList.Count; x++)
|
||||
for (int x = searchList.Count - 1; x >= 0; x--)
|
||||
{
|
||||
searchList[x].PeekAddress(Domain);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue