mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-16 07:56:12 +08:00
initial commit
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
// Copyright (C) 2026 SharpEmu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
namespace SharpEmu.HLE;
|
||||
|
||||
/// <summary>
|
||||
/// Represents synthetic kernel-style result codes used by the Gen5 runtime.
|
||||
/// Prefixed with ORBIS_GEN2 to distinguish from PS4-oriented ORBIS_* codes
|
||||
/// used by other emulators such as shadPS4.
|
||||
/// </summary>
|
||||
public enum OrbisGen2Result : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Indicates successful completion.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_OK = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that the requested export was not found.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_NOT_FOUND = unchecked((int)0x80020002),
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that one or more arguments were invalid.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_INVALID_ARGUMENT = unchecked((int)0x80020003),
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that an item already exists.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_ALREADY_EXISTS = unchecked((int)0x80020004),
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that behavior is recognized but not implemented yet.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_NOT_IMPLEMENTED = unchecked((int)0x8002FFFF),
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that memory access failed.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_MEMORY_FAULT = unchecked((int)0x80020101),
|
||||
|
||||
/// <summary>
|
||||
/// Indicates that CPU execution trapped on an unsupported instruction.
|
||||
/// </summary>
|
||||
ORBIS_GEN2_ERROR_CPU_TRAP = unchecked((int)0x80020102),
|
||||
}
|
||||
Reference in New Issue
Block a user