Core: Move Emulation IOS instance to System.
This commit is contained in:
21 files changed
+65
-51
No files matched your search
@@ -40,6 +40,7 @@
|
||||
#include "Core/IOS/USB/Bluetooth/BTReal.h"
|
||||
#include "Core/IOS/Uids.h"
|
||||
#include "Core/SysConf.h"
|
||||
#include "Core/System.h"
|
||||
#include "DiscIO/DiscExtractor.h"
|
||||
#include "DiscIO/Enums.h"
|
||||
#include "DiscIO/Filesystem.h"
|
||||
@@ -1004,7 +1005,7 @@ bool RepairNAND(IOS::HLE::Kernel& ios)
|
||||
|
||||
static std::shared_ptr<IOS::HLE::Device> GetBluetoothDevice()
|
||||
{
|
||||
auto* ios = IOS::HLE::GetIOS();
|
||||
auto* ios = Core::System::GetInstance().GetIOS();
|
||||
return ios ? ios->GetDeviceByName("/dev/usb/oh1/57e/305") : nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user