Prepare VAG loading
This commit is contained in:
23
src/Library/src/File/Processor/vag_processor.cpp
Normal file
23
src/Library/src/File/Processor/vag_processor.cpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#include <PSX/File/file_processor_helper.hpp>
|
||||
#include <stdio.hpp>
|
||||
|
||||
#ifdef __SUPPORT_VAG__
|
||||
namespace JabyEngine {
|
||||
namespace FileProcessor {
|
||||
struct VAGState {
|
||||
static constexpr VAGState create() {
|
||||
return VAGState{};
|
||||
}
|
||||
};
|
||||
|
||||
static Progress parse_header(State::Configuration& config, VAGState& state) {
|
||||
printf("What am I supposed to do?!\n");
|
||||
return Progress::Error;
|
||||
}
|
||||
|
||||
State create(const uint32_t* data_adr, const VAG& file) {
|
||||
return State::from(VAGState::create(), data_adr, parse_header);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // __SUPPORT_VAG__
|
||||
Reference in New Issue
Block a user