Skip to content

Bug of cheat function - #2740

Open
victorwon2001 wants to merge 1 commit into
melonDS-emu:masterfrom
victorwon2001:fix/issue-2597
Open

Bug of cheat function#2740
victorwon2001 wants to merge 1 commit into
melonDS-emu:masterfrom
victorwon2001:fix/issue-2597

Conversation

@victorwon2001

Copy link
Copy Markdown

Fixes #2597

Summary

Prevent category and AR code self-drops from reusing a std::list iterator invalidated by erase(). The destination iterator is advanced only when it points at the item being moved, preserving existing reorder and cross-parent behavior.

Testing

The melonDS target builds successfully and the final diff passes whitespace validation; the built executable also starts successfully. The interactive cheat drag/drop flow was not manually exercised because it requires a loaded ROM and cheat dialog.

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.

Bug of cheat function

1 participant