Remove useless ES wrappers from the main IOS file
This removes wrappers for ES_DIVerify and ES::LoadWAD. They are not really useful as we can simply call the ES function directly, and it is actually somewhat confusing because both functions are static and are not tied to a particular ES instance.
This commit is contained in:
1 parent
5a74343d06
commit
d97ae1054f
6 files changed
+9
-27
No files matched your search
@@ -14,8 +14,8 @@
|
||||
#include "Core/HW/DVDInterface.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/IOS/DI/DI.h"
|
||||
#include "Core/IOS/ES/ES.h"
|
||||
#include "Core/IOS/ES/Formats.h"
|
||||
#include "Core/IOS/IPC.h"
|
||||
#include "DiscIO/Volume.h"
|
||||
|
||||
namespace IOS
|
||||
@@ -106,10 +106,10 @@ IPCCommandResult DI::IOCtlV(const IOCtlVRequest& request)
|
||||
INFO_LOG(IOS_DI, "DVDLowOpenPartition: partition_offset 0x%016" PRIx64, partition_offset);
|
||||
|
||||
// Read TMD to the buffer
|
||||
const ES::TMDReader tmd = DVDInterface::GetVolume().GetTMD();
|
||||
const IOS::ES::TMDReader tmd = DVDInterface::GetVolume().GetTMD();
|
||||
const std::vector<u8> raw_tmd = tmd.GetRawTMD();
|
||||
Memory::CopyToEmu(request.io_vectors[0].address, raw_tmd.data(), raw_tmd.size());
|
||||
ES_DIVerify(tmd, DVDInterface::GetVolume().GetTicket());
|
||||
ES::DIVerify(tmd, DVDInterface::GetVolume().GetTicket());
|
||||
|
||||
return_value = 1;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user