mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
migrate AudioInOut inside EmuInstance
This commit is contained in:
@ -66,6 +66,8 @@ EmuInstance::EmuInstance(int inst) : instanceID(inst),
|
||||
globalCfg(Config::GetGlobalTable()),
|
||||
localCfg(Config::GetLocalTable(inst))
|
||||
{
|
||||
audioInit();
|
||||
|
||||
emuThread = new EmuThread(this);
|
||||
|
||||
numWindows = 0;
|
||||
@ -87,6 +89,8 @@ EmuInstance::~EmuInstance()
|
||||
emuThread->emuStop();
|
||||
emuThread->wait();
|
||||
delete emuThread;
|
||||
|
||||
audioDeInit();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user