Browse Source
[hle] Added missing error codes and increased audio renderer revision (#390)
Co-authored-by: Jarrod Norwell <official.antique@gmail.com>
Fixes Animal Well
Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/390
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: Gamer64 <gamer64@eden-emu.dev>
Co-committed-by: Gamer64 <gamer64@eden-emu.dev>
pull/252/head
Gamer64
4 months ago
committed by
crueter
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
2 changed files with
21 additions and
1 deletions
-
src/audio_core/common/feature_support.h
-
src/core/hle/result.h
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
@ -13,7 +16,7 @@ |
|
|
|
#include "common/polyfill_ranges.h" |
|
|
|
|
|
|
|
namespace AudioCore { |
|
|
|
constexpr u32 CurrentRevision = 15; |
|
|
|
constexpr u32 CurrentRevision = 16; |
|
|
|
|
|
|
|
enum class SupportTags { |
|
|
|
CommandProcessingTimeEstimatorVersion4, |
|
|
|
@ -54,6 +57,7 @@ constexpr u32 GetRevisionNum(u32 user_revision) { |
|
|
|
user_revision -= Common::MakeMagic('R', 'E', 'V', '0'); |
|
|
|
user_revision >>= 24; |
|
|
|
} |
|
|
|
|
|
|
|
return user_revision; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: 2014 Citra Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
@ -24,6 +27,7 @@ enum class ErrorModule : u32 { |
|
|
|
HTCS = 4, |
|
|
|
NCM = 5, |
|
|
|
DD = 6, |
|
|
|
OSDBG = 7, |
|
|
|
LR = 8, |
|
|
|
Loader = 9, |
|
|
|
CMIF = 10, |
|
|
|
@ -51,6 +55,7 @@ enum class ErrorModule : u32 { |
|
|
|
Util = 33, |
|
|
|
TIPC = 35, |
|
|
|
ANIF = 37, |
|
|
|
CRT = 39, |
|
|
|
ETHC = 100, |
|
|
|
I2C = 101, |
|
|
|
GPIO = 102, |
|
|
|
@ -106,6 +111,7 @@ enum class ErrorModule : u32 { |
|
|
|
Audio = 153, |
|
|
|
NPNS = 154, |
|
|
|
NPNSHTTPSTREAM = 155, |
|
|
|
IDLE = 156, |
|
|
|
ARP = 157, |
|
|
|
SWKBD = 158, |
|
|
|
BOOT = 159, |
|
|
|
@ -115,6 +121,7 @@ enum class ErrorModule : u32 { |
|
|
|
Fatal = 163, |
|
|
|
NIMShop = 164, |
|
|
|
SPSM = 165, |
|
|
|
AOC = 166, |
|
|
|
BGTC = 167, |
|
|
|
UserlandCrash = 168, |
|
|
|
SASBUS = 169, |
|
|
|
@ -176,13 +183,22 @@ enum class ErrorModule : u32 { |
|
|
|
DP2HDMI = 244, |
|
|
|
Cradle = 245, |
|
|
|
SProfile = 246, |
|
|
|
Icm42607p = 248, |
|
|
|
NDRM = 250, |
|
|
|
Fst2 = 251, |
|
|
|
Nex = 306, |
|
|
|
NPLN = 321, |
|
|
|
TSPM = 499, |
|
|
|
DevMenu = 500, |
|
|
|
Nverpt = 520, |
|
|
|
Am_StuckMonitor = 521, |
|
|
|
Pia = 618, |
|
|
|
Eagle = 623, |
|
|
|
GeneralWebApplet = 800, |
|
|
|
WifiWebAuthApplet = 809, |
|
|
|
WhitelistedApplet = 810, |
|
|
|
ShopN = 811, |
|
|
|
Coral = 815 |
|
|
|
}; |
|
|
|
|
|
|
|
/// Encapsulates a Horizon OS error code, allowing it to be separated into its constituent fields. |
|
|
|
|