[Kernel] Cleaning up
This commit is contained in:
@@ -20,8 +20,6 @@ Handle Kernel::makeEvent(ResetType resetType) {
|
||||
}
|
||||
|
||||
// Result CreateEvent(Handle* event, ResetType resetType)
|
||||
// TODO: Just like getResourceLimit this seems to output the handle in r1 even though 3dbrew doesn't mention this
|
||||
// Should the handle be written both in memory and r1, or just r1?
|
||||
void Kernel::createEvent() {
|
||||
const u32 outPointer = regs[0];
|
||||
const u32 resetType = regs[1];
|
||||
@@ -34,5 +32,4 @@ void Kernel::createEvent() {
|
||||
Handle handle = makeEvent(static_cast<ResetType>(resetType));
|
||||
regs[0] = SVCResult::Success;
|
||||
regs[1] = handle;
|
||||
mem.write32(outPointer, handle);
|
||||
}
|
||||
Reference in New Issue
Block a user