mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Use ESFormats for TMDs
We already have a TMDReader, so let's actually use it. And move ESFormats to IOS::ES, since it's definitely part of IOS. This adds a DiscIO dependency on Core which will be fixed in a follow-up PR.
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
#include "Core/HW/DVDThread.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/HW/SystemTimers.h"
|
||||
#include "Core/IOS/ES/Formats.h"
|
||||
#include "Core/IOS/MIOS.h"
|
||||
#include "Core/PowerPC/PPCSymbolDB.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
@ -97,7 +98,7 @@ static std::vector<u8> GetMIOSBinary()
|
||||
if (!loader.IsValid())
|
||||
return {};
|
||||
|
||||
const auto* content = loader.GetContentByIndex(loader.GetBootIndex());
|
||||
const auto* content = loader.GetContentByIndex(loader.GetTMD().GetBootIndex());
|
||||
if (!content)
|
||||
return {};
|
||||
|
||||
|
Reference in New Issue
Block a user