mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-06 19:11:21 -04:00
Stop compiling some DSP-related files.
Replace it all with stubs.
This commit is contained in:
+2
-1
@@ -89,7 +89,8 @@ add_library(game_debug STATIC ${JSYSTEM_DEBUG_FILES} ${SSYSTEM_FILES}
|
||||
src/dusk/audio/DuskDsp.hpp
|
||||
src/dusk/audio/DuskDsp.cpp
|
||||
src/dusk/audio/Adpcm.cpp
|
||||
src/dusk/audio/Adpcm.hpp)
|
||||
src/dusk/audio/Adpcm.hpp
|
||||
src/dusk/audio/DspStub.cpp)
|
||||
target_compile_definitions(game_debug PRIVATE TARGET_PC AVOID_UB=1 VERSION=0 $<$<CONFIG:Debug>:DEBUG=1>)
|
||||
|
||||
# Make these properties PUBLIC so that the regular game target also sees them.
|
||||
|
||||
@@ -507,10 +507,6 @@ set(JSYSTEM_DEBUG_FILES
|
||||
libs/JSystem/src/JAudio2/JASDSPInterface.cpp
|
||||
libs/JSystem/src/JAudio2/JASDriverIF.cpp
|
||||
libs/JSystem/src/JAudio2/JASSoundParams.cpp
|
||||
libs/JSystem/src/JAudio2/dspproc.cpp
|
||||
libs/JSystem/src/JAudio2/dsptask.cpp
|
||||
libs/JSystem/src/JAudio2/osdsp.cpp
|
||||
libs/JSystem/src/JAudio2/osdsp_task.cpp
|
||||
libs/JSystem/src/JAudio2/JAIAudible.cpp
|
||||
libs/JSystem/src/JAudio2/JAIAudience.cpp
|
||||
libs/JSystem/src/JAudio2/JAISe.cpp
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
#include "JSystem/JAudio2/dspproc.h"
|
||||
#include "JSystem/JAudio2/osdsp_task.h"
|
||||
#include "JSystem/JAudio2/dsptask.h"
|
||||
#include "global.h"
|
||||
#include "os.h"
|
||||
|
||||
void DSPReleaseHalt2(u32) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
void DsetupTable(u32, u32, u32, u32, u32) {
|
||||
// Nada.
|
||||
}
|
||||
void DsetMixerLevel(f32) {
|
||||
// Nada for now, but maybe we should care about this?
|
||||
}
|
||||
void DsyncFrame2ch(u32, u32, u32) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
void DsyncFrame4ch(u32, u32, u32, u32, u32) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
|
||||
void DspBoot(void (*)(void*)) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
void DspFinishWork(u16) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
int DSPSendCommands2(u32*, u32, void (*)(u16)) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
|
||||
void DsyncFrame2(u32, u32, u32) {
|
||||
CRASH("We do not directly emulate the DSP");
|
||||
}
|
||||
Reference in New Issue
Block a user