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

Function gsWrite32

pcsx2/GS.cpp:153–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151// GS Write 32 bit
152
153__fi void gsWrite32(u32 mem, u32 value)
154{
155 pxAssume( (mem & 3) == 0 );
156 GIF_LOG("GS write 32 at %8.8lx with data %8.8lx", mem, value);
157
158 switch (mem)
159 {
160 case GS_CSR:
161 gsCSRwrite(tGS_CSR(value));
162 return;
163
164 case GS_IMR:
165 IMRwrite(value);
166 return;
167 }
168
169 *(u32*)PS2GS_BASE(mem) = value;
170}
171
172//////////////////////////////////////////////////////////////////////////
173// GS Write 64 bit

Callers 1

_ext_memWrite32Function · 0.85

Calls 3

gsCSRwriteFunction · 0.85
tGS_CSRFunction · 0.85
IMRwriteFunction · 0.85

Tested by

no test coverage detected