re3-wiiu/src/audio/SampleManager.cpp

24 lines
428 B
C++
Raw Normal View History

2019-06-16 00:20:55 +02:00
#include "common.h"
2019-07-01 00:07:58 +02:00
#include "patcher.h"
2019-06-16 00:20:55 +02:00
#include "SampleManager.h"
CSampleManager &cSampleManager = *(CSampleManager *)0x7341E0;
uint32 &CSampleManager::nNumOfMp3Files = *(uint32*)0x95CC00;
bool CSampleManager::IsMP3RadioChannelAvailable() {
return nNumOfMp3Files != 0;
}
2019-06-30 23:58:24 +02:00
WRAPPER void
CSampleManager::ReleaseDigitalHandle()
{
EAXJMP(0x5664B0);
}
2019-07-01 00:07:58 +02:00
WRAPPER
void
CSampleManager::RequireDigitalHandle()
{
EAXJMP(0x5664F0);
}