mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Core: Apply const to some functions
This commit is contained in:
parent
5a043ddacb
commit
82840282fb
11 changed files with 27 additions and 26 deletions
|
|
@ -593,17 +593,17 @@ void KeyVault::LoadSelfUNK7Keys()
|
|||
0x0F);
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfLV0Key()
|
||||
SELF_KEY KeyVault::GetSelfLV0Key() const
|
||||
{
|
||||
return sk_LV0_arr[0];
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfLDRKey()
|
||||
SELF_KEY KeyVault::GetSelfLDRKey() const
|
||||
{
|
||||
return sk_LDR_arr[0];
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfLV1Key(u64 version)
|
||||
SELF_KEY KeyVault::GetSelfLV1Key(u64 version) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
@ -619,7 +619,7 @@ SELF_KEY KeyVault::GetSelfLV1Key(u64 version)
|
|||
return key;
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfLV2Key(u64 version)
|
||||
SELF_KEY KeyVault::GetSelfLV2Key(u64 version) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
@ -635,7 +635,7 @@ SELF_KEY KeyVault::GetSelfLV2Key(u64 version)
|
|||
return key;
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfISOKey(u16 revision, u64 version)
|
||||
SELF_KEY KeyVault::GetSelfISOKey(u16 revision, u64 version) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
@ -652,7 +652,7 @@ SELF_KEY KeyVault::GetSelfISOKey(u16 revision, u64 version)
|
|||
return key;
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfAPPKey(u16 revision)
|
||||
SELF_KEY KeyVault::GetSelfAPPKey(u16 revision) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
@ -668,7 +668,7 @@ SELF_KEY KeyVault::GetSelfAPPKey(u16 revision)
|
|||
return key;
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfUNK7Key(u64 version)
|
||||
SELF_KEY KeyVault::GetSelfUNK7Key(u64 version) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
@ -684,7 +684,7 @@ SELF_KEY KeyVault::GetSelfUNK7Key(u64 version)
|
|||
return key;
|
||||
}
|
||||
|
||||
SELF_KEY KeyVault::GetSelfNPDRMKey(u16 revision)
|
||||
SELF_KEY KeyVault::GetSelfNPDRMKey(u16 revision) const
|
||||
{
|
||||
SELF_KEY key(0, 0, 0, "", "", "", "", 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -131,14 +131,14 @@ private:
|
|||
void LoadSelfAPPKeys();
|
||||
void LoadSelfUNK7Keys();
|
||||
void LoadSelfNPDRMKeys();
|
||||
SELF_KEY GetSelfLV0Key();
|
||||
SELF_KEY GetSelfLDRKey();
|
||||
SELF_KEY GetSelfLV1Key(u64 version);
|
||||
SELF_KEY GetSelfLV2Key(u64 version);
|
||||
SELF_KEY GetSelfISOKey(u16 revision, u64 version);
|
||||
SELF_KEY GetSelfAPPKey(u16 revision);
|
||||
SELF_KEY GetSelfUNK7Key(u64 version);
|
||||
SELF_KEY GetSelfNPDRMKey(u16 revision);
|
||||
SELF_KEY GetSelfLV0Key() const;
|
||||
SELF_KEY GetSelfLDRKey() const;
|
||||
SELF_KEY GetSelfLV1Key(u64 version) const;
|
||||
SELF_KEY GetSelfLV2Key(u64 version) const;
|
||||
SELF_KEY GetSelfISOKey(u16 revision, u64 version) const;
|
||||
SELF_KEY GetSelfAPPKey(u16 revision) const;
|
||||
SELF_KEY GetSelfUNK7Key(u64 version) const;
|
||||
SELF_KEY GetSelfNPDRMKey(u16 revision) const;
|
||||
};
|
||||
|
||||
// RAP to RIF function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue