Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ghcr.io/wiiu-env/devkitppc:20240704
FROM ghcr.io/wiiu-env/devkitppc:20260225

COPY --from=ghcr.io/wiiu-env/libmocha:20230621 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/librpxloader:20240425 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/libmocha:20260126 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/librpxloader:20260207 /artifacts $DEVKITPRO

WORKDIR project
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ INCLUDES := source include
#-------------------------------------------------------------------------------
# options for code generation
#-------------------------------------------------------------------------------
CFLAGS := -g -Wall -O2 -ffunction-sections -fno-exceptions \
CFLAGS := -g -Wall -Werror -O2 -ffunction-sections -fno-exceptions \
$(MACHDEP)

CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__
Expand Down
5 changes: 2 additions & 3 deletions source/BootUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "logger.h"
#include <codecvt>
#include <coreinit/filesystem_fsa.h>
#include <filesystem>
#include <locale>
#include <malloc.h>
#include <memory>
Expand Down Expand Up @@ -54,9 +55,7 @@ void handleAccountSelection() {
accountInfo->slot = i;
auto result = nn::act::GetMiiNameEx(reinterpret_cast<int16_t *>(nameOut), i);
if (result.IsSuccess()) {
std::u16string source;
std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> convert;
accountInfo->name = convert.to_bytes((char16_t *) nameOut);
accountInfo->name = std::filesystem::path(nameOut).string();
} else {
accountInfo->name = "[UNKNOWN]";
}
Expand Down
7 changes: 2 additions & 5 deletions source/crt.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ void __init_wut_malloc();

void __init_wut_newlib();

void __init_wut_stdcpp();
void __init_wut_thread();

void __init_wut_devoptab();

Expand All @@ -12,8 +12,6 @@ void __fini_wut_malloc();

void __fini_wut_newlib();

void __fini_wut_stdcpp();

void __fini_wut_devoptab();

void __fini();
Expand All @@ -22,9 +20,9 @@ void __attribute__((weak)) __fini_wut_socket();

void __attribute__((weak))
__init_wut_() {
__init_wut_thread();
__init_wut_malloc();
__init_wut_newlib();
__init_wut_stdcpp();
__init_wut_devoptab();
if (&__init_wut_socket) __init_wut_socket();
}
Expand All @@ -33,7 +31,6 @@ void __attribute__((weak))
__fini_wut_() {
__fini();
__fini_wut_devoptab();
__fini_wut_stdcpp();
__fini_wut_newlib();
__fini_wut_malloc();
}
2 changes: 1 addition & 1 deletion source/utils/SplashSoundPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void SplashSoundPlayer::Play() {

std::span<uint8_t> audioBufferIn(mBuffer.data() + 8, mBuffer.size() - 8);

DEBUG_FUNCTION_LINE("Got audio buffer from foreground bucket @ %8.8x len = %d", audioBuffer, audioBufferLen);
DEBUG_FUNCTION_LINE("Got audio buffer from foreground bucket @ %p len = %d", audioBuffer, audioBufferLen);
if (audioBufferLen < mBuffer.size()) {
DEBUG_FUNCTION_LINE_ERR("buffer not big enough");
return;
Expand Down
2 changes: 1 addition & 1 deletion source/utils/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ static BOOL initBucketHeap() {

sGfxHeapForeground = MEMCreateExpHeapEx(base, size, 0);
if (!sGfxHeapForeground) {
DEBUG_FUNCTION_LINE_WARN("%s: MEMCreateExpHeapEx(0x%08X, 0x%X, 0)", __FUNCTION__, base, size);
DEBUG_FUNCTION_LINE_WARN("%s: MEMCreateExpHeapEx(0x%p, 0x%X, 0)", __FUNCTION__, base, size);
return FALSE;
}

Expand Down
Loading