Homebrew development oriented fork of Mesen-S - a cross-platform (Windows & Linux) SNES emulator built in C++ and C#. Deprecated; see https://github.com/SourMesen/Mesen2/
I have ported over the cheat finder from Mesen-X to Mesen-SX. It is mostly a faithful port, but there are some notable changes:
Added support for finding 16 bit values
Added toggle to switch between decimal and hex input/value displaying
Added "add to watch" button
Some improvements that could still be made at a later point:
Support for other memory than just WRAM (like SRAM)
Support for 24/32 bit values
Make "add to watch" open a watch window if none is open (either debugger or dedicated window)
Add a window size minimum, since the cheat finder doesn't work well with small windows
There are probably some efficiency improvements that can be made, but from my experience it's performant enough (spamming a lot of non-useful filters results in slow down, but that's to be expected)
Gameboy support
One thing to note is that I don't have access to Visual Studio (I use Linux), so the Designer forms have been created/changed manually. Comments have been applied, noting this for the relevant files.
[Bonus bugfix] I experienced a small bug where deleting labels in the debugger resulted in an Exception when the label form was horizontally scrolled. Deleting a few lines of code in UI/Debugger/Labels/ctrlLabelList.cs fixed the issue for me, but since it might be a Mono issue, I recommend to test on Windows too, to see if it didn't break anything. :)
Closes #11
I have ported over the cheat finder from Mesen-X to Mesen-SX. It is mostly a faithful port, but there are some notable changes:
Some improvements that could still be made at a later point:
One thing to note is that I don't have access to Visual Studio (I use Linux), so the Designer forms have been created/changed manually. Comments have been applied, noting this for the relevant files.
[Bonus bugfix] I experienced a small bug where deleting labels in the debugger resulted in an Exception when the label form was horizontally scrolled. Deleting a few lines of code in
UI/Debugger/Labels/ctrlLabelList.cs
fixed the issue for me, but since it might be a Mono issue, I recommend to test on Windows too, to see if it didn't break anything. :)