mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 17:49:29 +01:00
Core: Mark some functions as const
This commit is contained in:
1 parent
0c349e062a
commit
f830d5dec7
14 files changed
+23
-23
No files matched your search
@@ -470,7 +470,7 @@ SceUID KernelObjectPool::Create(KernelObject *obj, int rangeBottom, int rangeTop
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool KernelObjectPool::IsValid(SceUID handle)
|
||||
bool KernelObjectPool::IsValid(SceUID handle) const
|
||||
{
|
||||
int index = handle - handleOffset;
|
||||
if (index < 0)
|
||||
@@ -520,7 +520,7 @@ void KernelObjectPool::List()
|
||||
}
|
||||
}
|
||||
|
||||
int KernelObjectPool::GetCount()
|
||||
int KernelObjectPool::GetCount() const
|
||||
{
|
||||
int count = 0;
|
||||
for (int i=0; i<maxCount; i++)
|
||||
|
||||
Reference in new issue
Block a user