mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-29 00:59:51 -06:00
Return "NotAvailable" when no UserChannel data is present. (#1569)
* Return "NotAvailable" when no UserChannel data is present. * Return ObjectInvalid for undefined parameter kinds. * No need to specify which, there's only one. * Just works as a literal string.
This commit is contained in:
@ -31,7 +31,9 @@ namespace Ryujinx.HLE.HOS
|
||||
|
||||
public byte[] Pop()
|
||||
{
|
||||
return _userChannelStorages.Pop();
|
||||
_userChannelStorages.TryPop(out byte[] result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public bool IsEmpty => _userChannelStorages.Count == 0;
|
||||
|
Reference in New Issue
Block a user