Skip to content

Compile fix for libnx 4.9.0. Update mmap with the new virtmem API.#588

Open
rwesterlund wants to merge 1 commit into
libretro:developfrom
rwesterlund:libnx-4.9.0-compile-fix
Open

Compile fix for libnx 4.9.0. Update mmap with the new virtmem API.#588
rwesterlund wants to merge 1 commit into
libretro:developfrom
rwesterlund:libnx-4.9.0-compile-fix

Conversation

@rwesterlund

Copy link
Copy Markdown

I recently set up a development environment to build RetroArch for Switch. I could not compile this core so I looked into it and made a compile fix for the latest version if you consider updating to that. I don't know which libnx version is supposed to be used to compile the current develop.

This affects the the DynaRec compiler that I am not too familiar with but because it wants to allocate executable memory I picked an appropriate alloc routine for that. I have tested it with OoT and Banjo-Kazooie (previously uncompiled) and they ran without crashes but no longer sessions yet.

@m4xw

m4xw commented Aug 25, 2025

Copy link
Copy Markdown
Collaborator

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.

2 participants