AudioCommon: Pass Core::System to AudioCommon functions.

This commit is contained in:
Admiral H. Curtiss 2022-10-13 21:01:55 +02:00
commit 1c63349984
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
8 changed files with 57 additions and 55 deletions

View file

@ -30,6 +30,7 @@
#include "Core/IOS/USB/Bluetooth/BTBase.h"
#include "Core/IOS/USB/Bluetooth/BTReal.h"
#include "Core/State.h"
#include "Core/System.h"
#include "Core/WiiUtils.h"
#ifdef HAS_LIBMGBA
@ -353,7 +354,7 @@ void HotkeyScheduler::Run()
if (IsHotkey(HK_VOLUME_TOGGLE_MUTE))
{
AudioCommon::ToggleMuteVolume();
AudioCommon::ToggleMuteVolume(Core::System::GetInstance());
ShowVolume();
}