diff --git a/source/main.cpp b/source/main.cpp index 3ca9ecb..f42c08c 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -7,6 +7,7 @@ #include #include #include +#include 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; }