fix: add Module 56 error support and improve error handling

- Add Module56 to ErrorModule enum for error code 2056-2306
- Add Module 56 error handling in fatal error reporting
- Define Module 56 error codes in ldn_results.h
- Improve error reporting for unknown modules

This allows the emulator to properly handle error code 2056-2306
reported by Minecraft and other games, preventing undefined
behavior when encountering unknown module errors.

Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
Zephyron
2025-11-13 20:14:04 +10:00
parent 19faff40cd
commit a1b317a15e
3 changed files with 27 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ enum class ErrorModule : u32 {
TIPC = 35,
ANIF = 37,
Module38 = 38, // Unknown/Undefined module - stubbed for multiplayer compatibility
Module56 = 56, // Unknown/Undefined module - reported by some games
CRT = 39,
ETHC = 100,
I2C = 101,