mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-01 01:39:03 -04:00
JASBank
This commit is contained in:
+1
-1
@@ -670,7 +670,7 @@ config.libs = [
|
||||
Object(NonMatching, "JSystem/JAudio/JASTrack.cpp"),
|
||||
Object(Matching, "JSystem/JAudio/JASTrackInterrupt.cpp"),
|
||||
Object(Matching, "JSystem/JAudio/JASTrackPort.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASBank.cpp"),
|
||||
Object(Matching, "JSystem/JAudio/JASBank.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASWaveBank.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASBasicBank.cpp"),
|
||||
Object(NonMatching, "JSystem/JAudio/JASBasicInst.cpp"),
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
#ifndef JASBANK_H
|
||||
#define JASBANK_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
class JKRHeap;
|
||||
|
||||
namespace JASystem {
|
||||
namespace TBank {
|
||||
JKRHeap* getCurrentHeap();
|
||||
|
||||
extern JKRHeap* sCurrentHeap;
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* JASBANK_H */
|
||||
@@ -3,11 +3,18 @@
|
||||
// Translation Unit: JASBank.cpp
|
||||
//
|
||||
|
||||
#include "JASBank.h"
|
||||
#include "JSystem/JAudio/JASBank.h"
|
||||
#include "JSystem/JAudio/JASSystemHeap.h"
|
||||
#include "JSystem/JKernel/JKRSolidHeap.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
/* 80284548-8028455C .text getCurrentHeap__Q28JASystem5TBankFv */
|
||||
void JASystem::TBank::getCurrentHeap() {
|
||||
/* Nonmatching */
|
||||
}
|
||||
JKRHeap* JASystem::TBank::sCurrentHeap;
|
||||
|
||||
/* 80284548-8028455C .text getCurrentHeap__Q28JASystem5TBankFv */
|
||||
JKRHeap* JASystem::TBank::getCurrentHeap() {
|
||||
/* Nonmatching */
|
||||
if (sCurrentHeap) {
|
||||
return sCurrentHeap;
|
||||
}
|
||||
return JASDram;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user