mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Add kernel object viewer, reimpl "Run to here"
This commit is contained in:
1 parent
28f1a7d45d
commit
e95d9b15b4
5 files changed
+79
-33
No files matched your search
@@ -510,14 +510,6 @@ SceUID KernelObjectPool::Create(KernelObject *obj, int rangeBottom, int rangeTop
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool KernelObjectPool::IsValid(SceUID handle) const {
|
||||
int index = handle - handleOffset;
|
||||
if (index < 0 || index >= maxCount)
|
||||
return false;
|
||||
else
|
||||
return occupied[index];
|
||||
}
|
||||
|
||||
void KernelObjectPool::Clear() {
|
||||
for (int i = 0; i < maxCount; i++) {
|
||||
// brutally clear everything, no validation
|
||||
|
||||
Reference in new issue
Block a user