mirror of
https://github.com/GaryOderNichts/WiiUIdent.git
synced 2025-01-09 07:09:23 +01:00
Stop already playing sounds
This commit is contained in:
parent
3b598b03c6
commit
171c3fb9ce
@ -7,6 +7,7 @@
|
|||||||
#include <sysapp/launch.h>
|
#include <sysapp/launch.h>
|
||||||
#include <vpad/input.h>
|
#include <vpad/input.h>
|
||||||
#include <padscore/kpad.h>
|
#include <padscore/kpad.h>
|
||||||
|
#include <sndcore2/core.h>
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
@ -130,6 +131,9 @@ int main(int argc, char const* argv[])
|
|||||||
{
|
{
|
||||||
WHBProcInit();
|
WHBProcInit();
|
||||||
|
|
||||||
|
// call AXInit to stop already playing sounds
|
||||||
|
AXInit();
|
||||||
|
|
||||||
KPADInit();
|
KPADInit();
|
||||||
WPADEnableURCC(TRUE);
|
WPADEnableURCC(TRUE);
|
||||||
|
|
||||||
@ -161,6 +165,8 @@ int main(int argc, char const* argv[])
|
|||||||
|
|
||||||
Gfx::Shutdown();
|
Gfx::Shutdown();
|
||||||
|
|
||||||
|
AXQuit();
|
||||||
|
|
||||||
WHBProcShutdown();
|
WHBProcShutdown();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user