Commit Graph

3846 Commits

Author SHA1 Message Date
owomomo b114ba4f4d
Merge pull request #8 from TASVideos/master
Sync code to the newest
2019-06-10 17:15:38 +08:00
owomomo faf6289c12
Merge pull request #7 from TASVideos/master
Sync code to the newest
2019-06-10 17:12:54 +08:00
owomomo 9369bed6ec New feature: iNES head editor 2019-06-10 14:27:57 +08:00
zeromus 7047a998fa
Merge pull request #53 from owomomo/master
Attempt to fix Issue #52
2019-06-06 13:34:59 -04:00
zeromus bf372552bc fix overflowing buffer made worse by 0d26e6f or possibly created by that commit. fixes #30 better.
the debugger was replacing comments and names inside a buffer returned from the old portable disassembly function, which was returning a privately retained 64 byte buffer. previously names were limited to 30 characters, so it's possible expanding names in disassembly never blew that buffer.

testing of the 0d26e6f commit either stressed it harder than ever before, or hard enough to break it for the first time

solved by copying the disassembly buffer into a new buffer for expanding address labels to names, etc
2019-06-06 13:33:45 -04:00
owomomo 959c94fcdf Attempt to fix Issue #52 2019-05-23 18:59:30 +08:00
CaH4e3 5dc4f288a3
Merge pull request #51 from owomomo/master
Updated some features of Cheat Dialog
2019-05-11 21:43:29 +03:00
owomomo 91c408468a Attempting to fix Issue #43. 2019-05-11 00:06:43 +08:00
owomomo a680d67fa1
Fix weird compile error.
it's quite strange that the macro define missed a line feed.
2019-05-10 19:18:30 +08:00
owomomo b93ea26b32 1. Since the radio switch is not quite necessary in cheat window, I canceled it to freely edit style.
2. After some nightly consideration, I decided to remove some unused resource IDs from resource file, some of them were obseleted, renamed, mistyped or temporary, currently nothing was corrupted...
3. Detail.
2019-05-10 18:53:41 +08:00
owomomo c927728736 1. Since the radio switch is not quite necessary in cheat window, I canceled it to freely edit style.
2. After some nightly consideration, I decided to remove some unused resource IDs from resource file, some of them were obseleted, renamed, mistyped or temporary, currently nothing was corrupted...
3. Detail.
2019-05-10 18:47:24 +08:00
owomomo 0713de844c 1. New cheat list box 0.0.0.4 Alpha, separated the normal cheat adding method and the cheat code/game genie method. While you're inputting the values, they are synced to the formatted string which is very convinience. In the past, the game genie was added from the name edit control, now the name is separated and the code can have a name even if it's a game genie.
2. Solved a problem of the add/editing watch dialog when pop up repeatedly from multiple places, because there are 3 places can pop up it now.
3. Fixed a bug when loading cheats from file crashes the emulator.
4. Detail.
2019-05-10 02:17:16 +08:00
owomomo 07f0c1af2c 1. Fix go to hex editor in possiblilities list doesn't select the address.
2. Detail.
2019-05-08 21:05:43 +08:00
owomomo 885bc1e889 1. Fix freeze ram in Hex Editor doesn't refresh the related window.
2. detail
2019-05-08 17:24:45 +08:00
owomomo 9adcbf16cb 1. Fix crash when add multiple watches in RAM Search window, and adding multiple watches here can be batch named.
2. New cheat list box 0.0.0.3 Alpha, changed the possibilities box to a CListCtrl rather than a simple CListBox, use a map for its buffer. It may not quite efficient currently, but I personally think it's much better than adding and deleting the items repeatedly every frame, and now its item can be selected while emulation is running, although there's not much usage for this...
3. added several context menus to possible list, now you can directly add address to memory watch or ram watch, or go to hex editor from here, currently it's still a single select list.
2019-05-08 13:55:53 +08:00
owomomo f0859ce1e3 detail 2019-05-02 03:15:57 +08:00
owomomo a3280d664d 1. New cheat list box 0.0.0.1 alpha, changed the toggle cheat from double click to selecting checkboxes in the item. It can show the code and name in the same time.
2. Fixed an ancient bug of cheat dialog that importing new cheats makes old existing cheats uneffective.
3. Restructured some cheat searching type to macros since the meaning of the mysterious number is unclear. Maybe the switch case was more efficient than if else... or not?
4. Use a temporary variable rather than a global one to indicate whether the null file pointer is cased by user clicking the cancel or close button of the open archive dialog or a loading error.
5. When recording a movie with cheats, show warning to the user and asking for disabling them.
6. Removed some seems like unused variables, hope this didn't break compiling crossing platforms.
2019-05-02 03:13:05 +08:00
owomomo 9f0459731a
Merge pull request #6 from TASVideos/master
Update code to the newest
2019-04-29 13:58:10 +08:00
g0me3 fecfd0ea42 update to prev, nw 2019-04-27 21:40:48 +03:00
g0me3 60b314feb3 vrc5 mapper update, prepare to add extra ppu render for it
cheats.cpp int converions warnings fix
change default tool index for vc project. if you have problem with it, feel free to revert. but i can't compile with just "8.1" in there sadly...
2019-04-27 21:35:59 +03:00
CaH4e3 3270461703
Merge pull request #49 from chrisledet/cl/web-link-update
Update commit browser link on home web page
2019-04-27 21:15:51 +03:00
CaH4e3 63ffafa0a2
Merge pull request #50 from owomomo/master
Use a better look for the separator in RAM watch.
2019-04-27 21:15:13 +03:00
owomomo cb5ff1bcea
Merge pull request #5 from TASVideos/master
Sync the code to the newest
2019-04-24 13:34:50 +08:00
zeromus 0d26e6fcd9 change NL_MAX_NAME_LEN to 1000 (see github #30) 2019-04-23 17:11:40 -04:00
owomomo c4b4292a12 When edited a RAM watch item, it is in the original place rather than jump to the last one. 2019-04-24 03:13:20 +08:00
owomomo 43f2862127 Disable add cheat button for separator. 2019-04-20 21:04:34 +08:00
owomomo da99ce1894
detail 2019-04-20 19:15:04 +08:00
owomomo e7f4393fcc detail 2019-04-20 18:49:21 +08:00
owomomo 206cb06f47 Cache some item drawing related data and objects to prevent calculate them repeatedly when drawing.
Changed the watch list to a map for future developments.
2019-04-20 18:12:03 +08:00
owomomo 74853a83fb
Hotfix crash bug when load .wch file 2019-04-18 20:46:04 +08:00
owomomo 993b6fbb2c Use a better look for the separator in RAM watch.
There are still many disadvantages, the list is not efficient enough since the separator needs too much calculation, when there are too many separators, the watchlist maybe slow.
I think some of their data can be stored in some map or list for fast accessing in the future development, since they don't requires calc every time.
2019-04-18 00:41:21 +08:00
CaH4e3 247a6f4640
Merge pull request #48 from Dwedit/BUSC_fix
Remove the BUSC tag from datalatch mappers
2019-04-12 23:58:46 +03:00
Chris Ledet 8854ee7c9d
update commit browser link on home web page 2019-04-11 00:41:06 -07:00
Dwedit 5d96c96cb4 For datalatch mappers, remove the BUSC tag from savestates to prevent the bus conflict status from another game to override the current game. 2019-04-10 13:29:17 -05:00
owomomo a9a027940b resolve conflicts 2019-04-07 03:41:36 +08:00
owomomo 7901de120a ... 2019-04-07 03:38:13 +08:00
CaH4e3 0eed8fa234
Merge pull request #47 from owomomo/master
Some features for RAM search and watch.
2019-04-05 21:55:08 +03:00
owomomo 07e14fd26f
Update res.rc 2019-04-06 02:14:52 +08:00
owomomo 8f5cfcb9b5
Update ram_search.cpp 2019-04-06 02:09:05 +08:00
owomomo 99636689d7 1. Mark cheat affected address range in RAM search and RAM watch.
2. RAM Watch now can give separator a name.
3. Reconstruct watch manage logic, removed IDD_PROMPT.
2019-04-06 00:41:35 +08:00
owomomo 3f6475c268 ... 2019-04-03 00:48:30 +08:00
owomomo 85c77109c0 1. Use different background color for addresses affected by cheats in RAM Search.
2. Fix nothing was checked in the View menu when Hex Editor first launch.
3. Fix when Hex Editor is open, disabling all cheats in replay doesn't refresh the freezed addresses.
2019-04-02 23:11:46 +08:00
CaH4e3 59abf58a61
Merge pull request #44 from owomomo/master
Fix Ram search bug
2019-04-01 09:26:05 +03:00
owomomo 19d8e8ffbb
Merge pull request #4 from TASVideos/master
VRC7 patch set is finally properly dumped
2019-04-01 01:04:32 +08:00
owomomo c2b39fdf3f 1. Fix cheat column in the list of RAM Search dialog show the wrong number.
2. Some mysterious things:
In RAM Search, when the Data size was set to 4 Bytes, the value in the list was changed to 4 bytes but the gap of the items is still 2 bytes. I'm unclear it's an old bug or intentional, since some of the macros are used in comparison, they describe the template of the function as a short even in 4 bytes situation, but that might not compare 4 bytes value correctly.
2019-04-01 00:58:23 +08:00
Brad Smith 45dcb3e242
VRC7 patch set is finally properly dumped 2019-03-22 12:58:34 -04:00
owomomo 68993285f8 Fix shortcut key bug. 2019-03-22 14:47:26 +08:00
owomomo b6518a038c
Merge pull request #3 from TASVideos/master
Update code to the newest
2019-03-21 22:42:46 +08:00
zeromus f9094a4655 fix savestate.create(integer)
maybe fixes #41 (not sure)
2019-03-18 00:26:26 -04:00
zeromus 3a14fc724c fix merge conflict 2019-03-18 00:14:12 -04:00