Offically support Sony VAG because we have no own conversion
This commit is contained in:
@@ -43,10 +43,8 @@ namespace JabyEngine {
|
||||
case CDFileType::SimpleTIM:
|
||||
return FileProcessor::create(data_adr, file.payload.simple_tim);
|
||||
|
||||
#ifdef __SUPPORT_VAG__
|
||||
case CDFileType::SonyVAG:
|
||||
return FileProcessor::create(data_adr, file.payload.vag);
|
||||
#endif //__SUPPORT_VAG__
|
||||
|
||||
default:
|
||||
return FileProcessor::create_custom(data_adr, static_cast<CDFileType_t>(file.type) - static_cast<CDFileType_t>(CDFileType::Custom), file.payload);
|
||||
|
@@ -5,7 +5,6 @@
|
||||
#include <PSX/SPU/spu.hpp>
|
||||
#include <stdio.hpp>
|
||||
|
||||
#ifdef __SUPPORT_VAG__
|
||||
namespace JabyEngine {
|
||||
namespace FileProcessor {
|
||||
struct VAGHeader {
|
||||
@@ -77,5 +76,4 @@ namespace JabyEngine {
|
||||
return State::from(VAGState::create(file.voice_number, file.inital_stereo_vol), data_adr, parse_header);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // __SUPPORT_VAG__
|
||||
}
|
Reference in New Issue
Block a user