TASEmulators / TASEmulators/desmume

FPS drastically falls down if i use cheat code with dynamic recompiler option enabled.

Open
#369 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
3.6k
Forks
646
PR merge metrics
No merged PRs in 30d

Description

Hi,

i'm having a issue with the emulator, when i use some cheats from DeSmuME database and have the option dynamic recompiler enabled, the fps on the games drastically falls, as example, i was playing Castelvania Order of Ecclesia and when i enable infinite double jumps or infinite jumps, or other codes that alter in game option, the fps falls making the game unplayable. The same happens with Castlevania Portrait of Ruin, when i toggle the cheat infinite luck and try to change the equipment, the game almost freeze. If i turn the dynamic recompiler option off, this issue doesn't happens, but i can't play any DS roms on full fps.

I'm sending a image to exemplify the issue.
Thanks for the attention.

Beste regards.
Example

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. First reproduce the FPS drop with dynamic recompilation enabled using the reported Castlevania cheats, then trace the interaction between cheat handling and the dynamic recompiler. Done means the reported cheats no longer cause a severe slowdown while dynamic recompilation remains enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.