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

Method SetOutputTo

pcsx2/IPU/IPU_MultiISA.h:120–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119 template< typename T >
120 void SetOutputTo( T& obj )
121 {
122 uint mb_offset = ((uptr)&obj - (uptr)&mb8);
123 pxAssume( (mb_offset & 15) == 0 );
124 ipu0_idx = mb_offset / 16;
125 ipu0_data = sizeof(obj)/16;
126 }
127
128 u128* GetIpuDataPtr()
129 {

Callers 2

mpeg2sliceIDECFunction · 0.80
mpeg2_sliceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected