Skip to content

err: Add err implementation - #74

Open
Fuzzy2319 wants to merge 11 commits into
open-ead:masterfrom
Fuzzy2319:err
Open

err: Add err implementation#74
Fuzzy2319 wants to merge 11 commits into
open-ead:masterfrom
Fuzzy2319:err

Conversation

@Fuzzy2319

@Fuzzy2319 Fuzzy2319 commented Jul 31, 2026

Copy link
Copy Markdown

This PR add err implementation.

Abort messages come from the MK8DX SDK. I still need to find when these messages were removed.

I still need to check some functions but most of them are "matching", I used Odyssey decomp compiler to compile the code and ghidra to check the asm

file(GLOB_RECURSE SOURCES_SDK CONFIGURE_DEPENDS ${PROJECT_SOURCE_DIR}/lib/NintendoSDK/include/*.h ${PROJECT_SOURCE_DIR}/lib/NintendoSDK/include/*.hpp ${PROJECT_SOURCE_DIR}/lib/NintendoSDK/src/NintendoSDK/err/*.cpp)
add_executable(sdk ${SOURCES_SDK})
target_compile_options(sdk PRIVATE -fno-exceptions)
target_compile_options(sdk PRIVATE -Wall -Wextra -Wdeprecated)
target_compile_options(sdk PRIVATE -Wno-unused-parameter -Wno-unused-private-field)
target_compile_options(sdk PRIVATE -fno-strict-aliasing)
target_compile_options(sdk PRIVATE -Wno-invalid-offsetof)
target_compile_options(sdk PRIVATE -Wshadow)
target_compile_options(sdk PRIVATE -Woverloaded-virtual)
target_link_libraries(sdk PUBLIC NintendoSDK)

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant