IOS/SDIO: Make GetCSDv1/v2 const member functions
This commit is contained in:
parent
c24418a822
commit
9f36499f9e
|
@ -503,7 +503,7 @@ u32 SDIOSlot0::GetOCRegister() const
|
|||
return ocr;
|
||||
}
|
||||
|
||||
std::array<u32, 4> SDIOSlot0::GetCSDv1()
|
||||
std::array<u32, 4> SDIOSlot0::GetCSDv1() const
|
||||
{
|
||||
u64 size = m_card.GetSize();
|
||||
|
||||
|
@ -585,7 +585,7 @@ std::array<u32, 4> SDIOSlot0::GetCSDv1()
|
|||
}};
|
||||
}
|
||||
|
||||
std::array<u32, 4> SDIOSlot0::GetCSDv2()
|
||||
std::array<u32, 4> SDIOSlot0::GetCSDv2() const
|
||||
{
|
||||
const u64 size = m_card.GetSize();
|
||||
|
||||
|
|
|
@ -145,8 +145,8 @@ private:
|
|||
|
||||
u32 GetOCRegister() const;
|
||||
|
||||
std::array<u32, 4> GetCSDv1();
|
||||
std::array<u32, 4> GetCSDv2();
|
||||
std::array<u32, 4> GetCSDv1() const;
|
||||
std::array<u32, 4> GetCSDv2() const;
|
||||
void InitSDHC();
|
||||
|
||||
u64 GetAddressFromRequest(u32 arg) const;
|
||||
|
|
Loading…
Reference in New Issue