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

Function GetMemPtr

pcsx2/SPU2/spu2sys.cpp:61–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61__forceinline s16* GetMemPtr(u32 addr)
62{
63#ifndef DEBUG_FAST
64 // In case you're wondering, this assert is the reason SPU2
65 // runs so incrediously slow in Debug mode. :P
66 pxAssume(addr < 0x100000);
67#endif
68 return (_spu2mem + addr);
69}
70
71__forceinline s16 spu2M_Read(u32 addr)
72{

Callers 12

spu2M_ReadFunction · 0.85
spu2M_WriteFunction · 0.85
RegWrite_CoreFunction · 0.85
StartVoicesFunction · 0.85
AutoDMAReadBufferMethod · 0.85
FinishDMAwriteMethod · 0.85
FinishDMAreadMethod · 0.85
ReadInput_HiFiMethod · 0.85
ReadInputMethod · 0.85
GetNextDataBufferedFunction · 0.85
UpdateBlockHeaderFunction · 0.85
spu2M_WriteFastFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected