mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-09 06:03:22 -04:00
43 lines
1.6 KiB
C++
43 lines
1.6 KiB
C++
//
|
|
// Generated by dtk
|
|
// Translation Unit: JAIInitData.cpp
|
|
//
|
|
|
|
#include "JSystem/JAudio/JAIInitData.h"
|
|
#include "JSystem/JAudio/JAIBankWave.h"
|
|
#include "JSystem/JAudio/JAIConst.h"
|
|
#include "JSystem/JAudio/JAIGlobalParameter.h"
|
|
#include "JSystem/JAudio/JAISoundTable.h"
|
|
#include "JSystem/JAudio/JAIStreamMgr.h"
|
|
#include "JSystem/JAudio/JAISystemInterface.h"
|
|
#include "JSystem/JAudio/JASSystemHeap.h"
|
|
#include "JSystem/JKernel/JKRSolidHeap.h"
|
|
#include "JSystem/JUtility/JUTAssert.h"
|
|
#include "string.h"
|
|
|
|
u32* JAInter::InitData::aafPointer;
|
|
|
|
/* 80292460-80292548 .text checkInitDataFile__Q27JAInter8InitDataFv */
|
|
BOOL JAInter::InitData::checkInitDataFile() {
|
|
if (!SystemInterface::checkFileExsistence(JAIGlobalParameter::getParamInitDataFileName())) {
|
|
char* fileName = (char*)JASDram->alloc(strlen(JAIGlobalParameter::getParamAudioResPath()) + strlen(JAIGlobalParameter::getParamInitDataFileName()) + 1, 0);
|
|
sprintf(fileName, "%s%s%c", JAIGlobalParameter::getParamAudioResPath(), JAIGlobalParameter::getParamInitDataFileName(), 0);
|
|
JAIGlobalParameter::setParamInitDataFileName(fileName);
|
|
if (!SystemInterface::checkFileExsistence(JAIGlobalParameter::getParamInitDataFileName())) {
|
|
return false;
|
|
}
|
|
}
|
|
loadTmpDVDFile(JAIGlobalParameter::getParamInitDataFileName(), (u8**)&aafPointer);
|
|
if (aafPointer) {
|
|
checkInitDataOnMemory();
|
|
deleteTmpDVDFile((u8**)&aafPointer);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
/* 80292548-8029285C .text checkInitDataOnMemory__Q27JAInter8InitDataFv */
|
|
void JAInter::InitData::checkInitDataOnMemory() {
|
|
/* Nonmatching */
|
|
}
|