ee81ab547e
* am: Initial swkbd implementation Currently only implements the full screen keyboard, inline keyboard will come later. * Remove unnecessary logging * Miscellaneous tidy up * am: Always pop incoming interactive session data * am: Add a reminder to implement the full config struct * am: Check for a max length of zero We should only limit/truncate text when the max length is set to a non-zero value. * Add documentation * am: Return IStorage not available when queue is empty We should be returning the appropriate error code when the FIFO is empty, rather than just throwing an exception and killing the emulator. * Fix typo * Code style changes
16 lines
No EOL
483 B
C#
16 lines
No EOL
483 B
C#
namespace Ryujinx.HLE.HOS.Services.Am
|
|
{
|
|
enum ResultCode
|
|
{
|
|
ModuleId = 128,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
NotAvailable = (2 << ErrorCodeShift) | ModuleId,
|
|
NoMessages = (3 << ErrorCodeShift) | ModuleId,
|
|
ObjectInvalid = (500 << ErrorCodeShift) | ModuleId,
|
|
OutOfBounds = (503 << ErrorCodeShift) | ModuleId,
|
|
CpuBoostModeInvalid = (506 << ErrorCodeShift) | ModuleId
|
|
}
|
|
} |