Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pntr: Enable UTF-8 support #173

Draft
wants to merge 7 commits into
base: dev
Choose a base branch
from
Draft
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
2 changes: 1 addition & 1 deletion cmake/FetchDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fetch_dependency("libretro-common" "https://github.com/libretro/libretro-common.
fetch_dependency("embed-binaries" "https://github.com/andoalon/embed-binaries.git" "21f28ca")
fetch_dependency(glm "https://github.com/g-truc/glm" "33b0eb9")
fetch_dependency(libslirp "https://github.com/JesseTG/libslirp-mirror.git" "44e7877")
fetch_dependency(pntr "https://github.com/robloach/pntr" "a3dc08c")
fetch_dependency(pntr "https://github.com/robloach/pntr" "23099c7")
fetch_dependency(fmt "https://github.com/fmtlib/fmt" "10.2.1")
fetch_dependency(yamc "https://github.com/yohhoy/yamc" "4e015a7")
fetch_dependency(span-lite "https://github.com/martinmoene/span-lite" "bc08bf8")
Expand Down
1 change: 1 addition & 0 deletions src/libretro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ target_compile_definitions(melondsds_libretro PUBLIC
PNTR_ENABLE_VARGS
PNTR_PIXELFORMAT_ARGB
PNTR_ENABLE_MATH
PNTR_ENABLE_UTF8
STB_IMAGE_STATIC # To avoid using any dynamically-linked STB implementations
)

Expand Down
2 changes: 1 addition & 1 deletion src/libretro/message/error.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ constexpr pntr_color TEXT_COLOR_BOTTOM = {.rgba = {.b = 0x98, .g = 0xE5, .r = 0x

static constexpr const char* const ERROR_TITLE = "Oh no! melonDS DS couldn't start...";
static constexpr const char* const SOLUTION_TITLE = "Here's what you can do:";
static constexpr const char* const THANK_YOU = "Thank you for using melonDS DS!";
static constexpr const char* const THANK_YOU = "Thank you for using melonDS DS! Θ.Θ";
RobLoach marked this conversation as resolved.
Show resolved Hide resolved

using std::span;
using MelonDsDs::NDS_SCREEN_AREA;
Expand Down
Loading