Matthew Budd
1ace69f5f9
Updated cheat list tree view to update entry fields when a line in the tree is selected with corresponding to the selected lines data.
2020-05-31 14:53:54 -04:00
Matthew Budd
51be2877ef
Added logic to set registers via text entry boxes prior to running new instructions in debugger window.
2020-05-31 14:28:49 -04:00
Matthew Budd
8a0165f54b
changed unimplemented functions on debugger window to be have insensitive widgets for now.
2020-05-31 13:53:07 -04:00
Matthew Budd
acbd2cf3c8
Added logic to debugger to make breakpoint edit/delete button sensitive only when a breakpoint is selected in the tree view.
2020-05-31 13:48:58 -04:00
Matthew Budd
358a2309db
Created separate debug menu for debugger and hex editor on main window.
2020-05-31 10:11:52 -04:00
Matthew Budd
34e8afe39d
Bug fix for memory view window when handling large ROM displays.
2020-05-31 06:48:37 -04:00
Matthew Budd
9eab3f9e5d
Added logic to sync memview activity coloring menu options at startup.
2020-05-30 19:44:30 -04:00
Matthew Budd
8c04403062
Added logic to allow for configurable coloring on memory view window.
2020-05-30 17:20:06 -04:00
Matthew Budd
b7877f1a5e
Added configurable fore and back ground color picking for memview window.
2020-05-30 11:26:36 -04:00
Matthew Budd
a92874a5b6
Added logic to sync memory last pass values at startup.
2020-05-29 17:19:44 -04:00
Matthew Budd
7500446b2c
Changed memory buffer setup to allow for color and activity data to be stored for each address.
2020-05-29 16:53:20 -04:00
Matthew Budd
6e33c48a1f
Added memory view highlight activity coloring. Still TODO, add logic to switch colors in menu.
2020-05-29 15:00:33 -04:00
Matthew Budd
d362161269
Added logic to only allow select key presses through to the textview widget on the debugger window.
2020-05-29 09:30:07 -04:00
Matthew Budd
5e0cbc1cbc
Improved logic for hex editor button inputs.
2020-05-29 09:24:28 -04:00
Matthew Budd
0d9b9254ff
memory viewer (hex editor) window viewport calculation improvement. Much more accurate and efficient than previous.
2020-05-29 06:52:53 -04:00
Matthew Budd
4c3bf6cf6c
Removed automatic condition insertion on asm debug breakpoint entry window.
2020-05-28 21:57:40 -04:00
Matthew Budd
05de1a8356
Added PPU data display to debug window.
2020-05-28 21:54:14 -04:00
Matthew Budd
7d08906a89
Efficiency fixes for the debugger asm text view window.
2020-05-28 21:30:12 -04:00
Matthew Budd
d15623b7e6
Added logic to seek the PC on the debug window every time a breakpoint is hit.
2020-05-27 06:46:20 -04:00
Matthew Budd
27e326ce90
Added seek to PC and seek to Addr logic.
2020-05-27 05:48:38 -04:00
Matthew Budd
64444129c3
Added callback functions for editing break cycle/instruction limit text fields
2020-05-25 20:44:39 -04:00
Matthew Budd
20af463419
Added a few hooks for break on cycles, instructions and bad opcode checkboxes. Still TODO add break cycle/instruction limit set logic.
2020-05-25 20:28:42 -04:00
Matthew Budd
41e1bdc592
Added logic to context menu to prefill breakpoint add popup.
2020-05-25 20:06:16 -04:00
Matthew Budd
db17dc06e6
Added logic to capture asm list.
2020-05-25 09:28:22 -04:00
Matthew Budd
c50b5581d6
Added logic to sync breakpoint edit window parameters to actual state upon opening.
2020-05-25 08:11:01 -04:00
Matthew Budd
2755c9cdb2
Added logic to allow for use of a enable checkbox to next to each breakpoint in the list
2020-05-24 21:31:29 -04:00
Matthew Budd
9f009a1850
Successful test of basic debugger functions.
2020-05-24 21:10:10 -04:00
Matthew Budd
613dd479d4
Added logic to set values for debugger window register displays.
2020-05-24 12:50:13 -04:00
Matthew Budd
df236e3628
Added framework for breakpoint add/edit window.
2020-05-24 11:06:31 -04:00
Matthew Budd
4c199ef4fe
Added initial framework for debugger window.
2020-05-23 23:25:28 -04:00
Matthew Budd
69790db498
Initial framework for debugger window in work.
2020-05-23 22:37:31 -04:00
Matthew Budd
40379a32dc
Added a memory write boundary protection in the ram watch window to prevent users from writing into ROM memory area.
2020-05-23 16:28:43 -04:00
Matthew Budd
c46d3e2a9d
Added logic to clear edited row and column indices on null pointer error in RAM watch window.
2020-05-23 16:22:56 -04:00
Matthew Budd
484f299107
Added a NULL check to prevent crash in RAM watch window.
2020-05-23 16:20:40 -04:00
Matthew Budd
11d02a31c4
Added logic in memview window to make set address and value entry windows exit on an enter key press.
2020-05-23 16:09:14 -04:00
Matthew Budd
6947f2bd05
Bug fix for GUI initialization with a specified game on the command line. Sometimes the X-server needs a little more time to initialize the window. Added a short 0.1 sec usleep at startup to give X the time it needs. A few more cppcheck warning fixes made as well.
2020-05-23 15:08:03 -04:00
Matthew Budd
04a4b6de74
Added more functionality to the memview window. Now can view all memory types. New context menu allows for seeking to a new location by address, poking memory locations, and jumping from RAM to ROM.
2020-05-23 14:56:42 -04:00
Matthew Budd
9ac2803533
Added logic to get NES ROM address from RAM location for context menu.
2020-05-22 09:30:16 -04:00
Matthew Budd
b731245171
Added a few context menu items. TODO create callback functions for them
2020-05-22 09:19:45 -04:00
Matthew Budd
475464cca2
Added logic to display a label showing the address of the cursor selected memory location in hex editor.
2020-05-22 09:00:07 -04:00
Matthew Budd
c05c85bcfd
Added popup context menu framework for memview.
2020-05-21 22:07:10 -04:00
Matthew Budd
364ae8c689
Added callback for context menu on memview window.
2020-05-20 21:48:39 -04:00
Matthew Budd
5db17d7913
Cleaned out treeview logic in favor of text view. Text view is much more efficient.
2020-05-19 01:00:14 -04:00
Matthew Budd
284a787104
bug fix for memory poke logic.
2020-05-19 00:51:03 -04:00
Matthew Budd
fe4d1f85af
Successful test of poking into RAM with hex editor in text view.
2020-05-19 00:30:24 -04:00
Matthew Budd
41cfd69fe2
Successful display of memview.
2020-05-19 00:03:30 -04:00
Matthew Budd
267966b0b3
Text View hex editor in work.
2020-05-18 22:03:58 -04:00
Matthew Budd
6460a3035b
Tree view inner / outer slider functions but is not ideal. Going to try out text view object instead.
2020-05-18 08:29:05 -04:00
Matthew Budd
90482feac8
Memview successful initial test, but performance is slightly lacking. Going to change tree view logic.
2020-05-17 11:36:55 -04:00
Matthew Budd
3c10dcc1fd
Added logic to allow for writing into memory via the mem view hex editor.
2020-05-16 23:50:58 -04:00
Matthew Budd
5834dd3661
Added memory view window framework. Still TODO memory poke functionality.
2020-05-16 22:17:24 -04:00
Matthew Budd
9dcad0b211
Bug fix for gamepad configuration when using keyboard inputs.
2020-05-16 18:50:29 -04:00
Matthew Budd
c7f9a4257a
Bug fixes for screen sizing at startup with a ROM specified on the command line.
2020-05-16 15:06:40 -04:00
Matthew Budd
74923eaccc
Removed static hotkey string array from global header and added an accessor function.
2020-05-16 13:16:24 -04:00
Matthew Budd
26f36da7e7
Another bug fix for gamepad config loading at startup, the first fix was in the wrong place. Removed static video variable from header.
2020-05-16 11:13:24 -04:00
Matthew Budd
00e316b521
Bug fix for loading gamepad config at startup.
2020-05-16 10:40:57 -04:00
Matthew Budd
01c60c4dc1
Bug fix for displaying button names when reloading gamepad config window.
2020-05-16 10:14:37 -04:00
Matthew Budd
e5e02e20f4
Bug fix for gamepad key name display when calibrating buttons.
2020-05-16 09:47:13 -04:00
Matthew Budd
b63772b774
Removed debug print statement.
2020-05-16 09:19:25 -04:00
Matthew Budd
c3e4db0faa
Hotkey selected state cleanup. Sync gui menu selected state when state changes occur via hotkeys. Removed deprecated gtk widgets from sdl/input.cpp.
2020-05-16 09:09:36 -04:00
Matthew Budd
172dffec55
Changed window size variables in gui to be static as their is no reason to export them to the linker.
2020-05-15 17:08:13 -04:00
Matthew Budd
5173b85ac1
Added logic to check if the screen size has actually changed in the window configure event callback. Do not reset video is screen size is the same. This prevents annoying screen flickering during transitions to/from full screen mode.
2020-05-15 17:02:33 -04:00
Matthew Budd
bcbac77084
When a lua script is provided on the command line with the --loadlua option. Added code to always resolve any relative file path to an absolute as the lua core changes the current working directory which then invalidates the relative pathing from where the current working directory was at the time the program had initially been started.
2020-05-14 23:47:57 -04:00
Matthew Budd
87d3db2406
Added screen dimension limits. Added some debug statements to pipeline script.
2020-05-14 18:16:04 -04:00
Matthew Budd
1ba5929ea2
Modified screen display logic to always center image in the center of the window.
2020-05-14 09:16:09 -04:00
Matthew Budd
9f615d6f81
Found a better way to clear the screen to a black background.
2020-05-14 07:55:06 -04:00
Matthew Budd
c702a86b67
commented out window configure print statements.
2020-05-13 22:00:00 -04:00
Matthew Budd
575e090aff
Ran indent program on new cheat and ramwatch cpp files to apply hard tabs.
2020-05-13 21:13:22 -04:00
Matthew Budd
699069b7ee
Ran indent program to gui.cpp to re-apply hard tabs.
2020-05-13 21:07:31 -04:00
Matthew Budd
7ac726d415
Replaced deprecated gtk_key_snoop function with standard gtk key press/release event handling functions.
2020-05-13 09:24:31 -04:00
Matthew Budd
48bbec8fba
Added logic to clear screen to black during startup and if a screen configure event occurs and no game is loaded.
2020-05-13 09:00:07 -04:00
Matthew Budd
42233b0425
Removed unused global window symbol for hotkey gui window
2020-05-13 08:36:35 -04:00
Matthew Budd
c45c6c00cf
Removed old menu comments from gtk gui.
2020-05-13 08:33:55 -04:00
Matthew Budd
61f55f3e28
Ensure that pallette variable has been freed before attempting malloc a new heap.
2020-05-12 22:45:08 -04:00
Matthew Budd
9583c0fbdd
A few more bug fixes for the ram watch window.
2020-05-12 22:39:03 -04:00
Matthew Budd
57561ad563
Moved RAM watch window logic to its own separate file.
2020-05-12 22:13:22 -04:00
Matthew Budd
309cb00f93
Moved cheat window code to its own file. Created a cheat window class object to better manage multiple instances of the cheat window.
2020-05-12 20:14:11 -04:00
owomomo
2024d321b7
1. The description of the bookmarks in Hex Editor can be edited instead of delete and add again.
...
2. When click close button of the bookmark name window, the operation can be canceled.
3. Detail.
2020-05-12 17:25:23 +08:00
Matthew Budd
754e621735
Bug fixes for gtk hot key config window.
2020-05-11 00:47:31 -04:00
Matthew Budd
dfd236c9d1
Fixed gtk window gui resizing logic. Can now resize by dragging the corners of the window with the mouse as well as through the vidio menu.
2020-05-10 23:38:36 -04:00
Matthew Budd
d6a798962c
Removed deprecated gtk_widget_modify_bg.
2020-05-10 17:29:14 -04:00
Matthew Budd
bfaf429664
Removed deprecated GTK_STOCK usages.
2020-05-10 17:11:15 -04:00
Matthew Budd
d87d5b2271
Fixed & character usage in authors string text in about window.
2020-05-10 16:42:45 -04:00
Matthew Budd
73a4efcad9
Finished reworking main menu.
2020-05-10 16:40:28 -04:00
Matthew Budd
81b9555ad0
Finished updating emulation menu to new non-deprecated widgets.
2020-05-10 16:24:44 -04:00
Matthew Budd
ee35a5bab4
Updated options sub menu.
2020-05-10 15:32:32 -04:00
Matthew Budd
89895fdd18
Finished File menu of main menu bar.
2020-05-10 14:59:49 -04:00
Matthew Budd
af36752585
Working on removing deprecated main menu and replacing with non-deprecated functions.
2020-05-10 11:17:59 -04:00
Matthew Budd
5a74646bb5
Removed use of deprecated gtk_alignment widgets
2020-05-10 10:18:57 -04:00
Matthew Budd
260b45273e
Swapped out deprecated gtk table in favor of gtk grid on game pad configure window.
2020-05-10 09:54:25 -04:00
Matthew Budd
b68aff598e
Fixed a few more deprecated gtk function usages.
2020-05-09 21:00:51 -04:00
Matthew Budd
6ab46618fc
Replaced a few more deprecated gtk function calls for their newer variants.
2020-05-09 20:47:47 -04:00
Matthew Budd
7610dea7fb
Removed deprecated UI manager from the ram watch menu. Ram watch menu is now created by raw gtk functions.
2020-05-09 20:35:15 -04:00
Matthew Budd
3231589d25
Changed out depricated gtk_hbox_new and gtk_vbox_new in favor of gtk_box_new
2020-05-09 16:42:34 -04:00
Matthew Budd
fcf8f57085
Changed memory tree views to use monospace and have vertical dividers for columns.
2020-05-09 10:36:55 -04:00
Matthew Budd
f4985e4add
Merge branch 'master' into linux-cheats
2020-05-09 09:32:10 -04:00
Matthew Budd
3f2ab57a20
Merge branch 'master' of https://github.com/TASVideos/fceux into development
2020-05-09 09:23:28 -04:00
Matthew Budd
77471eb1a0
Merge branch 'development' into linux-cheats
2020-05-08 23:55:29 -04:00
Matthew Budd
70a804e90f
Fixed a few code errors identified by cppcheck static code analyzer.
...
Fixed incorrect error handling of realloc function to prevent memory leak.
Fixed a few uninitialized local stack variables.
Changed (1 << 31) to (1u << 31) to fix error stating that a signed 32 bit integer shifted by 31 bits can result in undefined behavior.
2020-05-08 23:30:31 -04:00
Matthew Budd
305e8b58e8
Added memory write functionality to RAM watch window.
2020-05-07 23:25:33 -04:00
Matthew Budd
27cbbdf534
Added logic to load/save RAM watch files.
2020-05-07 21:31:55 -04:00
Matthew Budd
c901c7273d
Added directly cheat list cell editing functionality to gtk GUI.
2020-05-07 09:49:03 -04:00
Matthew Budd
b4f4f816d7
Added logic to allow for RAM watch display updates to be non-destructive.
2020-05-06 09:00:53 -04:00
Matthew Budd
4490f650f1
RAM watch entry window bug fixes.
2020-05-06 08:36:08 -04:00
Matthew Budd
ab5d3f5f14
Successful view of memory in ram watch window. Still TODO, added rest of button functionality.
2020-05-06 00:17:59 -04:00
Matthew Budd
19deda1314
Added initial framework for RAM watch window.
2020-05-05 23:08:50 -04:00
Matthew Budd
d1fd5a8e2d
A few bug fixes while testing the cheat window.
2020-05-05 20:42:25 -04:00
Matthew Budd
45d88df6b0
Hooked up cheats pause while window active function.
2020-05-05 19:56:38 -04:00
Matthew Budd
30aec1e534
Added cheat modification via update button logic.
2020-05-05 08:18:41 -04:00
Matthew Budd
7bc778fd0e
Added active toggle functionality to cheat list window.
2020-05-05 08:06:08 -04:00
Matthew Budd
d081c68db3
Successful loading of cheat codes from file via cheat window.
2020-05-05 00:18:15 -04:00
Matthew Budd
add91354de
Successful test of Add, remove, and update functions to the active cheat list.
2020-05-04 23:50:33 -04:00
Matthew Budd
37bb110601
Added file chooser function for loading cheats from file.
2020-05-04 22:01:15 -04:00
Matthew Budd
52cc2629eb
Successful initial test of cheat search functionality.
2020-05-04 21:42:56 -04:00
Matthew Budd
7416ad2fdb
Added initial layout for gui cheat window.
2020-05-03 16:29:28 -04:00
CaH4e3
d89ead783e
Merge pull request #98 from owomomo/master
...
Add Multiple RAM Watches At Once In Edit Watch Window
2020-05-03 22:28:19 +03:00
CaH4e3
12667209de
Merge pull request #110 from bbbradsmith/toosmall_chrram
...
CHR size < 1k allows NES program to corrupt memory
2020-05-03 22:27:44 +03:00
Matthew Budd
9844caf69d
Bug fix for command line game genie enable logic with linux based gtk GUI. GUI was forcing game genie to disabled at startup which was overriding command line selection. The GUI logic has been fixed to sync the state of menu game genie toggle box to the desired startup configuration of game genie.
2020-05-02 19:57:11 -04:00
bbbradsmith
2cdb283a64
iNES_Init error reporting
2020-05-02 00:42:44 -04:00
bbbradsmith
e8597862f1
CHR size < 1k allows NES program to corrupt memory because VPage is 1k granularity
...
returning 0 from iNES_Init is not ideal, error is "unsupported mapper" but at least it's an error
also adding CHRmask1/2/4/8 fallback, not sure if needed but looks suspicious for <8k
2020-05-02 00:20:44 -04:00
zeromus
16a965d15c
oops, had that backwards (re #106 )
2020-04-14 18:09:09 -04:00
zeromus
fadb200856
in 01dfbf5afa
I broke the disable-sprite-in-leftmost-8-pixels part of the oldppu. this fixes it. fixes #106
2020-04-14 16:44:45 -04:00
g0me3
5d872472ef
- N106 sound issue requested fix, see comments
...
- new inex 2.0 mapper 406 added without flash support though
- dpcm data log now does proper memory area logging (not worth actually, always be like C000 lol)
2020-04-09 20:54:05 +03:00
owomomo
5d7c3a6631
Merge pull request #18 from TASVideos/master
...
Update code to the newest
2020-02-23 10:22:00 +08:00
bbbradsmith
747fba7711
Virtual Boy controller forgot signature bit 14
2020-02-08 15:58:24 -05:00
bbbradsmith
b22753762f
Virtual Boy controller support
2020-02-08 15:58:24 -05:00
owomomo
7a278b10a8
RAM Watch: Adding multiple watches in the dialog, when adding multiple watches from other window, the watches is also in the address edit control.
...
I realized that the watch operation need to be decoupled from the RAM Watch list, but things seem get too complicated, hoping this is not get even worse.
2020-02-05 22:56:30 +08:00
owomomo
a9c4bc9592
1. Trying to find a more efficient way to know which byte has a cheat. Since the cheat map occupies a lot of memory, I decided to make it only exists when necessary.
...
2. Reorganized some codes.
2020-02-01 16:51:33 +08:00
owomomo
c3d0d40aa6
Trying to find a more efficient way to know which byte has a cheat. It might be memory cost but it's 2020.
2020-02-01 01:00:34 +08:00
owomomo
c830d2cc7d
...
2020-01-31 20:13:41 +08:00
owomomo
935cdaf178
Merge pull request #17 from TASVideos/master
...
Sync code to the newest
2020-01-31 19:46:54 +08:00
Devine Lu Linvega
f83e488a65
Fixed type in lua-engine.cpp ( #95 )
2020-01-30 18:26:52 -05:00
g0me3
fb8d46d969
fix for cdl sram logging hack crashes nsf logging ( fixed #94 )
2020-01-29 20:44:49 +03:00
g0me3
18165938d4
preliminary, basic hookup of Family Network System base board + MMC1 cassette emulation
2020-01-16 21:33:37 +03:00
g0me3
4fe5da841c
forgot to remove debug code
2020-01-12 17:07:23 +03:00
g0me3
db003f841d
fixed #90 (debug breakpoint missing if conditions used)
2020-01-12 16:56:37 +03:00
g0me3
e43fe75b67
forgot to upload file
2020-01-04 13:48:32 +03:00
g0me3
6abfe09caf
Famicom Network System controller added
...
misc fixes to mappers
2020-01-04 13:16:54 +03:00
dinkc64
0b4be4b639
fds.cpp: new fds image handling, fixes saving issues with some games (Bubble Bobble, Super Lode Runner II, ...)
2019-12-16 00:45:14 -05:00
bbbradsmith
c4ee998148
zapper control from lua
2019-12-15 15:31:09 -05:00
Andypro1
ed4f5d0000
Moved lua memory_writebyte() to legacymemory_writebyte() and changed the memory_writebyte() implementation to avoid the legacy cheat engine code. ( #67 )
2019-11-22 23:29:25 -05:00
Brad Smith
88d7f392a9
MMC5 arbitrary WRAM size support via iNES 2 ( #84 )
2019-11-22 23:22:08 -05:00
Brad Smith
fbabd180eb
restore symbolic addresses for debugger
...
some of the debugger addresses should not be filtered, as strings can be used like NMI, RST, IRQ, LOAD, INIT, PLAY, NMI1, NMI2, NMI3
2019-11-10 21:10:40 -05:00
Brad Smith
5c8421d410
Palette mirror fix ( #81 )
...
* ppuview and memview fixes for palette mirroring
* New PPU $2001 rendering off palette mirroring fixed
2019-11-08 00:03:31 -05:00
g0me3
25c0b96c30
mapper 547 (ines 2.0 version of KONAMI-QTAi UNIF board)
2019-10-25 20:52:08 +03:00
owomomo
829c07bc3c
Merge pull request #16 from TASVideos/master
...
Sync code to the newest
2019-10-20 00:44:34 +08:00
g0me3
0fc18be6b8
mapper 15 - fixed regression by previous fixes (waising / subors does not work properly with CHR write protection on mode 0)
2019-10-02 20:03:38 +03:00
norill
5ca7f608f7
Update 15.cpp
...
changes in accordance to the reverse-engineered mapper schematics:
- changed bank mode 1 mapping CPU $C000-$DFFF from "fixed to last bank" to "B OR 7" to support multiple 128KiB UNROM games in one cart
- latch D.7 bit ignored outside bank mode 2
- fixed latch D.6 bit interpreted as bank number bit
2019-10-02 18:30:36 +02:00
g0me3
8b1c405d95
mapper 15 chr protection implemented
2019-10-01 22:01:30 +03:00
owomomo
3fd6f9cb1e
Merge pull request #15 from TASVideos/master
...
Sync code to the newest
2019-09-22 14:29:33 +08:00
deep-thought
878245fedf
Altered SCons build scripts to work with Python 3.
2019-09-10 17:05:22 -06:00
g0me3
63421d411b
vrc5 extended ppu rendering simulation fix
2019-08-07 01:17:57 +03:00
owomomo
2e6b728e57
Merge pull request #14 from TASVideos/master
...
Sync code to the newest
2019-07-29 11:02:15 +08:00
Brad Smith
72120b0bb9
Windows 64-bit build support ( #66 )
...
* correcting x64 configurations to actually use x64
defining NOMINMAX to fix std::max error
* more preprocessor definitions for x64
* 64-bit libraries from the last published version of DXSDK with dinput
* should define WIN64 as well? unfortunately seem to require retention of WIN32
* added an x64 build of luaperks.lib, this compiles links and runs now
* relocate win32 luaperks.lib to src/drivers/win/lua/win32 and leave a note explaining it
* luaperks.lib x64 needed to be /MT
two more missing x64 libs
debug x64 configuration was set to compile C++ as C?
* importing the rest of the usable WIN32 preprocessor defines, debugger now functions!
* revert unnecessary VS solution version change
* 64-bit lua working (fixed the 64-bit build of luaperks.lib)
* VSUIENTRY hashes are unsigned, not signed
* more hashes that are actually unsigned
* fix a few pointer to int casts in lua console
* fix a few more pointer truncations in windows dialog stuff
a few printf arguments need a cast to int
* explicit size_t cast to quiet spurious warnings on an inline function
2019-07-23 15:12:03 -04:00
g0me3
1f5ce9e120
fix to prev, now all ROMs are happy
2019-07-22 13:48:49 +03:00
g0me3
a3d4db6b1a
fix for #68 (mapper 227 chr write protection emulation)
2019-07-22 13:32:42 +03:00
owomomo
50bbacfb4d
Detail
2019-07-12 15:46:39 +08:00
owomomo
ddf760c6b6
Merge pull request #13 from TASVideos/master
...
Sync code to the newest.
2019-07-04 01:09:57 +08:00
g0me3
57d0b92a0f
8 times lesser conversion table for previous lol.
2019-06-30 18:58:16 +03:00
g0me3
d5896a8b93
removed debug assert for prev
2019-06-30 14:04:10 +03:00
g0me3
7c9dca50bd
new unif "KONAMI-QTAI" board (VRC-V code name) along with PPU hack for it (16-bit extra NT like in MMC5) for both New and Old PPUs. very hacky for new ppu, sorry.
2019-06-30 14:00:59 +03:00
owomomo
a9604c162f
Re-attach my changes to the conflict file.
2019-06-29 10:53:44 +08:00
owomomo
f5b6b51070
Merge pull request #12 from TASVideos/master
...
Sync code to the newest
2019-06-29 10:39:32 +08:00
owomomo
56f27ee194
Temporarily revert my changes to solve conflict
2019-06-29 10:39:13 +08:00
owomomo
c1e94dd999
...
2019-06-29 10:35:21 +08:00
owomomo
297ff8ee31
...
2019-06-29 10:34:07 +08:00
owomomo
5d443badea
...
2019-06-29 10:28:24 +08:00
CaH4e3
97c9cb0068
Merge pull request #62 from bbbradsmith/dlgproc_fix
...
DLGPROC and SetWindowLong fixes
2019-06-29 00:12:13 +03:00
bbbradsmith
17e36e9882
lua library table registration needs an extra stack clear (is overflowing)
2019-06-27 03:14:12 -04:00
owomomo
7dde5467fd
1. Limit text input for Edit watch dialog and ram search.
...
2. As bbbradsmith in Pull Request #62 mentioned, SetWindowLong is replaced by SetWindowLongPtr for 64 bit compatible, I partially changed those written by myself.
2019-06-27 00:53:52 +08:00
owomomo
fb0f6ee35f
...
2019-06-24 22:39:02 +08:00
g0me3
705f1c905c
KT-008 handling fix for FF Xn games. probably they are the same mapper with a set of different modes switching by specific bits (TODO, check the hardware: i have FFX games, but haven't any KT-008 games!)
2019-06-24 15:52:06 +03:00
owomomo
2d6bdcd0d1
...
2019-06-24 20:32:02 +08:00
owomomo
8a3edc18e3
Merge pull request #11 from TASVideos/master
...
Sync code to the newest
2019-06-24 20:30:17 +08:00
owomomo
25b67593f6
...
2019-06-24 20:25:08 +08:00
owomomo
07c897df91
...
2019-06-24 20:23:11 +08:00
owomomo
547dcd3a59
Detail bug fix
2019-06-24 20:16:01 +08:00
bbbradsmith
db175c358f
cheat.cpp has one more DLGPROC BOOL return fix that I missed
2019-06-21 15:51:44 -04:00
bbbradsmith
339ba7c923
SetWindowLongPtr needs to use LP defines, not L
2019-06-21 15:47:52 -04:00
bbbradsmith
2396d1c702
Replace SetWindowLong with SetWindowLongPtr for 64-bit compliance
2019-06-21 15:02:11 -04:00
bbbradsmith
850390e5ba
Merge branch 'master' into dlgproc_fix
2019-06-21 14:15:41 -04:00
bbbradsmith
c33ab17da4
DLGPROC return type is INT_PTR, not BOOL and not LRESULT. These are compatible return types in 32-bit but not 64-bit.
2019-06-21 14:03:05 -04:00
Nathan Tolbert
5a59e8522d
fixes https://github.com/TASVideos/fceux/issues/60 - only prompt about cheats on windows build
2019-06-21 11:25:06 -05:00
owomomo
d138a01860
1. Add popup tip for "Auto load / save with game" checkbox, because its tri-state may be perplexed for some reason.
...
2. Fix a bug, when the cheat editing controls lost focus, but editing mode is still there, which makes case EN_UPDATE triggered when user is not typing in them, that's an inappropriate circumstance. It might make the cheat editing control shows nothing when selecting a cheat.
3. Re-arranged some controls in resource file.
4. Changed some directory dialog logic, use defined ID rather than hard-code the actural number.
5. Detail.
2019-06-21 19:59:57 +08:00
g0me3
e1f52e6ffb
little bit win gui polishing
2019-06-20 22:32:27 +03:00
g0me3
9ab9fd1e82
fix watch edit dialog
2019-06-20 22:04:00 +03:00
CaH4e3
3b8928fd50
Merge branch 'master' into binary-view-on-ram-watch
2019-06-20 21:52:55 +03:00
Moliman
647eb5ab3d
Add binary data type on RAM watch
...
* Currently support only 1 byte size
2019-06-19 22:00:11 -04:00
owomomo
fee4fc83a8
1. Add more controls to limit input text.
...
2. Changed limit input behaviour to match the system default ES_NUMBER.
2019-06-20 01:58:35 +08:00
owomomo
4e3473ac5d
1. Fixed accidentally added the cheat name control to the limit list.
...
2. Add text limit to Memory Watch for experiment.
3. Make the IDs of controls in Memory Watch predefined rather than directly coded, that's not quite standard in programming. Calculations to ID is not always trusted as they are automatically determined by the development tool.
2019-06-19 18:33:50 +08:00
owomomo
f0396ef980
1. Fixed accidentally added the cheat name control to the limit list.
...
2. Add text limit to Memory Watch for experiment.
3. Make the IDs of controls in Memory Watch predefined rather than directly coded, that's not quite standard in programming. Calculations to ID is not always trusted as they are automatically determined by the development tool.
2019-06-19 15:53:47 +08:00
owomomo
56f0db87fa
1. Experimental limit the input characters for some edit control.
...
2. Separated cheat code and game genie in Cheat window.
3. Don't show a game genie code when affected address is under 0x8000.
4. Detail: set font for some edit control, replaced some static global variable.
5. Other details.
By the way, why there're so many useless brackets in some functions?
2019-06-19 13:14:27 +08:00
owomomo
cc31ee1a37
1. Experimental limit the input characters for some edit control.
...
2. Removed HWND pwindow, since it's ambiguous and not too much used. The pallete window use it's own global HWND variable.
2019-06-18 16:56:10 +08:00
owomomo
9fd9841d6f
...
2019-06-18 11:50:28 +08:00
owomomo
4adb28e1d3
...
2019-06-18 11:48:32 +08:00
owomomo
5a80b67e57
Rip the dialog position calculating code to a function and use it in more dialogbox.
2019-06-18 11:47:08 +08:00
owomomo
17a36d9b9f
Slightly adjusted the UI of header editor.
2019-06-14 16:38:41 +08:00
owomomo
29b36a801d
Cheat console:
...
1. Added a global switch for all cheats, it is checked by default. Check or uncheck it can quickly tweak all cheats enabled or disabled. It's not game specific and effective to all games.
2. Added a checkmark to check behaviour of automatically load cheats.
3. Fixed a wierd bug in loading names of cheats from file.
iNES Header Editor:
4. Disable iNES header editor menu when currently loaded game is not in iNES format.
Others:
5. Some of the checkbox passed parameter MF_CHECKED, the right one is BST_CHECKED, though they have the same value.
6. Code/Data Logger is created by CreateDialog(), but destroyed by EndDialog()? A non-modal window should be destroy by DestroyWindow(), EndDialog() is for DialogBox(). It seems nobody noticed this bug for years.
7. Detail.
Currently there are some opposite tweaks in the config file for the new feature in cheat console, for example the unchcecked state is 1 in config file, that's for backward compatibility.
The iNES header editor might not quite stable as newly baked from the oven, there might be some improvements to its code.
2019-06-12 23:02:20 +08:00
owomomo
fb1d489cfa
Cheat console:
...
1. Added a global switch for all cheats, it is checked by default. Check or uncheck it can quickly tweak all cheats enabled or disabled. It's not game specific and effective to all games.
2. Added a checkmark to check behaviour of automatically load cheats.
3. Fixed a wierd bug in loading names of cheats from file.
iNES Header Editor:
4. Disable iNES header editor menu when currently loaded game is not in iNES format.
Others:
5. Some of the checkbox passed parameter MF_CHECKED, the right one is BST_CHECKED, though they have the same value.
6. Code/Data Logger is created by CreateDialog(), but destroyed by EndDialog()? A non-modal window should be destroy by DestroyWindow(), EndDialog() is for DialogBox(). It seems nobody noticed this bug for years.
Currently there are some opposite tweaks in the config file for the new feature in cheat console, for example the unchcecked state is 1 in config file, that's for backward compatibility.
The iNES header editor might not quite stable as newly baked from the oven, there might be some improvements to its code.
2019-06-12 22:16:01 +08:00
owomomo
5ef8394745
Merge branch 'iNESHeaderEditor'
2019-06-12 00:42:09 +08:00
owomomo
0dbcce537e
Detail
2019-06-12 00:35:56 +08:00
owomomo
8ae26f4b72
Detail
2019-06-12 00:28:29 +08:00
owomomo
5b1805b3e4
Detail
2019-06-12 00:18:48 +08:00
owomomo
02df3d6993
Sync the code to master branch.
2019-06-11 17:39:30 +08:00
owomomo
f3d1b270b5
Add an export button to cheat dialog.
2019-06-11 15:14:53 +08:00
owomomo
0c9e7659d9
Detail
2019-06-10 20:59:36 +08:00
owomomo
3b54181e4d
Merge branch 'master' of https://github.com/owomomo/fceux
2019-06-10 17:27:10 +08:00
owomomo
d87970f4ad
...
2019-06-10 17:25:37 +08:00
owomomo
b114ba4f4d
Merge pull request #8 from TASVideos/master
...
Sync code to the newest
2019-06-10 17:15:38 +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
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
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
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
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
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
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
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
zeromus
afbb4fe37f
Merge branch 'master' into master
2019-03-18 00:08:52 -04:00
zeromus
abed13c392
Revert "Fix for the interframe-pause-skips-updating-next-frame bugs, mostly noticeable when dumping AVIs."
...
This reverts commit c7710ae244
.
fixes #39
2019-02-22 20:48:59 -05:00