Commit Graph

1364 Commits

Author SHA1 Message Date
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