Play nice jingle and more clean-up

This commit is contained in:
Jaby
2024-10-05 17:43:16 +02:00
parent 6a1c5e704a
commit 74f3da97f6
12 changed files with 14 additions and 35 deletions

View File

@@ -7,7 +7,7 @@ enum struct FileType : JabyEngine::CDFileType_t {
struct CustomCDFileBuilder {
static constexpr JabyEngine::CDFile jingle(uint32_t sfx_id) {
// TODO: This currently re-loads Paco; We should make this treat it's own file!
// v we reload Paco
return JabyEngine::CDFile::custom(0, FileType::Jingle, sfx_id);
}
};

View File

@@ -9,7 +9,7 @@ namespace JabyEngine {
};
static Progress parse_jingle(State::Configuration& config, JingleState& jingle) {
printf("Playing jingle: %i\n", jingle.sfx_id);
SPU::voice[jingle.sfx_id].play();
return Progress::Done;
}