mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 05:04:10 -04:00
fatal: Standardize result definitions
This commit is contained in:
parent
b940f61d42
commit
285feba42b
6 changed files with 6 additions and 14 deletions
|
@ -38,7 +38,7 @@ Result FatalEventManager::GetEvent(Handle *out) {
|
|||
|
||||
/* Only allow GetEvent to succeed NumFatalEvents times. */
|
||||
if (this->events_gotten >= FatalEventManager::NumFatalEvents) {
|
||||
return FatalResult_TooManyEvents;
|
||||
return ResultFatalTooManyEvents;
|
||||
}
|
||||
|
||||
*out = this->events[this->events_gotten++].revent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue