Commit Graph

1355 Commits

Author SHA1 Message Date
adelikat 9006fd7a73 Movies now have a "finished" option. If a playback stops the movie isn't cleared from memory, and can be replayed or a state loaded. Similar functionality as DeSmuME and GENS rerecording. 2010-05-12 15:31:24 +00:00
adelikat 4456368632 Loadstate now updates input display even with no movie loaded. 2010-05-12 13:06:23 +00:00
ugetab 14d628ff81 Conflicted with my own commit. Repaired conflicted files, and made sure about the code removal I intended as well. 2010-05-12 03:53:15 +00:00
adelikat 91e4d77283 Somehow a tortoise 'conflict' got committed 2010-05-12 03:23:37 +00:00
adelikat b5ea58271b Fixed so that loadstate updates input display during movie playback as well. 2010-05-12 03:14:41 +00:00
ugetab 6131a6ea79 Added Ram Search hot keys. Replaces previous committed Cheat Dialog hot keys. 2010-05-12 03:09:56 +00:00
adelikat 952320e1df Loadstate updates input display if movie is recording 2010-05-12 03:07:03 +00:00
ugetab 659684b936 Added hotkey options for the cheat dialog buttons Equal, Not Equal, Greater Than, and Less Than. Doesn't allow use of the checkbox options using hotkeys. 2010-05-11 22:12:49 +00:00
ugetab 3a750d276e Found a way around an inefficient comparison method I was using. 2010-05-10 23:06:25 +00:00
ugetab ef4af2ff0e Updated the Listbox Context Menu code to account for the context menu keyboard key. Thanks zeromus. 2010-05-10 22:50:21 +00:00
ugetab 0a2e4bf547 Added a context menu to the debugger breakpoint list(toggle only), and edited the description for the cheat toggle item a little. 2010-05-10 19:07:06 +00:00
ugetab 6c991885bf Added a few options to emu.getscreenpixel. Can now fully distinguish between LUA and Emu pixels, or ignore distinction. 2010-05-10 16:52:27 +00:00
ugetab a8016502b0 Added gui.getpixel() and emu.getscreenpixel() to get LUA pixel written. Also fixed some coding misconceptions about how LUA worked for Game Genie Add/Delete functions. Documented stuff. 2010-05-10 07:20:55 +00:00
ugetab da1da1c675 Optimized Unfreeze All Addresses routine in Hex Editor 2010-05-09 15:28:15 +00:00
ugetab 027c4eebb5 Added "Dump Subtitles to SRT file" context menu item. Only appears for movies with subtitles. Only tested with 1 movie, but it worked almost perfectly, except that site videos have a TASVideos intro that will have to be accounted for. 2010-05-09 06:31:06 +00:00
ugetab a24932ceff Added right-click subtitle toggle to movies with subtitles, and probably forgot to save the help file before the last commit. 2010-05-09 03:30:14 +00:00
ugetab 40423f46a0 Fixed several LUA savestate issues, including crashes and silent failures, and added savestate.object(), which is savestate.create() with intuitive save state ordering. Also documented it. 2010-05-09 02:02:20 +00:00
ugetab a5a1af821a Added emu.addgamegenie() and emu.delgamegenie() functions to LUA. Documented them as well. Took the todo out of a few comments too. 2010-05-08 20:34:27 +00:00
CaH4e3 f0a3f8cf21 redundant code removed, let windows doing it on by own 2010-05-08 09:27:42 +00:00
ugetab c136fcfa1e Added something to automatically add an extension to the filename in the dialog window. I think I'm going to make CaH4e3 mad at me too. 2010-05-08 08:30:16 +00:00
CaH4e3 111cc48167 DefExt enabled again 2010-05-08 08:24:30 +00:00
ugetab a6e42d8e5c Decided that one of the static_cast was in danger of causing an error, so I altered the other test instead. 2010-05-08 02:39:07 +00:00
ugetab 8c58b23e77 Further normalized all of the Open/Save dialog filters, and static_cast several annoying warnings into oblivion. 2010-05-08 02:30:40 +00:00
ugetab 61fd43ab95 1. Added context menu to Cheat Dialog Cheat Listbox
2. Populated list with Toggle Cheat, Poke Cheat Value, and Goto In Hex Editor
3. Fixed Hex Editor Color Display code. I was overflowing it before.
4. Made enabling/disabling cheats no longer deselect the selected cheat.
2010-05-08 00:04:26 +00:00
ugetab 4b4cf0723d Added metadata loading(right-click during playback, 'View comments and subtitles') for recent movies, last played movie, and drag-n-drop movies, and likely managed any others that I didn't try as well. 2010-05-07 02:37:02 +00:00
adelikat dd0d5df80b Add a GetPath() function to common.cpp since there seems to be a lot of variations of that code floating around the codebase. 2010-05-07 02:06:49 +00:00
ugetab 5d24f21a42 Got Add Cheat button working in Ram Search and Ram Watch. 2010-05-06 23:47:57 +00:00
ugetab 672c187177 Added 'AddExtensionIfMissing', which replaces every other means of adding a missing extension to a file, and allows one to use All File to save with any extension. Added 'All Files' option to all dialogs that didn't have it. Uses the file extension a user manually selects to pick what extension to add to a filename.
Also did other save dialog optimizations and normalizations, because I was looking at all of them over and over again.
2010-05-06 21:48:23 +00:00
ugetab 63ad8f4bbf Made the Hex Editor display the Frozen, Bookmarked, etc. status of the selected address, and made the Frozen color override the Bookmarked color. 2010-05-06 18:08:25 +00:00
adelikat 9562855f09 SDL - fix compile when no GTK, addresses issue 2997371 2010-05-06 11:46:51 +00:00
ugetab ee554ce2f1 Debugger no longer 'Always On Top' after using 'Restore original window size' button in debugger. 2010-05-06 01:07:49 +00:00
ugetab 05c76ec6c2 1. Debugger no longer reloads itself to load new game .DEB data
2. Added checkbox for .DEB loading
3. Updated Symbolic Debugging info in help documents
4. Made bookmarks work (need to check the rest of the //MBG TODO items too)
2010-05-06 00:34:45 +00:00
ugetab 821424be42 Added DefExt to one more file save routine. 2010-05-05 14:31:39 +00:00
punkrockguy318 2f0651c7cc sdl: fixed a bug introduced in r1744; i think qeed committed changes to an older version of the file or something; all is well now
the bug slowed the emulation speed down to 2%
2010-05-05 08:29:37 +00:00
CaH4e3 52f6cdf5be make previous fixes more windows specific ;) why not let windows handle this instead of doing it by own hand?
filled all defext options for all save dialogs
2010-05-05 08:22:31 +00:00
ugetab 0bbf59739b Neglected to save a change for the last commit. 2010-05-05 05:59:51 +00:00
ugetab 40eff5685b Added basic default extensions to a few save dialogs that were missing them. Addresses bug 2996917. 2010-05-05 05:55:00 +00:00
ugetab cbfd453bcd Added a sanity check to the GotoAddress code, because some users have none. 2010-05-05 05:02:23 +00:00
ugetab b7fc64fe7e Added Goto command for Hex Editor. 2010-05-04 16:33:20 +00:00
ugetab 4278ff2b27 Made an error when adding Conditional Debugging Option 'K'. Fixed it. Addresses bug 2996334. 2010-05-04 06:52:35 +00:00
ugetab a05a4b4b0f Made the SDL version create the directory "movies" instead of "movie" 2010-05-02 23:26:52 +00:00
qeed fa7212435b fix small text alignment on printing help 2010-05-01 21:23:03 +00:00
qeed 5308b98264 p2mic thing 2010-05-01 21:17:42 +00:00
ugetab da1a1c7b61 This input.h addition proved useless. 2010-05-01 20:34:54 +00:00
ugetab 1f70280225 Dealt with bug 2746888. LUA now CDs to folder of LUA file on load. Added working Windows CD code, and test *NIX CD code. *NIX code still needs to be confirmed. 2010-05-01 18:48:42 +00:00
ugetab 0613eb2163 Addressed bug 2995032. LUA now throws a maximum of 8 errors when stopping a script. 2010-05-01 16:42:06 +00:00
ugetab 6c902a9562 Updated documentation for microphone, and reduced microphone polling restrictions. 2010-04-28 21:51:08 +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
ugetab 558c7930ae Added what amounts to a working example of a Microphone button. When playing an FDS game, the microphone replaces the input that the Start button would have.
Also added config file option replaceFDSStartWithMicrophone to allow someone to restore the previous functionality. I won't fully detail this unless there's no reasoning against it.
2010-04-28 08:06:56 +00:00
mart0258 ed6a9b0684 FCEUI_MoviePlayFromBeginning() - prevent movie-loading delay.
MovieRecord::dump() - handle binary movies.
2010-04-28 04:50:32 +00:00
mart0258 fd9b3a2978 Slight performance boost to re-recording savestates. 2010-04-28 03:13:33 +00:00
fatratknight 45c10c1e23 Fix attempt #2 of a desync under high lua load, joypad.get, and a stateload from the user. Removed a call to FCEUD_UpdateInput, that's the whole fix. I mostly undid ugetab's recent changes in this change. 2010-04-26 01:58:49 +00:00
ugetab d5fa95c276 Fixes an error with joypad read coding in LUA with processing-heavy scripts, when loading save states. Yes, it takes all of that to cause the error. Someone who uses FCEUX to TAS should try stuff starting from a save state, with LUA going.
FatRatKnight believes it's because the process of pressing a button to load a state, combined with the keyboard reads in LUA, and the heavy processing delaying code execution combine to allow for a skipped frame. The heavier the LUA processing, the more likely a skipped frame.
2010-04-24 22:20:10 +00:00
ugetab 5600ba096b Added an error message to account for FDS BIOS files that aren't exactly 0x2000 bytes in size. The 40k copy floating around shouldn't cause unannounced errors anymore. 2010-04-24 15:54:34 +00:00
ugetab 297d2f2d55 Attempted optimization broke the Visual Themes coding in Release builds. 2010-04-23 22:08:39 +00:00
ugetab a1e4ffe59a Made INES PAL test check only the filename. Error was listed by Andypro on TASVideos forums, page 5. Not in a position to check against a Unix file path. 2010-04-23 21:01:11 +00:00
ugetab 6ad9147ac8 Added an option to Tools>GUI that creates/deletes a (program name).manifest file, to disable the stuff that kuja_killer didn't like. Only affects things for those using visual themes. 2010-04-23 19:32:51 +00:00
ugetab 80f6049f2e Added my attempt at an Intermediate level Debugger Usage Guide to the help document, and fixed a small issue with 'Forbid' breakpoints where even if they were disabled, they would still have the same effect as when enabled. These can now be turned off without deleting them. 2010-04-22 03:46:56 +00:00
ugetab 1ff2b3d892 lua functions movie.ispoweron() and movie.isfromsavestate() fixed. 2010-04-21 21:10:17 +00:00
adelikat a96f1e5360 New lua functions movie.ispoweron() and movie.isfromsavestate() 2010-04-21 03:24:14 +00:00
adelikat daad084393 Win32 - Drag & Drop - if dropping a .fcm with no ROM loaded,
prompt for one (same functionality that was added to .fm2 files)
2010-04-20 19:28:05 +00:00
ugetab 4ff3aed35b Found a release-version crash error when looking up the mapper name for the message log(which was tied to message display). Fixing it required renaming a typedef struct to stop confusing the debugger/compiler, and then making a simple loop that tests against the listed mapper number instead of the array number. 2010-04-20 17:11:24 +00:00
shinydoofy 5d0aefac08 GTK: fix two typos in gui.cpp 2010-04-10 13:42:33 +00:00
ugetab 16ae807d6b Very likely fixes the Recent games list(to prevent games from randomly going missing from it). Testing suggests that this could have caused setting-erasure errors before the Recent games error started occurring regularly. 2010-04-09 06:58:50 +00:00
ugetab bad5a79e91 Added conditional debugging option 'K', for the bank the PC is on. A workaround-style option to address Tracker Item 2007006, which suggests 24-bit breakpoint addresses to account for bank. Testing shows that the bank evaluates to 0 on RAM code access. 2010-04-08 21:26:20 +00:00
adelikat 801f4c7d96 Fix bug that caused zapper.read() to crash when a movie playback ends. 2010-04-08 20:44:59 +00:00
ugetab df995a5525 Made some small changes to breakpoint operations so that enabling Execute on an address doesn't prevent Read and Write breakpoints from functioning if also enabled. Addresses Bug 2806233. 2010-04-08 19:30:55 +00:00
adelikat 895c8111e2 Start 2.1.4 interim 2010-04-08 14:35:10 +00:00
adelikat 84e328d6ba Prepared files for release. This revision marks the 2.1.3 Release 2010-04-08 13:49:26 +00:00
ugetab 1a98ae6284 Fixed conditional debugging text loading on second+ game load. Variable cleanup was mainly using free(), but code was testing prior usage with if(variable) coding, evaluating to true from the random data, and feeding the freed variables to functions. 2010-04-08 01:57:15 +00:00
smelenchuk f0c5732035 Checks in Lua gui.text() to make sure drawing isn't attempted
off-screen.  Should close #2692369.
2010-04-08 00:46:56 +00:00
adelikat b38e181aa6 Win32 - Lua console - filename updates when lua scripts are dragged to emulator or recent filenames invoked. This is done by implementing an UpdateLuaConsole() function. TOOD: there are probably other useful things for that function to do. 2010-04-07 23:56:15 +00:00
adelikat b7b4629019 Lua - ip out all the code related to pausing/unpausing of the emulator when running/stopping lua scripts. Let the user be in control of that. 2010-04-07 21:45:06 +00:00
mart0258 bb51d75e22 Remove one of a few slowdown bugs when reading movie files 2010-04-02 04:34:12 +00:00
punkrockguy318 f886aad5fa sdl: fixed glitch introduced with last revision that didn't allow scalers at all (small oversight by me) 2010-03-31 03:59:11 +00:00
punkrockguy318 7a323bba85 sdl: actually bomb out cleanly when scalers are actived with openGL; else we will segfault 2010-03-31 03:50:42 +00:00
ugetab 3e34f5707b Made closing minimized windows stop trying to save the position as a negative number, part of what's reported under Tracker Artifact 2979512. 2010-03-31 03:46:16 +00:00
punkrockguy318 d4f6aae2cb sdl: exit cleanly when scalers are enabled instead of segfaulting 2010-03-31 03:44:40 +00:00
punkrockguy318 d11744b9da gtK: removed some code that changed the scaler to null with opengl as it seems that it works in openGL now 2010-03-31 03:35:42 +00:00
adelikat 4cf0532e30 Lua - fixed zapper.read() to read movie data if a movie is playing. Also changed the struct values to x,y,fire. This breaks lua scripts that used it previous, sorry. Fixed the zapper lua scripts to be compatible with the new zapper code. Updated documentation to reflect this change.
[[Split portion of a mixed commit.]]
2010-03-28 04:47:02 +00:00
ugetab bd7bc4effd Added ability to disable .deb file read/write, and related debugger window reload, by adding "debuggerSaveLoadDEBFiles 0" to the config file. Basically turns off all the debugger file stuff I worked on for those who dislike the feature. 2010-03-15 21:28:13 +00:00
mart0258 c1590b3a1b w32-Tasedit: Enable insert frames, improve greenZoneCount stability, TAS fastforward performance boost. 2010-03-09 03:40:10 +00:00
punkrockguy318 8d3328c177 SDL: moved sound config options to SDL.Sound.* 2010-03-08 01:56:26 +00:00
punkrockguy318 f21d1f20a1 GTK: fixed some issues with the load palette dialog 2010-03-08 00:12:37 +00:00
punkrockguy318 7790de5fe3 GTK: fixed segfaults when fullscreen would be called with no rom loaded 2010-03-07 23:48:50 +00:00
punkrockguy318 a0924098ad GTK: fixed bug where palettes wouldn't open via GTK
GTK: code cleanup and compile warning silencing
2010-03-07 23:45:10 +00:00
punkrockguy318 a875e87a3f GTK: disabled some unused code to silence some warnings 2010-03-07 23:27:25 +00:00
punkrockguy318 45bcee9ecf GTK: some code cleanup --This line, and those below, will be ignored--
M    src/drivers/sdl/gui.cpp
2010-03-07 08:52:23 +00:00
punkrockguy318 7189095a37 GTK: fixed segfault when exiting GetFilename dialog 2010-03-07 08:07:49 +00:00
punkrockguy318 e5000960a3 cleaned up NSF file loading print statements 2010-03-05 03:53:40 +00:00
punkrockguy318 f454e04542 GTK: added menu buttons for playing nsf files
i dind't even know this was possible with fceux, i'm a very happy man
2010-03-05 03:24:30 +00:00
adelikat 5ca3ed251e Win32 - If .fm2 drag & dropped with no ROM load, the open ROM dialog will appear 2010-03-04 15:09:49 +00:00
punkrockguy318 3507285489 sdl: major code cleanup
sdl: usage info updated
2010-03-04 06:53:15 +00:00
punkrockguy318 3002e917b1 GTK: added power menu item 2010-03-04 05:41:20 +00:00
punkrockguy318 1ce0d7ffa6 GTK: added some code for controlling device types (incomplete) 2010-03-04 04:23:44 +00:00
adelikat 135612a3bd else if, not if 2010-03-04 02:03:33 +00:00
adelikat a160271782 Win32 - remove a debug printf left in by mistake. 2010-03-04 00:33:46 +00:00
punkrockguy318 2909cb4cc8 all - print mapper name on rom load 2010-03-03 23:52:20 +00:00
punkrockguy318 a917321d1f gtk: added insert coin menu button 2010-03-03 22:57:59 +00:00
punkrockguy318 13439c0ee8 sdl: vs unisystem keys now mappable 2010-03-03 22:55:42 +00:00