mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
typo
This commit is contained in:
parent
e00f5d21df
commit
e958a360ae
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ void Kernel::closeDirectory(u32 messagePointer, Handle directory) {
|
|||
|
||||
const auto p = getObject(directory, KernelObjectType::Directory);
|
||||
if (p == nullptr) [[unlikely]] {
|
||||
Helpers::panic("Called CloseFile on non-existent file");
|
||||
Helpers::panic("Called CloseDirectory on non-existent directory");
|
||||
}
|
||||
|
||||
p->getData<DirectorySession>()->isOpen = false;
|
||||
|
@ -37,4 +37,4 @@ void Kernel::readDirectory(u32 messagePointer, Handle directory) {
|
|||
|
||||
mem.write32(messagePointer + 4, Result::Success);
|
||||
mem.write32(messagePointer + 8, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue