Stop already playing sounds

This commit is contained in:
GaryOderNichts 2023-04-01 00:05:46 +02:00
parent 3b598b03c6
commit 171c3fb9ce
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,7 @@
#include <sysapp/launch.h>
#include <vpad/input.h>
#include <padscore/kpad.h>
#include <sndcore2/core.h>
namespace
{
@ -130,6 +131,9 @@ int main(int argc, char const* argv[])
{
WHBProcInit();
// call AXInit to stop already playing sounds
AXInit();
KPADInit();
WPADEnableURCC(TRUE);
@ -161,6 +165,8 @@ int main(int argc, char const* argv[])
Gfx::Shutdown();
AXQuit();
WHBProcShutdown();
return 0;
}