Commit Graph

81 Commits

Author SHA1 Message Date
zeromus def5768b9e remove fflush call on every single instruction trace, which can make modern SSD go totally dysfunctional. attempt to recover from this by flushing once a frame and whenever emulation pauses, so that you have a flushed trace file while debugging or whenever the main menu is interactive. 2022-04-26 13:22:22 -04:00
mjbudd77 4b3ae8fead Hooked up Lua menu actions in Qt Tas Editor. 2021-11-26 06:16:38 -05:00
mjbudd77 ffc7e70b0d For Qt GUI fixed region auto detection logic to preserve dendy mode if an NTSC game is loaded. Also, added an option to enable/disable region auto detection functionality. This allows for the users selection via the GUI to be strictly enforced. Also, added a region select sub menu to the emulation main menu. Fixes issue #335. 2021-02-25 19:36:08 -05:00
g0me3 79d81e513c datach barcode reader input changed a little bit control code recalculating logic.
now if you input full 13 or 8 digit code the control code won't be recalculated.
only if you input partial 12- or 7-digit code without control number it will calculate it.
this is done because some game uses it's own control code calc logic and need to be input as is.
otherwise it will be recalculated and won't be accepted by the game.
2020-08-11 20:28:11 +03:00
g0me3 f2eb89c629 Merge branch 'master' of https://github.com/TASVideos/fceux 2020-07-25 21:22:13 +03:00
g0me3 6145fe22ab bandai and sunsoft barcode readers support GUI restore for WIN build
157 mapper (barcode battler) support for main unit's and cart's eeproms. all datach games are able to save properly now.
2020-07-25 21:21:37 +03:00
mjbudd77 b71630379a Added game pad button mapping profile logic. 2020-07-24 16:56:48 -04:00
Matthew Budd c0febe1d3e Added a hook in the core palette emulation to allow for the gui to determine if a custom user palette is available and in use. 2020-07-18 21:58:38 -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 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 959c94fcdf Attempt to fix Issue #52 2019-05-23 18:59:30 +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
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
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 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 43ee931dec cleanup and version bum... hmmm (not no mention something else) 2012-10-21 16:40:04 +00:00
CaH4e3 32774646fd trace/logger fine tuning 2012-09-30 16:36:45 +00:00
ansstuff 0ee3771d07 * Debugger: don't update Debugger window at the beginning of Step command (it will update at at the end of Step) - fixes #528
* Debugger: allow Frame Advancing when Debugger is in breakpoint state
* Debugger: fixed memory leak and possible heap corruption when deleting breakpoints
* Debugger: highlighting breakpoint item in BPs list when it's triggered
* Taseditor now doesn't update when debugger is in breakpoint state
2012-08-03 19:28:14 +00:00
ansstuff a8ef2f72ce * refined Recording, now can safely record commands (Power, Reset, Insert, Switch)
* new Lua scripts: SoundDisplay.lua, TrackNoise.lua
2012-02-06 16:57:46 +00:00
ansstuff 578c974062 * Tasedit: more refactoring
* Tasedit: resizing TAS Editor window
* Tasedit: INPUT_TYPE_1P
* Tasedit: File->New Project
2012-01-12 19:56:17 +00:00
ansstuff 703ab3d752 * changed ".tas" extension to ".fm3"
* Tasedit: Markers notes (strings)
* Tasedit: editing Marker notes, 2 text fields
* Tasedit: View->Follow Marker Note context
* Tasedit: View->Display Branch Tooltips
* Tasedit: new accelerators: Ctrl-PgUp/Ctrl-PgDn/Shift-PgUp/Shift-PgDn
* Tasedit: Config->Allow keyboard controls in Listview
2011-12-16 19:05:58 +00:00
ansstuff 84ae16d8c2 * HideMenu (Esc) only works when FCEU window has focus
* moved "Display movie status icon" from Config->Movie options to Config->Display
* File->AVI/Wav->Enable HUD recording
2011-09-23 18:09:40 +00:00
deign85 cacd846515 Added Save Screenshot As... functionality. It's messy, so please feel free to fix it up a bit. 2010-06-07 04:26:16 +00:00
zeromus 4e66aaef9c replace most of the crappy iostream stuff with EMUFILE 2010-05-17 21:02:38 +00:00
ugetab 046617c693 Added player 3 and 4 to autohold notification window. Made FCEU_DispMessage able to display to different screen locations to do it. Fixed up the input display code for autohold.
Wow, that's a lot of stuff changed for something so basic.
2010-05-16 04:18:49 +00:00
ugetab 8c379b7bba Added microphone button support to the Config>input dialog(replaces Port 2 Start button), the config file info, and the movie file header. Tested in 3 or 4 games, where it performed accurately.
I'll add the documentation later.
2010-04-28 19:25:52 +00:00
adelikat d9f59e45f6 Win32 - a Disable Movie Messages during AVI menu item. 2010-03-02 03:34:15 +00:00
CaH4e3 9e77b890a5 latest fceumm mappers merged into fceux
fixed sound volume bug
a lot of vandal modifications lol
2009-03-22 05:31:17 +00:00
adelikat c68e7c58e0 checking in WIP of Individual sound channel control 2009-01-12 18:59:00 +00:00
adelikat 800ebed60b Win32 - View save slots Menu Item added. 2008-12-27 00:08:29 +00:00
adelikat e7cf0d62c6 Win32 - Next save slot and Previous save slot menu items added. 2008-12-26 23:49:45 +00:00
adelikat d3697ca84e Win32 - Menu items Save State and Load State added. FCEU Menu reorganization. 2008-12-26 23:26:43 +00:00
adelikat a51aa36f29 Win32 - added many hotkey items as menu items 2008-11-24 15:24:11 +00:00
adelikat 5b0e6d5ee7 added avi output directory override (not yet used by FCEUX, however) 2008-11-07 14:53:05 +00:00
zeromus 85a03592c1 in progress: cleanup of multiplatformness of archive io apis 2008-08-13 07:49:48 +00:00
zeromus 93c18133cb [ 2047986 ] palflag 1 in .fm2 files crashes fceux ;
also, change build process so that upx doesnt happen until deploy.bat (lets you debug release builds)
2008-08-13 04:06:01 +00:00
zeromus 215d329804 SF [ 2047004 ] Moviefilenames without extension don't automatically get fm2 2008-08-12 03:28:51 +00:00
punkrockguy318 88b1fffe9d extensive sdl cleanup
see the changelog.txt for details
2008-08-10 13:38:39 +00:00
zeromus 2b2d70b221 - fiddle with nametable viewer to display correct NT,CHR,ATTR data in more cases (specifically, including some exotic mmc5 cases).
- fix a new bug in windows build which caused fourscore emulation to fail in some cases
2008-08-08 09:45:34 +00:00
zeromus c6b90a037e fix fds loading 2008-08-01 03:31:06 +00:00
zeromus f0fb3d140e fixes to lua engine
- loading script does an implicit stop first
 - script dying of natural causes triggers a stop, and thus an OnStop event in lua first (for proper cleanup)
2008-07-29 22:51:24 +00:00
zeromus cf65728642 lua!!!! 2008-07-23 06:54:14 +00:00
punkrockguy318 8359434381 attempt to fix build issues on gentoo
also moves the archive function definitions outside out driver.h, because they are being handled platform dependently.  Could someone on windows test this out?
2008-07-23 02:27:35 +00:00
zeromus bc54e2abba generalized the loading-from-archive code to work with any archive format and to load any kind of file from archives (although nothing but the roms may work yet and i will have to fiddle with things as requested). I probably broke the sdl build; just stub the two new FCEUD_ functions in the most brainless way possible and it should work. 2008-07-09 05:47:13 +00:00
zeromus 6f9831ec68 7zip archive browsing
configurable no-bg-render fill color
change to poweron sequence for movies. hopefully that wont break any compatibility.....
2008-06-25 06:34:08 +00:00
zeromus 15cc62e978 - movie metadata support
- movie metadata display
2008-06-22 23:41:24 +00:00
zeromus 69bc4b3f72 added obj/bg display toggle
much cleanups
fix memwatch configuration saving
2008-06-22 02:38:00 +00:00
zeromus 79de2d8295 - a ton of cleanups
- re-enabling some tasedit functionality
- stabilize emu during tasedit by disabling features
- clarify/stabilize some basic tas stuff (interaction with reset/poweron)
- remove a bunch of warnings
2008-06-21 07:24:01 +00:00