Commit Graph

2931 Commits

Author SHA1 Message Date
Matthew Budd 70a00fab13 Added mutex sync when changing sound properties of the emulator. 2020-07-05 16:54:33 -04:00
Matthew Budd ac43cc3e62 Renamed gameViewer to ConsoleViewer. 2020-07-05 16:44:36 -04:00
Matthew Budd 824bdda083 Renamed a few of the files and class objects to be more appropriate to what the actually are. 2020-07-05 16:37:26 -04:00
Matthew Budd f2e7b66c61 changed QThread setup to be a separate object from the console window. 2020-07-05 16:27:13 -04:00
Matthew Budd acc02ee98e Moved FCEU emulation to its own thread for better timing control. 2020-07-05 16:11:53 -04:00
Matthew Budd c496c0f281 Added logic to increase/decrease emulation speed via hotkeys using QTimer system. Bug fix for = key Qt to SDL mapping. 2020-07-03 21:52:27 -04:00
mjbudd77 72141845f0 Changed gl_shm name to nes_shm. Added audio circular buffer to shared memory. 2020-07-03 15:58:53 -04:00
Matthew Budd 7eca2978ed Minor removal of underscored F on File menu. 2020-07-02 21:08:46 -04:00
Matthew Budd 91e5427258 Successful test of full sound config window functionality. 2020-07-02 21:05:08 -04:00
Matthew Budd 021452b7f0 Sound configure window in work. 2020-07-02 20:49:52 -04:00
Matthew Budd afc3a61014 Started putting together window framework for sound configuration. 2020-07-01 22:03:59 -04:00
mjbudd77 104f7c465e Updated init call for game viewer SDL to match GL. 2020-06-30 20:04:17 -04:00
mjbudd77 d38f1b0c1b Build fix for minizip include in MAC OS 2020-06-30 20:00:29 -04:00
mjbudd77 2762d53791 Cleaned up game viewer GL. 2020-06-30 19:53:29 -04:00
mjbudd77 e2b853661d More testing with SDL game viewer driver, keeps drawing over the menu
bar on the mac os. Thinking native GL inside QT is the way to go.
2020-06-30 09:22:59 -04:00
mjbudd77 41b54b9813 Solved MAC OpenGL scaling issue. Turns out it was related to the retina
screen having a 2x device to framebuffer scaling.
2020-06-29 23:24:41 -04:00
Matthew Budd c6b46bfcc1 Added software pixel remapper function to openGL renderer. 2020-06-29 22:24:34 -04:00
Matthew Budd 26fe3c7da5 Added logic to keep proper aspect ratio on SDL driven screen. 2020-06-29 21:13:05 -04:00
Matthew Budd 53dcb48a90 Successful test of SDL video driver inside QT window. 2020-06-29 10:11:02 -04:00
Matthew Budd 95d055da2c Renamed openGL based game viewer so to distinguish it from others that will be tested. 2020-06-29 08:15:26 -04:00
Matthew Budd 970afc2bea Added logic to use GL_TEXTURE_RECTANGLE instead of GL_TEXTURE_2D 2020-06-28 10:11:03 -04:00
Matthew Budd 59462545ca Gui controller calibration fixes and enhancements. 2020-06-27 21:08:02 -04:00
Matthew Budd 7ba7ef4b82 Include path fixes for qmake incorrectly marking sdl folder for heading includes. 2020-06-27 20:07:24 -04:00
Matthew Budd 1980dd8c5b Game Pad calibration page still in work. 2020-06-26 21:56:26 -04:00
Matthew Budd cb664b44a0 commented out debug print statement. 2020-06-26 20:32:44 -04:00
Matthew Budd 950004503b Hooked up checkboxes on gamepad config page. 2020-06-26 20:27:20 -04:00
mjbudd77 002e9e0f34 Added logic to configure gamepad buttons. Still needs more testing. 2020-06-26 16:35:41 -04:00
Matthew Budd ee02883ac7 QT gamepad window in work. 2020-06-26 12:46:48 -04:00
Matthew Budd f1153bfc6b Successful test of loading ROM via QFileDialog, changed logic to not use native gnome file dialog as it is very lagged. 2020-06-26 09:29:47 -04:00
Matthew Budd d6ff002af0 Added keyboard QT to SDL2 key conversion functionality. 2020-06-24 21:57:43 -04:00
Matthew Budd f53bbc8cde Added logic to close game and shutdown FCEU system on window close. 2020-06-23 23:04:10 -04:00
Matthew Budd 095415790c Cleaned up unnecessary test code. 2020-06-23 22:55:48 -04:00
Matthew Budd 0352483a19 Successful display of video in QT gui. 2020-06-23 22:51:10 -04:00
Matthew Budd be4c650238 Starting new QT gui. 2020-06-23 20:40:43 -04:00
Matthew Budd fb9ee25800 Bug fix for cmake install target. 2020-06-20 00:54:26 -04:00
Matthew Budd 70a77cbe41 Added install target to cmake. 2020-06-20 00:53:18 -04:00
Matthew Budd 9a30cce921 Fixed compiler warning for unchecked fgets return value. 2020-06-20 00:39:44 -04:00
Matthew Budd 6271d63ba6 Added cmake package check for zlib 2020-06-20 00:36:43 -04:00
Matthew Budd 714e7bbfb2 Added logic to make cmake output verbose. 2020-06-20 00:20:58 -04:00
Matthew Budd 36b9cf3fb3 Fixed references to print error function in win tas editor. 2020-06-20 00:13:08 -04:00
Matthew Budd cc15338ebb Cast const char * to char * to get past winbuild.... this is not the best way to go, but it works. 2020-06-20 00:06:47 -04:00
Matthew Budd 7919071a25 Cleaned up gcc compiler warning : ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2020-06-19 23:58:12 -04:00
bbbradsmith 79c42a8eea manifest pragma to specify windows common controls version 6
(64-bit bit version uses older control styles without this)
2020-06-18 05:18:27 -04:00
bbbradsmith 1f4bc4bb89 fix long pointer casting in Win64 build 2020-06-17 03:21:41 -04:00
Matthew Budd ad69657d02 Resolved a few more cppcheck/compiler warnings in core input module. 2020-06-15 22:53:45 -04:00
Matthew Budd e6329b911a Resolved cppcheck warnings in win/header_editor.cpp 2020-06-15 22:21:54 -04:00
Matthew Budd 96cba27965 Resolved cppcheck warnings in cheats.cpp. 2020-06-15 22:09:12 -04:00
Matthew Budd 9eaad6e14d Revolved Deallocating a deallocated pointer: buf warning in archive.cpp. 2020-06-15 21:58:13 -04:00
Matthew Budd ce03bf18e7 Resolved cppcheck warnings in OutputDS.cpp 2020-06-15 21:48:32 -04:00
Matthew Budd 9748d39169 Resolved dangerous usage of c_str(). The value returned by c_str() is invalid after this call 2020-06-14 20:11:59 -04:00
Matthew Budd c5bbd3cec5 Added uninitialized class members to constructor for debug window. 2020-06-14 19:55:36 -04:00
Matthew Budd f5e8b09200 Bug fix for enable/disabling of glx double buffering. Single buffering allows for faster emulation rates, double buffering is not allowing faster than 60hz due to vsync. 2020-06-14 10:15:47 -04:00
Matthew Budd a1c0e86026 Code cleanup, found that rendering of openGL graphics are limiting the max frame speed to 60 hz. Have not solution for it yet. 2020-06-13 20:07:01 -04:00
Matthew Budd b4b2cca9ec Bug fix for menu visibility toggle. 2020-06-13 12:51:57 -04:00
Matthew Budd 6de7a68149 Added a TODO for fixing the menu bar hide function. 2020-06-12 21:34:18 -04:00
Matthew Budd 6dd0ef841e Cleaned up unused variable. 2020-06-12 20:51:46 -04:00
Matthew Budd c440b8127e Bugfix for GUI hanging when gamepad config window is closed while waiting a button press. 2020-06-12 20:34:26 -04:00
Matthew Budd d340c1465e Removed the last of the SDL1 specific functions. 2020-06-12 19:48:51 -04:00
Matthew Budd 47ad3b1dee More SDL1 cleanup. 2020-06-12 19:40:46 -04:00
Matthew Budd 0a61bab99e More SDL1 cleanup. 2020-06-12 19:14:26 -04:00
Matthew Budd 4cbfed2a72 Clean up of input and video files. Removed SDL1 code. 2020-06-12 18:59:38 -04:00
Matthew Budd 1463e7c0f8 Added logic to now pass ALT + Return to the SDL event queue as the is fullscreen toggle that is handled by GTK. 2020-06-09 22:09:29 -04:00
Matthew Budd d086714040 Bug fix for full screen mode update. 2020-06-09 21:47:07 -04:00
Matthew Budd cfbe2dc5f3 Bug fixes for GL linear filters and double buffering options. 2020-06-09 09:23:32 -04:00
Matthew Budd 3e2802a2de Bug fix for switching between openGL and cairo graphics contexts. 2020-06-09 08:44:51 -04:00
Matthew Budd 9db334275f Added logic to allow for switching from openGL to cairo draw functions. There is still an issue with the GTK draw update stops getting called when switch from openGL to cairo. 2020-06-08 09:14:01 -04:00
Matthew Budd 79b796f790 Implementing secondary cairo interface. 2020-06-07 13:58:09 -04:00
Matthew Budd 5bbbd0e8e7 Successful use of GLX openGL inside gtk3 window. This eliminates the need for SDL video. 2020-06-07 10:54:00 -04:00
Matthew Budd 4f27c58856 Moved poor performing cairo draw routines into their own functions. Removed GtkGlArea experimental code that did not work. 2020-06-07 09:32:47 -04:00
Matthew Budd 76df04d830 Added an experimental shared memory interface to allow for the video window to be a separate process. 2020-06-06 22:53:34 -04:00
Matthew Budd 6b406e411f Bug fixes for SDL2 keyboard interaction. 2020-06-06 09:02:36 -04:00
Matthew Budd 8c2cea1ed4 Added logic to change how full screen mode works with cairo drawing. 2020-06-05 21:23:33 -04:00
Matthew Budd 1fc0725e94 Successful display of graphics using cairo. Not as efficient as other methods but works. 2020-06-05 21:08:53 -04:00
Matthew Budd 88e0c838e2 Merge https://github.com/TASVideos/fceux 2020-06-05 07:37:16 -04:00
Matthew Budd a59f1421b5 Added logic to refresh video display with last pass image data when inside debug loop. 2020-06-02 05:02:43 -04:00
Matthew Budd a25a5c914c Added a refresh list button to the active cheat list window to allow for the displayed list to be resync'd to the true active cheat list in case a new game ROM is loaded and new cheats are automatically loaded as a result. 2020-06-01 09:37:36 -04:00
Matthew Budd f929a7cc23 Added logic to cheat search window to make all sorting buttons insentive until the search reset button is hit once. 2020-06-01 09:32:51 -04:00
Matthew Budd a58f5dc5e0 Added logic to make cheat window edit/delete buttons insensitive unless a row is selected in treeview list. 2020-06-01 09:19:55 -04:00
zeromus 322c671ea7
Merge pull request #114 from owomomo/master
Bookmark description in the Hex Editor can be directly edit
2020-05-31 16:13:46 -05:00
zeromus 74b11ae84c
Merge pull request #103 from bbbradsmith/lua_zapper_set
zapper.set for lua
2020-05-31 16:13:29 -05:00
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
zeromus e72202f3b8 fix linux build (probably) 2019-02-22 15:01:12 -05:00
owomomo 8c485d23a2
Merge branch 'master' into master 2019-02-02 17:14:09 +08:00
zeromus f14321113a
Merge pull request #21 from retro-wertz/gtk_audio_silence
gtk: fix audio going on/off when entering Sound Config option
2019-02-02 04:00:07 -05:00
zeromus 9f7147c42a fix overflow in RTS trace logging (maybe) (fixes #30) 2019-02-02 03:58:00 -05:00
zeromus f8d5a91363 lua: make emu.speedmode nothrottle and maximum set to 100% frameskip, as originally intended (fixes #34) 2019-01-27 21:32:22 -05:00
zeromus adc9efec56 run 1st frame of lua scripts after the lua console is hooked up, rather than before (fixes #33) 2019-01-27 20:45:23 -05:00
Brad Smith 20f0783a96
windows mouse left/right buttons should be independent, not XOR
(forgot the additional "relative" mouse implementation with last commit)
2019-01-26 21:04:07 -05:00
Brad Smith 01c3f40f1d
windows mouse left/right buttons should be independent, not XOR 2019-01-26 20:46:58 -05:00
owomomo fc35a990f4 Fix compile error 2019-01-09 18:30:30 +08:00
owomomo 9407df7d2c Ram search show cheat count in current range. 2019-01-09 17:28:05 +08:00
owomomo d3e5d7dee9 1. Fix Map Hotkey dialog list header and add sort icon to the header of Map Hotkeys.
2. Fix Nametable Viwer checkbox state mismatch when closing and opening again.
3. Fix linux build error.
2019-01-08 00:42:57 +08:00
owomomo 38d5909a92
Merge pull request #2 from TASVideos/master
winport - reorganize emulation speed menu so it's a little more clear…
2019-01-07 16:24:05 +08:00
zeromus 327bb202a2 winport - reorganize emulation speed menu so it's a little more clear how it works 2019-01-06 17:07:52 -05:00
owomomo d9d3f1b56b 1. Further reconstruct the hotkey menu item code, menus belongs different parent menus with the same id can be defined in one struct rather than four. Removing the repeated menu hotkey update, only update the needed range. I wish this is not too complicated.
2. Map Hotkey dialog items now can be sorted by click on the column header.
3. Fix a logic bug when user cancels open archive dialog.
4. Trying to fix Linux build (not sure).
2019-01-03 20:38:33 +08:00
zeromus 5eb6cc31c9 Revert "Revert "Some ui interface logic changes and improvements.""
This reverts commit d48105e97d.
2019-01-01 15:45:32 -05:00
zeromus 608bbe83fe fix SF issue #838 better and fully 2018-12-31 00:58:20 -05:00
zeromus 76f7af16c8 try fixing SF bug 838 "gui.drawbox border is overlapping itself"
I didnt test it, maybe I broke everything. please check it
2018-12-30 17:05:58 -05:00
aquanull@gmail.com dd5a0e908e Re-enabled running the Lua script when loaded. 2018-12-24 13:54:32 +08:00
aquanull@gmail.com 08c602a3f2 Registered Lua callbacks via gui.register() are now only called at frame boundaries. 2018-12-24 12:01:32 +08:00
aquanull@gmail.com b6df31d0f3 Fixed potential buffer overflows in RAM Search. 2018-12-24 12:01:28 +08:00
aquanull@gmail.com fe64ca3771 Fixed the ancient buffer overflows in Memory Watch. 2018-12-24 12:01:25 +08:00
retro-wertz 6432e18a79 gtk:fix audio going on/off when entering Sound Config option
Adds check if sound was already enabled and only then only call
InitSound() when it was not enabled. This seems to be a better option
than calling KillSound() which causes unnecessary audio pop when you
are just entering the menu and not adjusting stuff yet.
2018-12-10 05:04:07 +08:00
retro-wertz 9788d9745a update apu sweep units 2018-12-09 20:49:46 +08:00
cah4e3 972ec09e92 fixed #11 R.C.Pro Am II title music channel bug 2018-12-05 17:46:29 +03:00
cah4e3 951c325cc1 fixed long standing bug in GG encoder for 8000 address 2018-12-05 15:24:29 +03:00
Brendan Byrd f9f35cbadb Add playback/record Lua functions 2018-11-30 00:10:22 -05:00
Brendan Byrd 47c8491114 Add support for base64 in rom.gethash 2018-11-30 00:10:22 -05:00
Brendan Byrd 319293e20b Add rom.getfilename Lua function
Also, add documention to rom.gethash function
2018-11-30 00:10:22 -05:00
Brendan Byrd 03851153ed Don't Lua print extra newlines in *NIX 2018-11-30 00:10:22 -05:00
Brendan Byrd 76c423fa4a Add getemuscreen support to gui.gdscreenshot Lua call 2018-11-30 00:10:22 -05:00
Brendan Byrd 5f23a565e8 Whitespace cleanup
Should be nothing with 'git show -b'
2018-11-30 00:10:22 -05:00
Brendan Byrd e50f7bfd71 Add stace traces to failed Lua executions 2018-11-30 00:10:22 -05:00
Brad Smith 349aed4aaf
Fix null pointer crash when lua script fails to load. 2018-11-12 17:33:42 -05:00
zeromus 717153ac19 fix hang in symbolic debugger syntax highlighting in rare cases. fixes #18 2018-11-12 03:19:07 -05:00
zeromus 286875f9ef try to fix writes to palette mirrors 2018-11-07 04:01:36 -05:00
zeromus 01dfbf5afa fix the way memview reads mirrored palette regs. Should fix bug 833 on SF but I'm not completely sure 2018-11-07 03:10:09 -05:00
Brad Smith be86d96278
cheapocabra.cpp typo: CHR-RAM not CHR-ROM 2018-10-31 17:00:50 -04:00
Alexey 'Cluster' Avdyukhin 388e10b473 Fixes for COOLBOY mapper, added MINDKIDS mapper (alternative COOLBOY) 2018-08-30 19:10:10 +03:00
zeromus 4939859cf4 lua - savestate.create() can now accept a string which should be the filesystem path to a savestate; you can then use savestate.load on it 2018-07-02 15:19:09 -05:00
Brad Smith 5be92d3ee5
Propagating memory initialization option to WRAM (#13)
1. Including WRAM in the RAM initialization options. Since it was usually initialized to zero by default, the "default" setting must do that as well, the explicit settings should follow the others.

2. unif.cpp extending memory randomization of 4-screen VRAM to match ines.cpp version, except it had no explicit initialization before: static array should initialize to 0, so its default will still do this

3. MALEE WRAM never initialized, replacing a few existing explicit (non gmalloc) WRAM clears with MemoryRand, removing a few memsets now unneeded because of gmalloc clear.
2018-06-26 22:11:01 -04:00
Brad Smith e8c61d1b23 NTSC filter was missing the newer more accurate support for emphasis (was using an old 1-emph-per-blit approximation) 2018-06-19 23:06:55 -04:00
Brad Smith 386545e063 not sure why PAL filter text is commented (is it unfinished? seems to be functional) out but it's accessible in the dropdown and it leaves garbage in the name 2018-06-19 21:56:40 -04:00
Chris Broome d3cc7f0ba7 Fix yscale out of bounds rounding error (#12)
* Fix rounding error causing yscale out of bounds
* Ignore linux build output
2018-06-19 21:42:07 -04:00
zeromus e3b7197128 add "record from sram" (to fix SF bug #828) 2018-06-18 22:19:59 -05:00
Chris Broome 95e82b57ba Fix Linux build errors (#3)
Enable usage of `nullptr` by passing `-std=c++0x`
- SConstruct
- src/Makefile.am

Add missing mappers to boards/Makefile.am.inc:
- boards/190.cpp
- boards/80013-B.cpp
- boards/hp10xx_hp20xx.cpp
2018-06-15 13:02:23 -04:00
Brad Smith 9b6ff8fe49
Mapper 30 4-screen (#10)
mapper 30 support for both 1-screen and 4-screen configurations (see: Black Box Challenge)
2018-06-05 02:17:38 -04:00
Brad Smith 458eb30f3d
Small improvement to sound output options. #6
1. Force 8-bit sound option confused some users who thought it might be an emulation accuracy option instead of selecting output bit depth, replaced it with a drop-down that's consistent with the other sound output options instead (hiding the temptation of setting "8-bit" and thinking that's a desirable thing for an NES emulator).
2. Making the default samplerate 48000, because it is the most common native device rate now.
3. Increasing the AVI output's 1 second buffer size to allow the maximum samplerate of 96000.
2018-06-02 03:11:33 -04:00
Brad Smith 29171209a7 mmc5.cpp fix warning about int to boolean type conversion 2018-06-01 21:08:35 -04:00
zeromus 4245280271 apply patch #827 : Fix "non-constant-expression cannot be narrowed from type" compile error 2018-05-31 12:52:38 -04:00
zeromus c5bb44a37f implement namco 340 NT mirroring register (fixes wagyan land 3) 2018-05-26 20:45:27 -04:00
zeromus 4a1ea6dd1f support vc100 toolchain once more 2018-04-11 16:11:49 -05:00
zeromus 05a1886861 fix release mode build errors 2018-04-11 01:07:27 -05:00
zeromus e2c85a2d50 fix more warnings. didnt do a great job last time. 2018-04-11 01:05:41 -05:00
zeromus f8f9dd967f fix warning 2018-04-11 01:04:37 -05:00
zeromus 9ff8ecb856 fix Uchuu Keibitai SDF in oldppu (broken in r3360) 2018-04-11 00:47:00 -05:00
zeromus bb5cd1527d uhhh did i leave this hacked when i fixed re-un-broke cv3 recently? 2018-04-11 00:17:30 -05:00
zeromus f42fb23276 delete excess gitignores (we're starting from scratch) 2018-04-10 23:22:39 -05:00
zeromus 6936766d93 fix warning 2018-04-10 23:22:39 -05:00
zeromus 104e17522e fix scmrev stuff to use git (copied from desmume) 2018-04-10 23:22:39 -05:00
zeromus 2afdc2769e change to use vs2015 2018-04-10 23:22:39 -05:00
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -05:00
aquanull 3b531d0d7c Small fixes. 2018-04-04 18:26:57 +08:00
aquanull da4194ec7a Fixed the bug that the first frame of user input after movie end would be ignored. 2018-04-13 11:59:34 +08:00
aquanull c7710ae244 Fix for the interframe-pause-skips-updating-next-frame bugs, mostly noticeable when dumping AVIs. 2018-04-12 22:43:39 +08:00
aquanull 9137dfbf3f Tiny refactoring on input display. 2018-04-05 18:51:16 +08:00
aquanull 56f61b9b0b Now it clears previous input display when starts playing a movie from power-on. 2018-04-05 18:51:00 +08:00
aquanull f16f6548bb Adds 2 movie recording modes imported from VBA-rr.
Frame display is modified to indicate the currently selected mode.
2018-04-05 08:18:53 +08:00
aquanull e7adca9132 Allows changing Read-Only state by toggling Recording/Playing even if movie finished. 2018-04-05 00:53:56 +08:00
aquanull 23c7ce7342 Adds new command to toggle movie Recording/Playing directly.
Adds new command to truncate movie in Read+Write mode.
Adds new command to insert/delete 1 frame in Read+Write mode.
2018-04-04 21:13:42 +08:00
aquanull 693607f66b Fixes the bug that extra frames could be saved in the movie file, when rerecording from middle of the movie.
Also flushes the movie file more often.
2018-04-04 19:32:29 +08:00
aquanull b08267b84a Allows loading post-movie-end savestates if consistency of the timeline can be verified. 2018-04-04 18:49:33 +08:00
aquanull c161dd892b Fixes the bug loading the wrong movie extras via Movie->Recent. 2018-04-04 18:33:42 +08:00
aquanull 9560521507 RAM Watch now respects Directories Configuration for Memory Watch. 2018-04-13 11:59:23 +08:00
aquanull 7f8e2dd7e8 Fixes the focus bug of the main window minimized with clicks on Windows Taskbar. 2018-04-05 18:46:19 +08:00
aquanull 2d81852e81 Fixes for some file handles and memory leaks. 2018-04-04 18:28:42 +08:00
zeromus 5a1e6c552a ignore lmouse and rmouse lua input when main window isnt focused. it seems unlikely anyone would want these for any other purpose (xmouse and ymouse are based on the emulated window so the clicks should be too)
untested.

intended for SF bug 836
2018-12-17 15:11:30 -05:00
zeromus 14ad02632a use cd and im bindings for lua. needed rebuild luaperks to include binding sources 2018-12-16 13:20:45 -05:00
punkrockguy318 2be5084a7b create new subversion repo structure (trunk, tags, branches)
[[Split portion of a mixed commit.]]
2013-03-15 19:00:14 +00:00
punkrockguy318 0d1d24e153 sdl: integrate backward-cpp (https://github.com/bombela/backward-cpp) to generate more helpful debugging output 2013-03-15 18:22:38 +00:00
ansstuff d748d3219c Debugger: ported "smart scrolling" from an obscure version of FCEUXD 1.1 2013-03-14 15:40:52 +00:00
CaH4e3 9d778993b7 palette ram reading fix for old ppu 2013-03-14 12:55:36 +00:00
punkrockguy318 37b0f97f1d sdl: additional preliminary sdl 2.0 support 2013-03-12 00:33:33 +00:00
punkrockguy318 99ff252145 fix end-of-lines (dos2unix) 2013-03-11 02:29:15 +00:00
punkrockguy318 7bfd254ba0 forgot to add this to previous commit 2013-03-11 01:51:02 +00:00
punkrockguy318 bdbcc524bf scons: don't compile minizip files whatsoever when SYSTEM_MINIZIP enabled 2013-03-11 01:37:17 +00:00
punkrockguy318 ec8cbcfc00 sdl: prelimenary SDL2.0 support
sdl: fixed bug where fceux would take exclusive grab of input in windowed mode when resuming from pause
2013-03-10 23:54:01 +00:00
punkrockguy318 aaf36702a1 version bump to 2.2.2; comment public release 2013-03-10 22:09:01 +00:00
punkrockguy318 db78090cbc scons: unset public release bit
sdl: fix typo that referenced '-opengl'; '--opengl' is used
2013-03-10 21:45:48 +00:00
ansstuff 3fef7971b3 updated version 2013-03-10 21:33:18 +00:00
ansstuff bb03b4e7e3 updated docs
[[Split portion of a mixed commit.]]
2013-03-10 21:18:37 +00:00
CaH4e3 f3a5527c6b ppu code cleanup 2013-03-10 20:36:51 +00:00
ansstuff 1666803e05 * CDLogger: removed "Enable New PPU" note, because Old PPU is now functional as well
* updated docs

[[Split portion of a mixed commit.]]
2013-03-10 20:14:13 +00:00
punkrockguy318 427c868add sdl: added option to use system minizip 2013-03-10 20:10:39 +00:00
punkrockguy318 87b850f9f7 updated utils to use minizip 1.2.7 2013-03-10 19:59:33 +00:00
CaH4e3 887aaa1bfd Slightly improved CDLogger for the CHR data. The Old PPU is now fully supported. Removed the garbage logging. TODO: fix for the MMC5, currently isn't supported
code cleanup
2013-03-10 14:41:50 +00:00
ansstuff 6422560659 * added JumpingFCEUXWindow.lua
* updated docs
* Taseditor: some more cleanup

[[Split portion of a mixed commit.]]
2013-03-09 14:04:01 +00:00
CaH4e3 1106e21517 no, hack isn't right... there is some issues with other games 2013-03-06 18:09:39 +00:00
ansstuff 7007fc4805 * Taseditor: cleaned up code a bit more, renamed identifiers to follow single convention 2013-03-04 16:58:54 +00:00
feos-tas 1a98c236af Tweaked SoundDisplay2.lua a bit.
Added LuaPerks description.
TODO: write LuaPerks samples.

[[Split portion of a mixed commit.]]
2013-03-03 15:24:05 +00:00
punkrockguy318 ed03db8497 sdl: dynamically set fullscreen resolution when SDL.[x/y]Resolution is set to 0
sdl: new default values for SDL.[X/Y]Resolution to dynamically set fullscreen resolution
2013-03-02 19:46:34 +00:00
punkrockguy318 517ad65bdc sdl: show cursor and release wm grab on pause 2013-03-02 19:19:01 +00:00
punkrockguy318 de9e21f12e gtk: change menu item string: "Auto-resume play" 2013-03-02 18:56:45 +00:00
punkrockguy318 1b368e56bf sdl: fix SDL.NoFullscreenCursor (for use with zapper in fullscreen) 2013-03-02 18:53:56 +00:00
punkrockguy318 c490369e67 sdl: AutoResume functionality implemented via SDL.AutoResume config option
gtk: added checkbox for AutoResume (Options->Auto-Resume)
2013-03-02 18:43:24 +00:00
ansstuff 5acc146be8 Hexeditor: fixed ROM coloring when using CDLogger data 2013-03-02 13:00:38 +00:00
punkrockguy318 ba8fb91eaa gtk: close game properly when window is closed 2013-03-01 22:06:41 +00:00
CaH4e3 fe057f4bfd CDLogger VRAM issue fix 2013-03-01 19:22:45 +00:00
ansstuff cc8e3e0e0c updated docs
[[Split portion of a mixed commit.]]
2013-03-01 12:49:18 +00:00
ansstuff 989d356c0e * PPU/PAL/Input type changing is now disabled when a movie is playing
* "Switch fullscreen by double-click" is disabled by default
2013-02-28 16:00:33 +00:00
ansstuff 755d9dc64d * Cheats: update the window when ROM is changed
* Cheats: show the number of active cheats after a ROM is loaded
2013-02-28 13:33:13 +00:00
ansstuff d814920f00 minor CDLogger cleanup 2013-02-27 13:23:48 +00:00
CaH4e3 ba537f66db CDLogger improvements 2013-02-27 11:05:06 +00:00
CaH4e3 52945e7484 MMC5 - refixed 2013-02-27 08:26:45 +00:00
ansstuff 009ece83d4 * CDLogger: code cleanup
* CDLogger: removed obnoxious reminder about NewPPU
* CDLogger: added current CDL filename field
* CDLogger: added default CDL naming
* CDLogger: added "Auto-save .CDL when closing ROMs" option
* CDLogger: added "Auto-resume logging when loading ROMs" option
2013-02-24 11:19:36 +00:00
ansstuff 71f4affe5c * Hexeditor: show symbolic names in the window caption 2013-02-22 21:17:34 +00:00
CaH4e3 71f2d5bc9c UNIF DSOUNDV1 - pre beta mapper, nw
various mapper improvements
UNIF MALISB - Mali Splash Bomb dump
mapper 19 - Dream Master mirror fix
SOUND - low quality 69 mapper exp sound fix
2013-02-18 13:41:44 +00:00
punkrockguy318 71eec979e8 sdl: clarify '--players' option to refer to network play 2013-02-14 00:35:32 +00:00
punkrockguy318 1e3d8c7b76 sdl: don't display gtk error message while in --nogui mode 2013-02-14 00:33:28 +00:00
punkrockguy318 e87a8d11e4 gtk: display error message for io errors when loading fds bios
rename "FDS BIOS" file filter string to "disksys.rom" for clarity
	 use FCEUD_PrintMessage for succesful BIOS load
2013-02-14 00:30:24 +00:00
punkrockguy318 3f05056fed gtk: display more relevant error messages
sdl: use FCEUD_PrintError for palette loading
gtk: remove redundant error dialogs now that FCEUD_PrintError is implemented in GTK
gtk: prevent GTK FCEUD_PrintError calls from spawning GTK dialogs before GTK is initialized
2013-02-13 00:19:00 +00:00
punkrockguy318 45f53470b9 gtk: display a message dialog on errors in addition to printing to stderr
sdl: remove duplicate function definitions for FCEUD_PrintError and FCEUD_PrintMessage
2013-02-12 22:31:55 +00:00
punkrockguy318 1975f4c8b1 sdl: fix a build issue on OSX due to x11 being installed in a non-standard location on OSX (sf#578) 2013-02-11 22:36:21 +00:00
ansstuff 3d9095fc29 * Fixed iNesSave and iNesSaveAs (#579)
* Moved "Config->Game Genie" to "Config->Enable->Game Genie ROM"
2013-02-11 12:03:37 +00:00
CaH4e3 b7584d0da2 cdlogger - fixed unif load/save, TODO: get rid or VRAM in there
mapper 69 - fixed #580 Low quality sound issue
2013-02-10 22:05:02 +00:00
ansstuff d3f0cb48b7 * win32: speed up screen blitting 2013-02-03 16:03:25 +00:00
ansstuff 181c48efdb * win32: Added "TV Aspect (4:3)" to Video Config
* updated docs
2013-02-02 14:04:51 +00:00
ansstuff 49b2f4fad3 * Taseditor: fixed Bookmarks List height on Windows 7 2013-01-21 14:32:05 +00:00
ansstuff 9a2566dacc * Taseditor: no "Autopause at the end of the Movie" when Recording
* Taseditor: fixed bug with adding new item to History Log
2013-01-20 20:25:19 +00:00
ansstuff af76d60cd7 * Taseditor: changed the logic by which the Piano Roll follows Playback cursor, now it doesn't follow it while seeking
* Taseditor: no restriction of initial Playback dragging anymore (can always drag while seeking)
2013-01-19 21:37:01 +00:00
ansstuff 7b99bfc321 * Tracer: fixed RTS padding
* Tracer: always force Trace Logger update when a breakpoint is hit
* Debugger: always open Debugger window when a breakpoint is hit
2013-01-17 15:32:09 +00:00
ansstuff f22dc51e71 * Lua: removed "shadow pixels" from gui.text()
* Lua: fixed width of question mark symbol
* Lua: made gui.parsecolor() function available for users
2013-01-15 12:53:04 +00:00
ansstuff 30378d8b49 Taseditor: Config->Project file saving options 2013-01-10 17:13:33 +00:00
CaH4e3 efed1b3dec UNIF: little bit verbose/safe chunk loading, fix some crashes 2013-01-05 18:11:31 +00:00
CaH4e3 dd54482e1a mapper 115 - redesign according to the hardware tests 2013-01-03 07:34:09 +00:00
zeromus a2c2322e25 ntview-do something reasonable if a 4-screen,table2,table3 mirror mode is chosen when the corresponding nametable ram is not available on the cart (instead of crashing) 2013-01-01 18:43:23 +00:00
punkrockguy318 0c69e0fbfb gtk: fix "quit" hotkey when --nogui is disabled 2012-12-31 13:34:32 +00:00
CaH4e3 dd7a1bc081 mope, 206 still deprecated, quest of ki just needed vertical mirroring 2012-12-31 11:32:49 +00:00
CaH4e3 95a36aa23c quest of ki redefined to 206 mapper with CRC check, now 206 isn't deprecated, some games are vomit because of extended functionality of the stock MMC3 instead of simplified one ;( 2012-12-31 11:12:56 +00:00
CaH4e3 69c3e2df02 mapper 115 - thunderbolt fixed 2012-12-31 09:09:45 +00:00
CaH4e3 1d5157dca2 mapper 24 fixed
mapper 26 fixed
formatting fix, cleanup
2012-12-31 08:47:09 +00:00
ansstuff ca82eadedf * Taseditor: fixed bugs with holding Shift+Up/Down and similar situations when the Playback cursor moves more than once within one update
* Taseditor: Changed "Compact save" dialog, added 4 options of Greenzone saving: all frames, every 16th frame, marked frames, don't save
* Taseditor: Config->Compact Quicksaving (affects Ctrl+S and Autosave)
2012-12-30 20:28:01 +00:00
ansstuff 07a21643d6 fixed GetPath when opening Cheats 2012-12-29 16:32:21 +00:00
ansstuff 3cb74f7780 * Cheats: added "Add from CHT file..." button 2012-12-29 14:32:02 +00:00
ansstuff 15adae5df9 win32: force the entire client area to be invalidated at the beginning of WM_PAINT; this fixes the rare bug with DIRECTDRAWCLIPPER sometimes calculating wrong region (was noticed on some video cards) 2012-12-29 11:43:38 +00:00
ansstuff aafce94aaf win32: Play movie dialog shows New PPU in red if the required setting does not match 2012-12-27 14:44:56 +00:00
thezlomus baf366f1f2 RAM Search: added "Search ROM" checkbox 2012-12-26 23:09:11 +00:00
ansstuff afd4675104 Taseditor: fixed Greenzone saving while emulator is unpaused 2012-12-25 15:54:12 +00:00
ansstuff bf8649f110 win32: fixed restoring maximized window after switching from fullscreen
win32: holding Shift when resizing FCEUX window reverts "Force integral factors" meaning
win32: remodel "Video config" dialog:
* removed the list of predefined modes (they were broken anyway)
* removed FS stretching options (obsoleted by "Best Fit")
* removed broken display of "Current Pixel Aspect Ratio" (may return it after implementing the 4:3 mode)
* "Full Screen (hotkey: Alt + Enter or double-click)" - reads current hotkey mapping

[[Split portion of a mixed commit.]]
2012-12-19 19:35:00 +00:00
CaH4e3 66b0073666 fixed crash when four-screen bit is set after CRC check 2012-12-18 15:34:04 +00:00
CaH4e3 8110346ccb mapper 018 - fixed
mapper 198 - fixed
AutoResumePlay default option - "disabled"
2012-12-18 13:56:35 +00:00
ansstuff e1ef50ac14 * fixed "Auto-resume old play session", for some reason NSFs don't allow loading savestate right after opening the ROM
* updated docs

[[Split portion of a mixed commit.]]
2012-12-16 13:07:50 +00:00
aquanull d9f0d060df * Action 52 reset. 2012-12-16 10:46:49 +00:00
CaH4e3 c550c9623e more cleanup 2012-12-15 21:53:01 +00:00
ansstuff 00b4304241 win32: added Config->Enable->Auto-resume old play session 2012-12-15 17:42:53 +00:00
punkrockguy318 bf4ba33801 scons: include all relevant source files in src/boards 2012-12-13 20:23:16 +00:00
ansstuff b8c1d1e29b * added NES->Emulation Speed->Set Custom Speed
* added NES->Emulation Speed->Set FrameAdvance Delay
* added NES->Emulation Speed->Set custom speed for FrameAdvance
* Debugger: fixed mouse wheel scrolling
2012-12-13 15:59:45 +00:00
CaH4e3 880c9deb62 removed old ines code, more formatting 2012-12-12 20:28:34 +00:00
CaH4e3 3a5e90fcc2 formatting sync, cleanup 2012-12-12 18:30:16 +00:00
CaH4e3 13d63e5af2 finish with mapper to boards conversion 2012-12-12 16:47:50 +00:00
CaH4e3 f3d6e617d5 tracer/logger fixed unlogged ram code 2012-12-07 19:18:47 +00:00
ansstuff 7c0604e323 * Tracer: adjusted total line width to the new disassembly field width
* removed "forcing the default resolution of fullscreen to be the same as current display resolution"
2012-12-06 16:50:58 +00:00
zeromus 7ec00fad29 win32-change trace logger not to use such a wide disassembly field. it makes tracing to the tracer window using the old options useless since the registers are pushed off the edge. if this is unacceptable for some reason (i have no idea why the disassembly field became so big; is it for symbolic stuff?) then we should make it an option, or make it dynamic and use the smaller size when logging to the window with default option set. 2012-12-05 18:42:21 +00:00
ansstuff 9cc3a0d29c Fixed zapper and mouse positioning in fullscreen and bestfit mode 2012-12-05 18:10:07 +00:00
ansstuff 604c22e16b * speed up HUD text drawing
* Taseditor: speed up consecutive Recordings (when combining)
2012-12-04 17:03:58 +00:00
ansstuff e21ed84dfa * fixed "X" button in the "Enter New Input" dialog (Hotkey Mapping); changed "Cancel" button to "OK"
* Taseditor: fixed accelerators when editing Notes
2012-12-03 17:11:17 +00:00
CaH4e3 5ca09c31d5 mapper 99 - fixed
UNIF SMB2J - now not support SMB2j which is proven bad dump
2012-12-03 15:26:22 +00:00
punkrockguy318 6652cec0ae scons: trivial variable name change for consistency 2012-12-02 00:02:44 +00:00
punkrockguy318 1889aca8aa fceux: bump devel version number to 2.2.1 2012-12-01 22:57:53 +00:00
punkrockguy318 969258d32a scons: dynamically generate the build source list 2012-12-01 21:54:02 +00:00
CaH4e3 814f7e1b68 almost done with conversion... 2012-11-30 09:49:38 +00:00