Support custom file parsing
This commit is contained in:
13
examples/PoolBox/application/src/Custom/custom_files.hpp
Normal file
13
examples/PoolBox/application/src/Custom/custom_files.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include <PSX/File/cd_file_types.hpp>
|
||||
|
||||
enum struct FileType : JabyEngine::CDFileType_t {
|
||||
Jingle,
|
||||
};
|
||||
|
||||
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!
|
||||
return JabyEngine::CDFile::custom(0, FileType::Jingle, sfx_id);
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user