mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-03 17:58:29 +00:00
Hopefully we're good to start sending commands to services now
This commit is contained in:
parent
208c18356b
commit
6154a360c6
10 changed files with 110 additions and 32 deletions
|
@ -40,7 +40,7 @@ class Kernel {
|
|||
}
|
||||
|
||||
Handle makeObject(KernelObjectType type) {
|
||||
if (handleCounter == std::numeric_limits<Handle>::max()) [[unlikely]] {
|
||||
if (handleCounter > KernelHandles::Max) [[unlikely]] {
|
||||
Helpers::panic("Hlep we somehow created enough kernel objects to overflow this thing");
|
||||
}
|
||||
|
||||
|
@ -52,6 +52,7 @@ class Kernel {
|
|||
Handle makeProcess();
|
||||
Handle makePort(const char* name);
|
||||
Handle makeSession(Handle port);
|
||||
|
||||
std::optional<Handle> getPortHandle(const char* name);
|
||||
void deleteObjectData(KernelObject& object);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue