Commit Graph

205 Commits

Author SHA1 Message Date
owomomo 8388d4025f Input Barcode is neither supported by movie recording nor TAS, disable the menu when using them. 2020-08-31 23:27:15 +08:00
Matthew Budd 35b0227809 Added logic to initialize the video PAL combo box with proper config value at window creation. 2020-07-11 22:37:29 -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 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
owomomo 8a3edc18e3
Merge pull request #11 from TASVideos/master
Sync code to the newest
2019-06-24 20:30:17 +08: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
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 9369bed6ec New feature: iNES head editor 2019-06-10 14:27:57 +08: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 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 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 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
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 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 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
owomomo 274ac1b770 1. When cancel from archive loading dialog, don't show loading error boxes and the current playing game doesn't close.
2. Completely rewrite shortcut key displaying logic, now it is not only shown in main menu, but also in context menu.
3. Fix bugs that TAS Editor tooltips shown shortcut keys were not sync when hotkey was changed.
4. If cheat is activated when loading a movie, confirm to disable them as they could cause playback problems.
5. When switching to new ppu with overclocking enabled, prompt to user that new ppu doesn't support overclocking.
6. Other minor details about the UI.
2018-12-28 23:55:24 +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 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 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
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
zeromus 0307e3b827 migration tidying (build master from trunk) 2018-04-08 17:35:15 -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
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
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
ansstuff 7007fc4805 * Taseditor: cleaned up code a bit more, renamed identifiers to follow single convention 2013-03-04 16:58:54 +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 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 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 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
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
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 5ca09c31d5 mapper 99 - fixed
UNIF SMB2J - now not support SMB2j which is proven bad dump
2012-12-03 15:26:22 +00:00
CaH4e3 814f7e1b68 almost done with conversion... 2012-11-30 09:49:38 +00:00
ansstuff 1c2d6d88bc * when the New PPU is on, it displays "(NewPPU)" in the window caption
* fixed bug with erasing more frames than there is movie records
2012-11-24 12:56:10 +00:00
zeromus 200ea8e003 add some comments about RAM initialization, which have been found to wreck the game Huang Di. not changing the code yet until we gather some more information. 2012-11-17 08:12:59 +00:00
ansstuff 80bd1aaf02 improved SaveSnapshot performance ($552)
[[Split portion of a mixed commit.]]
2012-11-12 12:21:59 +00:00
zeromus 8ef2e53f86 fix a nondeterminism bug created by MasterRomInfoParams and roms being loaded in various orders without clearing out the params 2012-10-27 20:50:28 +00:00
CaH4e3 43ee931dec cleanup and version bum... hmmm (not no mention something else) 2012-10-21 16:40:04 +00:00
ansstuff 48a55b2fa2 * Tracer: added "Log current Frame number" option
* Tracer: added "Log emulator messages" option
* Tracer: added "Log breakpoint hits" option
* Tracer: added "Symbolic tracing" option
* Taseditor: added deselection stretching by Ctrl+clicking in a selected frame
2012-09-22 15:33:31 +00:00
ansstuff 95a301dbb2 * "Tools->TAS Editor" gives focus to Taseditor when it's already open; fixed the setfocus behavior for other tools as well
* Taseditor: AdjustDown operation now works faster (not rewinding anymore)
* Taseditor: AdjustLag always combines with current History item, not creating its own item in the History Log
2012-09-13 16:11:03 +00:00