Skip to content

32X emulation - emscripten #233

@ethanaobrien

Description

@ethanaobrien

Hello all,

I've been working on trying to get 32X emulation working in the browser, however it appears to just load to a black screen (specifically 32x emulation). I've traced this back to a core issue, and after hours of digging through the program, I've came here for help.

The portion of the logs that caught my eye was particularly this section:
image

As this doesnt appear to occur on a native copy of RetroArch I've compiled.

Changes I've made so far:
Told libretro to not use mmap, since mmap location hints are not supported in emscripten.
My current emscripten target options are:

        TARGET := $(TARGET_NAME)_libretro_$(platform).bc
        ARCH = unknown

        STATIC_LINKING = 1
        STATIC_LINKING_LINK = 1

Any information leading to where I can get more logs, and what I can do to fix the issue would be appreciated.
Thank you

Edit: as a note, this is somehow possible, as there are several closed source versions of picodrive with working emscripten support (emulatorjs.com). Through some code injection I have managed to get the RetroArch/picodrive logs, and no ptr is not aliqned errors were present

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions