From 3cf3b50ab08dc0300e93b7cf81ed5997a09d8f78 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 23 Jan 2017 22:15:02 -0500 Subject: [PATCH] ES: Minor header reorganization Places elements in the order: - Structs/Enums definitions - Functions - Member variables --- Source/Core/Core/IOS/ES/ES.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/Source/Core/Core/IOS/ES/ES.h b/Source/Core/Core/IOS/ES/ES.h index f1241e63fd..0571c37f8a 100644 --- a/Source/Core/Core/IOS/ES/ES.h +++ b/Source/Core/Core/IOS/ES/ES.h @@ -138,21 +138,6 @@ private: u32 m_Size; }; - typedef std::map CContentAccessMap; - CContentAccessMap m_ContentAccessMap; - - std::vector m_TitleIDs; - u64 m_TitleID = -1; - u32 m_AccessIdentID = 0x6000000; - - // For title installation (ioctls IOCTL_ES_ADDTITLE*). - TMDReader m_addtitle_tmd; - u32 m_addtitle_content_id = 0xFFFFFFFF; - std::vector m_addtitle_content_buffer; - - const DiscIO::CNANDContentLoader& AccessContentDevice(u64 title_id); - u32 OpenTitleContent(u32 CFD, u64 TitleID, u16 Index); - struct ecc_cert_t { u32 sig_type; @@ -165,6 +150,21 @@ private: u8 ecc_pubkey[0x3c]; u8 padding[0x3c]; }; + + const DiscIO::CNANDContentLoader& AccessContentDevice(u64 title_id); + u32 OpenTitleContent(u32 CFD, u64 TitleID, u16 Index); + + typedef std::map CContentAccessMap; + CContentAccessMap m_ContentAccessMap; + + std::vector m_TitleIDs; + u64 m_TitleID = -1; + u32 m_AccessIdentID = 0x6000000; + + // For title installation (ioctls IOCTL_ES_ADDTITLE*). + TMDReader m_addtitle_tmd; + u32 m_addtitle_content_id = 0xFFFFFFFF; + std::vector m_addtitle_content_buffer; }; } // namespace Device } // namespace HLE