MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / _ext_memWrite32

Function _ext_memWrite32

pcsx2/Memory.cpp:690–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688
689template<int p>
690static void _ext_memWrite32(u32 mem, mem32_t value)
691{
692 switch (p) {
693 case 6: // gsm
694 gsWrite32(mem, value); return;
695 case 7: // dev9
696 DEV9write32(mem & ~0xa4000000, value);
697 Console.WriteLn("DEV9 write32 %8.8lx: %8.8lx", mem & ~0xa4000000, value);
698 return;
699 case 9:
700 iopMemWrite32(mem & ~0x1c000000, value);
701 return;
702 default: break;
703 }
704 MEM_LOG("Unknown Memory write32 to address %x with data %8.8x", mem, value);
705 cpuTlbMissW(mem, cpuRegs.branch);
706}
707
708template<int p>
709static void _ext_memWrite64(u32 mem, mem64_t value)

Callers

nothing calls this directly

Calls 5

gsWrite32Function · 0.85
DEV9write32Function · 0.85
iopMemWrite32Function · 0.85
cpuTlbMissWFunction · 0.85
WriteLnMethod · 0.45

Tested by

no test coverage detected