Commit Graph

1539 Commits

Author SHA1 Message Date
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
adelikat a56ad34cea Mostly implemented auto-hold input display, only controller 1 works completely. 2010-05-16 03:18:17 +00:00
adelikat 0aa8d22ca5 Attempt at auto-hold in input display 2010-05-16 02:34:51 +00:00
adelikat a1a74c6e9c Implemented read+write logic for handling a "post movie" savestate. Also fixed a slight error where rerecordcount wouldn't increment if _S9XLUA_H is not defined. 2010-05-16 01:46:04 +00:00
adelikat 7e48d40dfc This should be the final step in proper post-movie savestate loading. 2010-05-16 01:23:01 +00:00
adelikat 7c06c4d2ab Fixed up more loadstate logic. We had a slight logic error this whole time that wasn't a problem until now. Checking to see if a state is a future event, we assumed frame counter of the state matched the length of the movie. Now that movie finished is a mode, that is no longer true. Fixed that, and fixed the input display updating at the end of a load state to always look at the state input rather than the statemovie last record. This fixes proper behavior of saving and loading states during movie finished mode as per the "Laws of TAS": http://tasvideos.org/Adelikat/LawsOfTAS.html 2010-05-15 21:22:16 +00:00
adelikat 473b954991 Cleaned up some logic with read-only saving/loading and better error handling. Also made movie finished mode save movie content. 2010-05-15 18:09:11 +00:00
ugetab a874412b61 Added option for palette selection as color for LUA colors. Included an LUA script to display all choices with the value used to pick displayed color.
Documented new color option and missing gui.text information.
2010-05-15 05:03:53 +00:00
adelikat dc61c4c414 Better error handling in the event of wrong timeline. Loadstate is canceled, error message displayed, and movie continues playing. 2010-05-15 04:24:29 +00:00
adelikat 1415fb402c Revert some changes to MovieRecord class. savestate vector is de-pointered & public again as well. 2010-05-15 04:08:16 +00:00
adelikat 2cd959fd84 More robust way to handle previous fix. Put the string manipulations into generic functions in common.cpp 2010-05-15 02:38:32 +00:00
adelikat e8bed97821 Replay dialog, when selecting a movie in a relative path (.\movies for example), the recent movies list stores an absolute path instead. 2010-05-15 02:06:15 +00:00
adelikat 191196a2bb Win32 - When recording a movie, add it to recent movies 2010-05-15 01:48:53 +00:00
adelikat 6c474065fe Fix typo in command button checking of the compare() method 2010-05-15 01:40:39 +00:00
adelikat ddcd8f3566 Overhaul of MovieRecord class so it has a default contructor that initializes everything to 0, A deconstructor, and a get method for savestate vector. Fixes my timeline issues, but creates crash problems in TASEdit related to the deconstructor. 2010-05-15 01:05:42 +00:00
adelikat 691662f4c9 Make last commit compile, also replace command comparing methods 2010-05-14 23:51:42 +00:00
adelikat d5aa6a69b2 An attempt add doing "timeline" checks on movie savestates while in read-only mode. Commented out the function call since it isn't performing as expected. 2010-05-14 23:31:47 +00:00
adelikat 06b37466c2 new PPU flag - changed "New PPU" to "NewpPU", made flag false if no flag is present in a movie header. Win32 - replay dialog - display new PPU flag. 2010-05-14 16:55:15 +00:00
adelikat 320223bd29 Win32 - Replay dialog shows pal flag 2010-05-14 16:21:03 +00:00
adelikat f4e01e6e77 New PPU flag in movie headers (doesn't change an emulators PPU state when loading a movie) 2010-05-14 16:03:07 +00:00
adelikat 31ec231d1f MOVIEMODE_FINISHED should not store movie data into savestate. 2010-05-14 14:44:14 +00:00
adelikat 49d1ebd9a3 Uncommented a rather useful loadstate error message 2010-05-14 13:56:41 +00:00
adelikat 5a222bf49f better blend color for input dislpay, enough contrast that I can still tell on my bad monitor. 2010-05-14 03:24:05 +00:00
adelikat cf7e73cf98 Win32 - toggle item to restore old input display (saves in config as well) 2010-05-14 03:18:08 +00:00
adelikat 5eeb0b3684 input display overhaul - a more desmume style system which shows both keys held the previous frame and immiately held keys that will be put in on the next frame 2010-05-14 03:09:27 +00:00
ugetab bd5933dd68 Further optimization, now that I know the code functions and have something to fall back to if I mess up. 2010-05-13 21:08:37 +00:00
ugetab 816da56c87 Figured out a way to test joypad input without having one(PPJoy w/ Print Screen mapped to a button), and took out some redundant code. 2010-05-13 20:03:57 +00:00
ugetab e9bb9102ae Added rudamentry Between-Frames input display code for adelikat to customize. He said he had everything except the keyboard query done, so this should make it simple for him to pretty it up. 2010-05-13 19:33:27 +00:00
adelikat f04cb475a4 removing the change that caused movie data to be dumped binary by default. We want text until we make a toggle option where a user can select binary. 2010-05-13 13:46:11 +00:00
adelikat 8610f4ffb5 minor fix to last commit 2010-05-13 04:03:22 +00:00
adelikat 33ea23fee3 Input Display - displays a silver color when input is from a movie rather than the user 2010-05-13 03:53:20 +00:00
adelikat a832f49204 Win32 - Context menu - only display dynamic subtitle menu items if there are subtitles in the movie loaded. Document the dump to SRT context menu item. 2010-05-13 03:15:06 +00:00
ugetab 6b963affea With special scaler in window mode, it's possible to resize to anything above the minimum. Fixed the special scaler minimum testing, and I think someone forgot a pair of brackets some time ago. 2010-05-12 18:43:04 +00:00
adelikat 912e375d0e Read only toggle displays more informative message (informs user if movie is finished or there is no movie loaded) 2010-05-12 16:05:36 +00:00
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
punkrockguy318 d7ee576c1b SDL: implemented disableMovieMessage 2010-03-03 21:10:28 +00:00
punkrockguy318 8ade067b54 SDL: fixed compile error introduced in last revision 2010-03-03 20:46:21 +00:00
punkrockguy318 268adc7dd5 SDL: added some debugging info 2010-03-03 18:26:09 +00:00
punkrockguy318 70fed68de4 SDL: changed default keybindings to match w32 defaults 2010-03-03 09:28:23 +00:00
punkrockguy318 6b645249a1 SDL: fixed d-pad support (or any joyhat device) 2010-03-03 06:59:08 +00:00
punkrockguy318 3e98bed606 GTK: set individual mixers on slider change instead of restarting sound
* runs much nicer off of a live cd
2010-03-03 06:10:40 +00:00
adelikat fd009c252f Document movie FDS flag on help.chm
[[Split portion of a mixed commit.]]
2010-03-03 04:08:58 +00:00
punkrockguy318 17057e9fce SDL: added stubs to compile with adelikats latest changes
GTK: added code for a gtk terminal window (broken) (not currently being used)
2010-03-03 03:28:42 +00:00
adelikat 86f60b1371 Movie file format header now has a FDS flag. 2010-03-02 04:59:45 +00:00
adelikat 9149cf5326 Win32 - fix bug - cheats dialog - toggling a cheat in the cheats list box now updates active cheats count 2010-03-02 04:06:36 +00:00
adelikat d9f59e45f6 Win32 - a Disable Movie Messages during AVI menu item. 2010-03-02 03:34:15 +00:00
punkrockguy318 c15c8e5025 SDL: new default select is / 2010-02-28 07:50:10 +00:00
punkrockguy318 bbdc6f431b GTK: hotkey GUI dialog created (its broken right now) 2010-02-27 20:50:09 +00:00
punkrockguy318 c32e80286f SDL: hotkey config system revamped. shouldn't be too difficult to write a GUI for defining hotkeys in the near future 2010-02-27 20:05:42 +00:00
punkrockguy318 48cd9126b7 unix-net: don't re-use options from cfg
GTK: network GUI is functional
2010-02-26 04:51:44 +00:00
punkrockguy318 560890f2e5 GTK: dummy gui for netplay
unix-net: use DispMessage to inform user of connection problems/success
2010-02-26 04:24:49 +00:00
punkrockguy318 9633b71cf5 cleaning up the sdl tree 2010-02-26 03:41:31 +00:00
punkrockguy318 a2fa9062e0 GTK: updated file filters in load game to include zip archives 2010-02-26 03:28:02 +00:00
punkrockguy318 ab51ce9d28 GTK: typo.. vound -> video 2010-02-25 18:20:57 +00:00
CaH4e3 c129070dc0 CNROM, UNROM bus conflict emulation, Cybernoid CHR bug on music change fixed 2010-02-25 16:56:37 +00:00
punkrockguy318 42801f4f10 GTK: dialog enhancements 2010-02-25 06:55:10 +00:00
punkrockguy318 5a9cbdc615 GTK: added exceptions for lua scripts, movies, fds bios 2010-02-25 06:43:24 +00:00
punkrockguy318 cd2d6c5dc5 GTK: added exceptions for loading roms 2010-02-25 06:31:23 +00:00
punkrockguy318 1481f6491f GTK: removed dependency on zenity
SDL: added GTK_LITE option which enables GTK for dialog boxes but sticks to a command-line interface
GTK: changed the name of some macros; enable with GTK instead of GTK2
2010-02-25 06:22:07 +00:00
punkrockguy318 3f99f5d6bc GTK: sdl openGL crashes with special scalers; turn off scalers when gl is checked
TODO: a solution in sdl-video so we don't segfault in this situation
2010-02-24 10:18:52 +00:00
punkrockguy318 cc09e4dad1 GTK: restructured movie menus; added some options 2010-02-24 10:04:55 +00:00
punkrockguy318 619e586b31 GTK: implemented record movie/stop movie into menus 2010-02-24 09:52:39 +00:00
punkrockguy318 8b46355bc8 GTK: added file filters for file choosers
GTK: added Load FDS Bios function
2010-02-24 09:24:05 +00:00
punkrockguy318 bd1d923b78 * fix fds bug; .sav file was being opened read-only and causing "error reading auxillary FDS file"
* someone please test this change on win32 to ensure nothing is broken
2010-02-24 08:48:05 +00:00
punkrockguy318 e0988eac20 SDL: changed default fast forward from TAB to `; TAB is default select key 2010-02-24 08:22:45 +00:00
punkrockguy318 5f2bd46410 GTK: fixed NTSCcolor option 2010-02-24 08:05:53 +00:00
punkrockguy318 14312c7526 sdl: don't test for fds keys when fds rom isn't loaded 2010-02-24 07:55:12 +00:00
punkrockguy318 0547ec7af7 SDL: fds eject/insert now mappable; default f6 and f8
GTK: addded insert/eject menu options
NOTE: fds files are still broken in SDL (error loading auxillary fds file?)
2010-02-24 07:52:37 +00:00
punkrockguy318 eae3042e42 GTK: added clear palette button
GTK: added exception for bad palette file
2010-02-24 06:51:30 +00:00
punkrockguy318 39787369f3 GTK: added palette config dialog; moved color/tint/hue from video dialog 2010-02-24 06:37:18 +00:00
punkrockguy318 5edbb5d5aa GTK: added xscale/yscale UI options
GTK: added lowpass sound option
2010-02-24 06:01:30 +00:00
punkrockguy318 3c9dd8c793 SDL: verbose when loading custom palette
GTK: added color/tint/hue options in video dialog
2010-02-24 05:36:49 +00:00
punkrockguy318 f4bb1df7fd GTK: added volume mixer controls from individual mixers (square1/2, triangle, noise, etc) 2010-02-24 04:38:29 +00:00
punkrockguy318 1dd8e8b47b GTK: added Very High to sound quality options 2010-02-23 08:51:40 +00:00
punkrockguy318 ee997e6f9f GTK: cleaned GUI padding for video, sound, and input dialogs
GTK: title includes version number
GTK: added fourscore option
2010-02-23 08:34:06 +00:00
punkrockguy318 994eb69c75 SDL: OLD* ppu by default (thanks adelikat) 2010-02-23 02:51:18 +00:00
punkrockguy318 44c7b1ad17 SDL: fixed alt/shift bug i comitted a revision ago
SDL: set sane defaults for sound; enable newPPU by default
2010-02-23 02:49:39 +00:00
punkrockguy318 c6dca72ba9 SDL: fixed alt/shift modifiers for sdl 1.2 and 1.3 2010-02-23 02:02:59 +00:00
punkrockguy318 f31989c8fa SDL: accidently comitted something stupid
TODO: shift/alt mods in 1.3
2010-02-23 01:54:09 +00:00
punkrockguy318 6a45cd05e9 SDL: fceuX ported to SDL 1.3; full compatibility maintained with 1.2
SDL: compile-time SDL version printed with "--help"
2010-02-23 01:31:54 +00:00
punkrockguy318 f5457f2ace gtk: code cleanup; added wrapper function to toggle cfg options 2010-02-22 21:54:48 +00:00
punkrockguy318 3376049269 GTK: added newPPU option
GTK: fixed issue where some options were not being saved when a game wasn't being loaded
SDL: fixed an issue with newPPU command-line option
2010-02-22 21:39:17 +00:00
punkrockguy318 2e5093fe6e SDL: Comment added to SDL config file indicating the location of the keycode definitons 2010-02-20 04:11:29 +00:00
punkrockguy318 d503388437 SDL: Throttling key is now mappale (default: TAB) 2010-02-20 04:04:38 +00:00
punkrockguy318 b0786740a2 SDL: added --help and -h options to show usage 2010-02-20 03:41:07 +00:00
punkrockguy318 d1bab4ef09 GTK: added PAL option
SDL: fixed PAL sf2842769
2010-02-20 03:33:26 +00:00
punkrockguy318 9f9cb9c2fc GTK: hide window on fullscreen
GTK: add framework for display FCEUD_Message()s
2010-02-19 16:36:39 +00:00
punkrockguy318 7b11c1e8a8 GTK: minor menu adjustments 2010-02-19 05:46:23 +00:00
punkrockguy318 6da628e69d GTK: added openGL option, and movie loading option 2010-02-19 05:44:06 +00:00
punkrockguy318 86b65da02e GTK: video config window added; special scaler options added 2010-02-19 05:29:16 +00:00
punkrockguy318 85138cc503 GTK: code cleanup
GTK: fixed issues with sound buffer widget
2010-02-19 04:48:51 +00:00
punkrockguy318 125648d2f7 GTK: replaced depreciated combo with a nice nifty combo box (minor UI improvement) 2010-02-19 04:33:43 +00:00
punkrockguy318 735e239977 GTK: sound config dialog completely functional 2010-02-19 04:29:07 +00:00
punkrockguy318 806f0661be GTK: added sound preferences window UI. The controls currently effectively do nothing 2010-02-19 02:46:55 +00:00
punkrockguy318 f4d8036223 GTK: added support for configuring gamepads besides gp1
GTK: cleaned gamepad config UI slightly
2010-02-19 02:03:04 +00:00
punkrockguy318 82c55b16e4 GTK: added GUI for --inputcfg; only works with gamepad 1 currently 2010-02-19 00:40:16 +00:00
punkrockguy318 160faa8837 SDL: Fixed possible audio segfault
GTK: Added menu options for screenshot
GTK: Added save as/load from for savestates
2010-02-18 23:29:33 +00:00
punkrockguy318 d7778a67cf SDL: bugfix: cursor is hidden in fullscreen 2010-02-18 22:42:59 +00:00
punkrockguy318 572f53f761 GTK: added fullscreen option; removed dummy menu options; removed WIP from titlebar 2010-02-18 01:23:03 +00:00
punkrockguy318 b0569356f0 GTK: added pause, resume, and reset menu options 2010-02-18 01:15:37 +00:00
punkrockguy318 11298ff1a5 improved boundary checking for previous bugfix 2010-02-17 06:00:41 +00:00
punkrockguy318 1bb4c8f53e SDL: bugfix - no longer crashes with invalid keys in fceux.cfg 2010-02-17 05:51:32 +00:00
ugetab 236708f9b8 Optimized/beautified previous committed code. Appears to function identically, and uses a single function throughout 16 files. 2010-02-08 04:33:46 +00:00
ugetab 9c5a81471e Added window bounds checking to all WM_MOVE entries due to a bug report and example fceux.cfg file from Gil_ at the nesdev IRC. Win32 only. 2010-02-07 22:19:38 +00:00
mart0258 088c065c9d W32 LUA: Add argument capabilities to scripts -- appears as variable "arg", which may sometimes be null. (Modified file also adds a second screenshot capability to lua.) 2010-02-02 22:12:07 +00:00
gocha 98f713f6ab add lua51.dll and lib 2010-01-31 11:12:17 +00:00
CaH4e3 56c7624cf2 fixed tracker bug ID#2931881 2010-01-15 10:07:32 +00:00
mart0258 2a3dfe7184 W32 record dialog: Fix off-by-one error, buffer overflow, and remember decision to record from "start" or "now". 2010-01-14 21:15:18 +00:00
rheiny 07a0d1efd7 Trace logger now logs the values of the stack pointer register 2010-01-08 16:58:21 +00:00
punkrockguy318 d66488ad26 unix netplay should actually work now
fceu-server is required; maybe we should start packaging this with fceu?
2009-12-31 06:37:57 +00:00
punkrockguy318 5e82639871 * fixed bug where fceux would eat cpu when not running rom (GTK+)
* minor SDL audio perfomance increase
2009-12-30 22:01:15 +00:00
zeromus 8586ec1e40 sdl: fix link error related to use of variable turbo in movie.cpp, and add --fourscore for fourscore emulation (since the way this is submitted to the core emulator changed within the past year and sdl's method was out of date) 2009-12-29 07:03:57 +00:00
mart0258 4e3f25c906 w32 - Tasedit - Allow requests to fast forward to frame past greenzone, and skip non-essential updates to improve speed. 2009-12-27 20:44:39 +00:00
punkrockguy318 eb504adb19 cleaned some code
moved sound checkbox to main window (pointless to have a pref window really; main window is pref window)
TODO:  Hotkey config / Input config
2009-12-22 06:40:33 +00:00
punkrockguy318 5011579ba1 added preferences window to gtk gui
added sound option in gui 
removed uncessary parameters from InitSound so it can be used from gui
2009-12-22 05:12:25 +00:00
punkrockguy318 491311db44 added lua script loading to gtk2 gui 2009-12-21 20:03:24 +00:00
punkrockguy318 af14209f43 Added about dialog to gtk2 2009-12-21 12:17:03 +00:00
punkrockguy318 b62bdede3b gtk2 bugfix: no longer crashes when escape hotkey is used
note to SDL: use CloseGame in the SDL code, not FCEUI_CloseGame.
2009-12-21 11:41:58 +00:00
punkrockguy318 ea64540d0f GTK GUI: Open, Close, and Quit menu options now work properly
Games can now be opened and closed on the fly without exiting fceux
2009-12-21 11:21:06 +00:00
punkrockguy318 4b6d0c4b3f cleaned up gtk2 code quite a bit
until direct sdl rendering on gtk2 can occur, the file menu will be in a seperate window
however this will allow direct interfacing with the emulator rather than just command line options like gfceux
2009-12-21 10:49:20 +00:00
punkrockguy318 98096d5b52 cleaned some gtk2 code
fixed build scripts for building w/ gtk2
2009-12-21 10:28:01 +00:00
mart0258 2a57a4287a Win32 - Fix crash on failure to toggle to fullscreen. 2009-12-19 23:58:38 +00:00
qeed 03bb053a7f fix compile error for linux 2009-12-18 17:02:23 +00:00
mart0258 60ff9e4627 fix compilation error 2009-12-18 15:16:16 +00:00
mart0258 f0b33ec203 Win - TASEdit updates - display readonly in-window and allow saving greenzone. 2009-12-18 05:40:38 +00:00
qeed 28cc8f5aae fix some sprite overflow stuff for new ppu 2009-12-18 01:10:26 +00:00
punkrockguy318 86123d257e began integration of GTK into the SDL tree
see gui.cpp at r1601 for demonstration of how this SHOULD work
currently, fceuX is creating its own new window instead of using GTKs window
added flag GTK_GUI (in code for now, will add to scons build later)
added line to sconstruct for GTK libraries (commented by default)
2009-12-17 07:27:17 +00:00
punkrockguy318 7af0329bf4 added functional GTK2/SDL framework
currently seperate from all fceux code but will soon be integrated into fceux 
in order to create an integrated UI on the linux build
2009-12-17 06:19:08 +00:00
mart0258 d9be086126 MinGW - fix some possible build issues and compile time errors 2009-12-11 03:07:34 +00:00
zeromus 621cc8e260 fix ntview for new ppu?
[[Split portion of a mixed commit.]]
2009-12-08 05:54:21 +00:00
mart0258 60abe35afb fds - show filename of missing bios file 2009-12-08 04:28:05 +00:00
qeed fe70d1bc32 fixed sprite hit before 255 and for non transparent hits only, thanks to dwedit for providing the fix 2009-12-08 00:51:14 +00:00
zeromus b8a4067542 sdl: dont allow --inputcfg gamepad0 and gamepad5 etc. as there arent actually that many gamepads 2009-12-07 01:19:52 +00:00
qeed 63be69bd72 removed xo code that was causing 3 frame delay when taking a hibuffer path of rendering 2009-12-04 22:20:22 +00:00
mart0258 270ce9466b Add autosave qty and frequency to config + stability fix 2009-11-26 02:11:09 +00:00
mart0258 32f0231910 TASEdit - Cut, Copy, Paste 2009-11-23 20:53:45 +00:00
mart0258 ca6f2be5f8 Tasedit - frame delete keyboard shortcut and related fixes 2009-11-23 01:48:17 +00:00
mart0258 b949a21fc4 Tasedit - multiframe edit by Shift/Ctrl DoubleClick 2009-11-23 01:05:31 +00:00
zeromus b145ac8b67 win32: properly use background input flag on emulator bootup 2009-11-20 15:45:55 +00:00
adelikat 3fd7c05579 Win32 - TASEDit - made the import FM2 menu item open the play movie dialog. This will suffice until the import concept is implemented. 2009-11-19 22:20:25 +00:00
adelikat fdd7af8997 Win32 - if Cheats dialog pauses the emulator, the emulator will unpaused if it regains focus. 2009-11-18 02:06:06 +00:00
adelikat ecbf9a2dd4 Win32 - Cheats - Pause while Active checkbox installed. 2009-11-18 01:51:37 +00:00
adelikat 7d34e1a885 vc9 now compiles, I have no idea what just happened. 2009-11-18 00:20:52 +00:00
adelikat 917b45f235 stupid Visual Studio not saving everything. 2009-11-17 23:51:08 +00:00
adelikat c400aaab01 Win32 - Fix debug window so it doesn't crash if unminimized with no game loaded. 2009-11-17 23:50:03 +00:00
ugetab 19b5cf13f5 Made the debugger window more persistent, both because the debugger can now be opened without a game loaded, and because someone complained about how the debugger closed when you went to File>Close, even though it would return on game load. 2009-11-15 01:52:29 +00:00
qeed 4681d20481 fix include error 2009-11-14 17:33:26 +00:00
mart0258 0a4a280417 win32 - log - Remove potential buffer overflow 2009-11-14 03:48:47 +00:00
mart0258 7774d786cb Win32 - TasEdit - Adding functionality to interface items. 2009-11-14 02:46:03 +00:00
adelikat cde73a67dc made savestate compression togglable. Win32 - enable a menu item to toggle savestate compression. For SDL to have a similar feature it simply needs to toggle the variable bool compressSavestates in the core state.cpp. 2009-11-13 05:35:32 +00:00
adelikat 4a3369186b made backup savestates togglable. Win32 - enable a menu item to toggle backup savestates. For SDL to have a similar feature it simply needs to toggle the variable bool backupSavestate in the core state.cpp. 2009-11-13 04:21:24 +00:00