Core: Mark some functions as const

This commit is contained in:
Lioncash committed 2014-12-03 15:16:11 -05:00
1 parent 0c349e062a
commit f830d5dec7
14 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -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++)