| 95 | } |
| 96 | |
| 97 | void aptDspWakeup(void) |
| 98 | { |
| 99 | if (!dspSleeping) |
| 100 | return; |
| 101 | |
| 102 | Result ret = DSP_LoadComponent(dspSavedCompBin, dspSavedCompSize, dspSavedCompProgMask, dspSavedCompDataMask, NULL); |
| 103 | if (R_FAILED(ret)) |
| 104 | svcBreak(USERBREAK_PANIC); // Shouldn't happen. |
| 105 | |
| 106 | dspCallHook(DSPHOOK_ONWAKEUP); |
| 107 | dspSleeping = false; |
| 108 | } |
| 109 | |
| 110 | void aptDspCancel(void) |
| 111 | { |
nothing calls this directly
no test coverage detected