X Tutup
Skip to content

[Core] Desmume2015 [WIP] #2371

Draft
JoeMatt wants to merge 10 commits intodevelopfrom
feature/desmume2015
Draft

[Core] Desmume2015 [WIP] #2371
JoeMatt wants to merge 10 commits intodevelopfrom
feature/desmume2015

Conversation

@JoeMatt
Copy link
Member

@JoeMatt JoeMatt commented Dec 31, 2024

What does this PR do

Add Desmume2015 non-retroarch core for lite and regular.

Adds touch / mouse inputs to libretro.h wrapper

Statsu

  • Games load, video is running, and can move screens layout around
  • Buttons work
  • Touch DOES NOT work but touch events are forwarding to the libretro.h wrapper class

Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
Signed-off-by: Joseph Mattiello <git@joemattiello.com>
@JoeMatt JoeMatt added system-NDS regarding Nintendo DS [non-core specific] WIP new-core labels Dec 31, 2024
@JoeMatt JoeMatt self-assigned this Dec 31, 2024
@JoeMatt JoeMatt changed the title [Core][WIP] Desmume2015 [Core] Desmume2015 [WIP] Dec 31, 2024
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

Status Update from PR #2373 Analysis

Audited the feature/new-cores/libretrogles branch (PR #2373) vs current develop.

What PR #2373 did for Desmume2015

The PR was mostly a cleanup pass — removing 355 lines of commented-out Flycast-copied boilerplate code from PVDesmume2015Core.mm that had been incorrectly carried over from the Flycast core. The result was a much cleaner file.

What's been done on develop since then (this is the important part)

Develop has made significant progress on Desmume2015:

Current state

As of develop:

  • Dual-screen skin support is merged (Phase 1-3) — screens can resize/move
  • Touch events are forwarding to the libretro.h wrapper
  • Skins are currently disabled (d679620)
  • The virtual mouse/cursor overlay is available if touch mode needs it

What still needs doing

  1. Re-enable skins — They were disabled for a reason (likely a crash or layout bug). Needs investigation to determine what broke and fix it with the new dual-screen system.
  2. Verify touch input path — With the new supportsVirtualMouse API and the mouse cursor overlay, touch should work more reliably now. The dual-screen skin system and the touch forwarding need to be wired together.
  3. Core update — The upstream Desmume2015 code itself is old; may be worth checking if there's a newer version.

Relationship to DS dual-screen epic

Issue #2482 lists dual-screen skins as requiring native cores (Desmume2015, MelonDS) working first. With the dual-screen skin system now merged in #2612, the bottleneck has shifted back to the core touch/skin integration.

Related: #2373 (parent PR), #2482 (Core Updates epic), #3fdbdd905 (DS dual-screen skin PR)

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

Labels

new-core system-NDS regarding Nintendo DS [non-core specific] WIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

X Tutup