mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-04 18:45:05 +01:00
0e1ed4a3b3
- Added support for ciosx (yes, including FAT/NTFS) (As always, say thanks to oggzee for this) - Fixed bug with game specific settings (which *could* end up using other settings than you expected) - Removed fat_ffs for now (save game emulation might conflict with FAT/NTFS support, we have to test this) - Maybe more, but I forgot them, I think
38 lines
973 B
C++
38 lines
973 B
C++
/****************************************************************************
|
|
* libwiigui Template
|
|
* Tantric 2009
|
|
*
|
|
* audio.cpp
|
|
* Audio support
|
|
***************************************************************************/
|
|
|
|
#include <gccore.h>
|
|
#include <ogcsys.h>
|
|
#include <asndlib.h>
|
|
|
|
/****************************************************************************
|
|
* InitAudio
|
|
*
|
|
* Initializes the Wii's audio subsystem
|
|
***************************************************************************/
|
|
void InitAudio() {
|
|
AUDIO_Init(NULL);
|
|
ASND_Init();
|
|
ASND_Pause(0);
|
|
}
|
|
|
|
/****************************************************************************
|
|
* ShutdownAudio
|
|
*
|
|
* Shuts down audio subsystem. Useful to avoid unpleasant sounds if a
|
|
* crash occurs during shutdown.
|
|
***************************************************************************/
|
|
void ShutdownAudio() {
|
|
ASND_Pause(1);
|
|
ASND_End();
|
|
}
|
|
|
|
extern "C" void StopAudio() {
|
|
ShutdownAudio();
|
|
}
|