| 48 | } |
| 49 | |
| 50 | void SystemRecord::applyAudioSetting() |
| 51 | { |
| 52 | if (OSGetSoundMode() == 0) |
| 53 | { |
| 54 | mOptions &= ~0x3; |
| 55 | mOptions |= 1; |
| 56 | } |
| 57 | else if ((mOptions & 3) == 1) |
| 58 | { |
| 59 | mOptions &= ~0x3; |
| 60 | } |
| 61 | |
| 62 | switch (mOptions & 3) |
| 63 | { |
| 64 | case 1: |
| 65 | GameAudio::Main::getAudio()->setOutputMode(0); |
| 66 | break; |
| 67 | case 0: |
| 68 | GameAudio::Main::getAudio()->setOutputMode(1); |
| 69 | break; |
| 70 | case 2: |
| 71 | GameAudio::Main::getAudio()->setOutputMode(2); |
| 72 | break; |
| 73 | } |
| 74 | |
| 75 | GameAudio::Main::getAudio()->setMasterVolume(mVolume); |
| 76 | } |
| 77 | |
| 78 | void SystemRecord::crypt(u16 seed) |
| 79 | { |
no test coverage detected