mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-25 07:02:47 -04:00
Block DSP commands, no DSP emulated
This commit is contained in:
@@ -21,6 +21,10 @@ static void setup_callback(u16 param_0) {
|
||||
}
|
||||
|
||||
void DsetupTable(u32 channelCount, u32 channelBufferAddress, u32 param_2, u32 param_3, u32 param_4) {
|
||||
#if TARGET_PC
|
||||
return;
|
||||
#endif
|
||||
|
||||
u32 table[5];
|
||||
table[0] = (channelCount & 0xFFFF) | 0x81000000;
|
||||
table[1] = channelBufferAddress;
|
||||
|
||||
@@ -550,9 +550,9 @@ void DspBoot(void (*requestCallback)(void*)) {
|
||||
}
|
||||
|
||||
int DSPSendCommands2(u32* param_1, u32 param_2, void (*callBack)(u16)) {
|
||||
callBack(param_1[0]);
|
||||
STUB_RET(1);
|
||||
|
||||
#if TARGET_PC
|
||||
OSPanic(__FILE__, __LINE__, "We do not have a DSP");
|
||||
#endif
|
||||
s32 i;
|
||||
BOOL interruptFlag;
|
||||
s32 startWorkStatus;
|
||||
|
||||
Reference in New Issue
Block a user