MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / OSGetSoundMode

Function OSGetSoundMode

src/dolphin/src/os/OSRtc.c:226–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 return LockSram(0);
225}
226u32 OSGetSoundMode()
227{
228 OSSram* sram;
229 u32 mode;
230
231 sram = __OSLockSramHACK();
232 mode = (sram->flags & 0x4) ? OS_SOUND_MODE_STEREO : OS_SOUND_MODE_MONO;
233 __OSUnlockSram(FALSE);
234 return mode;
235}
236
237void OSSetSoundMode(u32 mode)
238{

Callers 1

MIXInitFunction · 0.85

Calls 2

__OSLockSramHACKFunction · 0.85
__OSUnlockSramFunction · 0.85

Tested by

no test coverage detected