Commit Graph

2089 Commits

Author SHA1 Message Date
zeromus 5850d48823 win32: fix context menus to use rightclicks in context menus correctly 2011-08-25 07:33:56 +00:00
CaH4e3 dea31f040e PAL/NTSC noise fixed 2011-08-19 07:53:07 +00:00
zeromus 94960278e5 slightly improve hud text rendering wrapping 2011-07-18 02:31:11 +00:00
punkrockguy318 4645ee126b sdl: patch to resolve 'XKeysymToString' complication errors on debian sid and osx (thanks antonio ospite!) 2011-07-15 04:00:09 +00:00
plombo a0b26b8b2b sdl: fixed --nogui option and removed SDL.NoGUI from fceux.cfg 2011-07-05 20:28:37 +00:00
fatratknight 36a2723fe4 Reordered a function call. Now it updates the lua window with the proper file path when you select a lua script from the recent menu. 2011-07-05 01:56:44 +00:00
zeromus 5975decb3d try fixing lua drawing alpha blending stuff 2011-07-01 04:01:20 +00:00
zeromus 469a7bed9b win32: poll hotkeys while no rom is loaded 2011-06-16 17:19:57 +00:00
aquanull ce8c18789f Some minimal fixes and clean-ups. 2011-06-09 12:17:47 +00:00
punkrockguy318 68200c2d6a sdl - fixed "--help" fix introduced with previous revision 2011-06-02 04:07:14 +00:00
punkrockguy318 cff16d4ae4 sdl - print usage when help arguments are passed even if SDL cannot be initialized 2011-06-02 04:02:11 +00:00
zeromus c36da5bb50 win32: add hotkey for ntview 2011-05-09 05:57:35 +00:00
zeromus 1c509ed632 win32: try calculating debugger font height 2011-05-07 17:47:24 +00:00
CaH4e3 1f57d295cb Debugger line number calculation doesn't appear to be right anyway 2011-05-07 10:47:49 +00:00
zeromus 6ce0cee9a0 win32: tighten up the address mousepos calculation and resize behaviour line in the debugger 2011-05-06 20:59:54 +00:00
punkrockguy318 55e45af3dd sdl: fix compile error 2011-04-26 02:29:04 +00:00
punkrockguy318 0d20afaf5e sdl: ESCAPE now quits by default (unless your running with gui). this can be disabled by setting "SDL.Hotkeys.Quit = 0" in fceux.cfg 2011-04-21 03:36:08 +00:00
punkrockguy318 43abe9fe7c sdl: dont bomb out on inputcfg in certain combonations of gtk toggle and nogui toggle 2011-04-21 01:23:15 +00:00
plombo c7096f4d4a sdl: revert revision 2160; fixes --inputcfg 2011-04-21 00:26:19 +00:00
punkrockguy318 c9678317a4 sdl: cleaned up showusage string 2011-04-21 00:01:26 +00:00
punkrockguy318 12e3a9b07a sdl: create ~/.fceux dir with 755 permission 2011-04-20 23:21:43 +00:00
punkrockguy318 8077c10ad6 sdl: bugfix - list option "nogui" properly as "--nogui" instead of "--no-gui" 2011-04-18 13:53:54 +00:00
punkrockguy318 7fcfed38bd gtk: use accelerator functions instead of direct access for future gtk3 compilation 2011-04-09 03:12:46 +00:00
plombo fdb03d894b sdl: remove useless commented code 2011-04-09 00:00:15 +00:00
punkrockguy318 ee980142f5 sdl: pause before switching to fullscreen; resume when switch is complete 2011-03-31 00:26:22 +00:00
punkrockguy318 b5c95f8a82 gtk: string change; there were two "q" menu shortcuts in the File menu 2011-03-30 03:16:12 +00:00
plombo 602b7e82fe sdl: make previous commit compatible with SDL 1.3 2011-03-30 03:11:34 +00:00
plombo 1b5b6ee38d sdl: change the way that the Shift and Alt keys are detected
Fixes an issue that would occur after switching from SDL fullscreen to GTK+ windowed, where pressing Enter after releasing Alt in windowed mode would trigger a switch back to fullscreen.
2011-03-30 02:56:44 +00:00
plombo 3dbcd76aa9 gtk: don't show state slot changes on the game screen if they are done using the menu (as opposed to using a hotkey) 2011-03-29 23:52:06 +00:00
plombo eb0c8e6175 gtk: make the 'Change State' menu items (0-9) look normal, and update its selection when the state slot is changed with a hotkey 2011-03-29 23:42:43 +00:00
punkrockguy318 14869a046a gtk: add some padding to network config
gtk: adjustment to last commit
2011-03-29 00:27:19 +00:00
punkrockguy318 0809f5261a gtk: don't have redundant labels on savestate menu 2011-03-29 00:18:47 +00:00
plombo 935946d83d gtk: add accelerators for recording and saving movies (same as hotkeys) 2011-03-28 21:40:46 +00:00
plombo cd3e32450c gtk: make save state slots (0-9) accessible through GUI 2011-03-28 21:29:41 +00:00
plombo 4b5c2b2167 gtk: make all config dialogs be GtkDialogs rather than toplevel windows 2011-03-28 02:58:57 +00:00
zeromus 163d5debc0 work on about string 2011-03-23 00:11:55 +00:00
plombo 2c9fac5f2f gtk: disable Screenshot hotkey when the GUI is active
Like pause/resume, GTK+ handles screenshots using an accelerator.  The hotkey was also being triggered, so 2 screenshots were taken every time F12 was pressed.
2011-03-23 00:02:58 +00:00
plombo de992b79a0 gtk: don't forget to save the updated config after enabling/disabling the Game Genie 2011-03-22 23:41:12 +00:00
plombo c76d4bf20d gtk: fix some minor issues
Only allow the emulator to handle key events when the main window has the input focus

Don't write anything to stdout when configuring a button using the GTK+ control config dialog.
2011-03-22 23:36:16 +00:00
plombo f3eb06bde3 gtk: make control configuration dialog non-modal
It was the only modal dialog in the entire application.
This also fixes an issue where the emulator would unpause when closing the control config dialog, even if it had been paused manually by the user.
2011-03-22 23:02:45 +00:00
plombo bd87146cca sdl: don't needlessly kill the video and input subsystems before control configuration 2011-03-22 22:53:45 +00:00
plombo 994ffdead9 gtk: bind About dialog to main window instead of making it a toplevel window, and fix window icon for Credits and License subwindows 2011-03-22 00:43:16 +00:00
punkrockguy318 a8f71e3264 gtk: added authors to about dialog 2011-03-21 19:15:26 +00:00
punkrockguy318 4427c066ec gtk: remove gtk_main_quit() and manually flush gtk event queue on quit
this supresses the Gtk-Critical error on fceux quit
sdl: removed unneccesary newline prepending "Starting FCEUX"
2011-03-21 18:57:00 +00:00
gocha 651b5a16c2 RAM Search: fix reset code and update the current values for every addresses.
RAM Search: workaround for auto search restart.
2011-03-21 00:56:19 +00:00
zeromus 7526131735 sync emufiles between emus 2011-03-20 18:34:08 +00:00
zeromus cd461e50ba windows: don't unpause when loading a rom while paused 2011-03-20 05:26:11 +00:00
punkrockguy318 6c2ec61e60 gtk: set lastOpenFile when launching from commandline
(this was causing issues with hardReset)
2011-03-19 20:03:14 +00:00
punkrockguy318 968dd77ccf gtk: renamed "Emulator" menu to "Emulation" menu 2011-03-19 19:52:58 +00:00
punkrockguy318 be05f73b97 gtk: added hard reset option (closes rom/re-opens rom)
gtk: renamed reset to soft reset (resetNes())
gtk: added seperators to emulator menu
2011-03-19 19:51:46 +00:00
qeed 107636301b fix ips patch, thanks RDonch 2011-03-19 16:58:24 +00:00
plombo a845b822bc gtk: set window icon for About dialog 2011-03-19 02:53:40 +00:00
punkrockguy318 4f1bae8c58 sdl: removed GTK_LITE build option in favor of --nogui runtime option
you can still disbale compiling in gtk with GTK=0
2011-03-19 02:28:01 +00:00
plombo a7c16f1835 gtk: set Pause key as an accelerator and don't send the keypress event to SDL
Now the Pause/Resume menu item changes state when the emulator is paused or unpaused using the Pause key.
2011-03-19 01:44:13 +00:00
plombo d8f4c3636c gtk: replaced Pause checkbox with Pause menu item that changes to Resume when pausing and vice versa when unpausing, and fixed the bug where FCEUX would stop responding after unpausing 2011-03-19 01:16:09 +00:00
punkrockguy318 e9b4ab74ec gtk: about dialog improvements 2011-03-19 01:02:30 +00:00
punkrockguy318 f3a1f8728d gtk: minor code cleanup 2011-03-19 00:54:07 +00:00
punkrockguy318 abe58dcd54 gtk: turn off game genie on gtk init to match game genie menu checkbox which is off by default 2011-03-19 00:50:24 +00:00
punkrockguy318 469bcb1b53 gtk: removed redundant functions and changed "pause emulation" to "pause" 2011-03-19 00:39:27 +00:00
punkrockguy318 8a19bdc66c gtk: pause/resume menu items replaced with pause checkbox 2011-03-19 00:31:05 +00:00
plombo 692b405bc6 gtk: add window icons to the configuration dialogs 2011-03-18 19:54:47 +00:00
plombo cfb3a88708 gtk: add even more icons to menu items 2011-03-18 19:29:02 +00:00
plombo 999c374013 gtk: use more stock icons for menu items 2011-03-18 18:58:58 +00:00
plombo ca66f4c765 gtk: migrate the menu bar from the deprecated GtkItemFactory to GtkUIManager 2011-03-18 18:36:56 +00:00
zeromus 873c9dd728 remove shared memory stuff 2011-03-18 00:59:55 +00:00
zeromus 0311add547 fix a very paranoid very unlikely nondeterminism in newppu 2011-03-18 00:56:49 +00:00
zeromus 38bca0ae1a fix a corner case in conditional debug parsing 2011-03-17 23:01:55 +00:00
punkrockguy318 fea7c9f132 gtk: enable/disable game genie through menu 2011-03-16 05:22:13 +00:00
punkrockguy318 09818e412d gtk: added load game genie rom option
todo: checkbox somewhere for gg
gtk: cleaned some code
2011-03-16 04:59:58 +00:00
punkrockguy318 6730a2d237 gtk: let gtk decide window size of palette config window (looks better) 2011-03-16 04:25:43 +00:00
CaH4e3 7b4e7489e5 return back missing controllers
top rider seems do not works properly though
2011-03-09 09:16:11 +00:00
gocha bcada013d2 Lua: sound.get: move freqreg to regs.frequency 2011-03-06 09:01:45 +00:00
plombo fe73d11f9b gtk: Replaced the control config dialog with a newer, more usable one.
For a detailed changelog, see https://github.com/Plombo/fceux/tree/control-config2
2011-03-04 23:38:11 +00:00
gocha e0aff101e0 Lua sound.get(): add a little more members for DMC channel. 2011-02-27 11:21:34 +00:00
gocha 88c8e1521e Lua: add input.openfilepopup() and input.savefilepopup(), very basic interface for GetOpenFileName() and GetSaveFileName(). 2011-02-27 02:20:01 +00:00
gocha 2e30792b8f Removed temporally comment 2011-02-26 23:05:09 +00:00
gocha ffca5efaca Lua: add sound.get(), remove iowritelib. 2011-02-26 15:20:30 +00:00
gocha daf1b10074 better support for iowrite.readbyte() 2011-02-14 13:21:28 +00:00
gocha 9cc4ee1d77 add iowrite.readbyte() lua function, to read the last value written to write-only port. it currently supports only general sound registers ($4000-4013, $4015, $4017). 2011-02-13 22:41:19 +00:00
mart0258 7ee2494ba7 Fix input selection for Famicom Expansion port 2011-02-12 17:56:58 +00:00
punkrockguy318 aaa7b508d6 sdl: fixed non-openGL compilation 2011-02-10 17:52:39 +00:00
plombo 1837acd0dd sdl: Attempt to fix flickering garbage data in OpenGL fullscreen mode with fglrx (and possibly other drivers using page flipping) 2011-02-09 05:05:13 +00:00
punkrockguy318 8c51e45f7e gtk: added disable sprite limit option
(also did some sanity checks in video config function)
2011-02-08 05:30:48 +00:00
plombo f4b57edc48 sdl: Use the current monitor resolution for OpenGL fullscreen
This prevents FCEUX from changing the screen resolution (antisocial behavior in X11) and fixes all aspect ratio issues.
2011-02-08 05:02:13 +00:00
plombo b838d8da53 gtk: Add option in video config for OpenGL linear filtering (interpolation) 2011-02-08 04:41:41 +00:00
punkrockguy318 8efdc060c0 gtk: sf3175428 - applied icon patch (thanks bryan!) 2011-02-08 00:08:13 +00:00
punkrockguy318 0e09dcfecd gtk: fixed bug where sound would not init if sound was toggled on before the game was loaded 2011-02-03 00:27:38 +00:00
punkrockguy318 a0b2915c68 sf#3167852 - sdl sound still popping - patch applied
works for me (tested with kid icarus).. waiting for results (its always been fine on my machine; i use ossv4)
2011-02-01 04:09:48 +00:00
punkrockguy318 f62f565026 gtk: open dialogs for the first time in $HOME 2011-01-29 18:14:51 +00:00
punkrockguy318 6e6777a793 gtk: gtk window is no longer usable resizable. use xscale/yscale in video config or command-line arguments 2011-01-28 07:34:14 +00:00
punkrockguy318 a1783f41ae gtk: fixed noGUI option
gtk: fixed running with rom as argument
2011-01-28 06:53:49 +00:00
punkrockguy318 1df86cd42b gtk: fixed sav dialog 2011-01-28 06:40:23 +00:00
punkrockguy318 1561c3583e gtk: nsf and load/save statedialogs remember last directory 2011-01-28 06:38:23 +00:00
punkrockguy318 8ff01bbe57 gtk: update gtk window size when using scalers 2011-01-25 16:16:30 +00:00
punkrockguy318 acec8ad4c5 gtk: remember last file loaded and load it by default in the filechooser 2011-01-25 05:13:54 +00:00
punkrockguy318 fc8a43b524 gtk: autoresize window with x/yscale options
TODO: resize sdl window immediately
2011-01-25 04:39:04 +00:00
punkrockguy318 e5e716d84a gtk: fixed alt-tab entering fs 2011-01-25 04:23:44 +00:00
punkrockguy318 be15c0cfec *ID: 3165057 - Embed SDL window in GTK window patch applied
Big thanks to Bryan Cain!
*fixed issues with xscale/yscale options "not sticking" in gtk gui
*set gtk window to resize to xscale/yscale options

introduced known bug:  alt-tab won't currently go into fullscreen
2011-01-25 03:26:09 +00:00
zeromus 8d1bcc9bea add reload rom hotkey 2011-01-11 03:30:15 +00:00
zeromus c98ec34a91 add context menu item suggestion for zapper users 2011-01-04 07:14:05 +00:00
zeromus dec0608adf fix zapper in newppu, fix right mouse click = shoot offscreen, and fix right mouse button not working for zapper under any circumstances in win32 2011-01-04 07:07:02 +00:00
zeromus ef2f43449b lua drawing x/y off by 8pixels stuff didnt make sense to me either. lua screen should be 240 (same as nes screen) and if you draw at 0,0 on a standard NTSC setup of y=[8,231] then you wont see anything because youve asked the emulator to cut it off. 2010-12-18 01:07:10 +00:00
zeromus 36dbc01622 fix sconscript 2010-12-05 22:46:57 +00:00
CaH4e3 8ac26b296c mapper 3 - "Hayauchi Super Igo (J)" RAM support
mapper 0 - "Family BASIC (J) (V3.0)" RAM support
UNIF OneBus - supported

TODO: fix other project files, please
2010-11-28 07:35:32 +00:00
punkrockguy318 64b8ef4793 fixed a compile error on non-win32 based systems 2010-11-16 19:21:23 +00:00
zeromus e99fbb2957 win32: correctly clear screen during non-stretch-filled fullscreen double-buffered 2010-11-13 22:28:39 +00:00
zeromus b30a69020b add a hacky TweakCount to demonstrate how "rerecord count" could be tracked in tasedit 2010-11-12 20:37:12 +00:00
zeromus 195528abc5 unify emufile across emulators 2010-11-07 23:33:11 +00:00
mart0258 d8f2b333b7 movie.cpp, tasedit.cpp, tasedit.h: Invalidate greenzone when re-recording earlier portions of a movie.
condebug.cpp: Fix comments to match code.
2010-11-06 06:01:57 +00:00
zeromus a6bcf003d5 since you went to the trouble to point it out... 2010-11-05 21:11:28 +00:00
gocha 487540ae5a ramwatch: oops, "new" button must be always active 2010-10-30 06:56:39 +00:00
aquanull f5f30838f9 This should fix problems with non-ASCII filenames for Win32, and 0-sized files contained in archived files should not cause loading valid roms to fail anymore. 2010-10-28 13:22:51 +00:00
gocha 317c56ba9d Fix memviewsp bookmark menu handling bug 2010-10-23 13:37:54 +00:00
punkrockguy318 6e7c9f5125 SF# 3084999 - added --no-gui option to run sdl version without a gui 2010-10-19 20:25:29 +00:00
adelikat 8df644643e Win32 - GG Encoder/Decoder - minimize button 2010-10-11 18:16:49 +00:00
zeromus 639a1ac58d fix bug in new ppu that made some intensify bits not get applied to the output (fixes flashing siren screen in werewolf) 2010-10-09 21:20:20 +00:00
gocha 8f6808e36a ramwatch: fix the multiple selection glitch of watch up/down 2010-10-09 07:46:19 +00:00
gocha 422dd2783d adapted ram search/watch fixes/improvements from desmume 2010-10-07 13:32:42 +00:00
zeromus 795de75419 try restarting varargs 2010-10-01 20:09:18 +00:00
qeed dfd7c63782 remove dummy var and made the buf bigger 2010-10-01 19:39:01 +00:00
qeed fc1a10b2a4 fixed fp issue again, and then change vsprintf for something 2010-10-01 19:27:12 +00:00
qeed b7b3319dfc update 2010-09-24 21:40:12 +00:00
adelikat 934c70421b bleh, forgot to remove a note to myself in the last commit 2010-09-22 19:41:39 +00:00
adelikat 2a1a564b3c win32 - Hex Editor - ask before removing all bookmarks 2010-09-22 19:20:16 +00:00
qeed 26d249ed91 some more malloc to fceu_dmalloc wrapper change 2010-09-19 00:05:09 +00:00
qeed 0d63ef203a added wrapper around places that uses malloc to use FCEU_dmalloc, for debugging purpose if the need comes up 2010-09-19 00:00:38 +00:00
qeed 90695b00ac fixed proper file opening for opening files that dont exist 2010-09-18 14:20:12 +00:00
qeed 983dbd3823 added filename the load state message, for easier debugging 2010-09-17 19:13:13 +00:00
qeed 2c1c1a0a6c added proper file checking for opening files 2010-09-17 18:56:17 +00:00
adelikat 38c6961138 Small code cleanup of last commits 2010-09-04 21:26:23 +00:00
adelikat 67c281129b Win32 - Rmawatch - Oops, typo. 2 byte is now little endian for real. 2010-09-04 20:55:45 +00:00
qeed 5bab6557f4 fixed return value, oops 2010-09-04 00:58:12 +00:00
qeed a68cff5c3a just use the old style strcpy to keep everything as it was, but just make the buf bigger 2010-09-03 17:15:58 +00:00
qeed d89fdac566 fixed compile errors and buffer overflow for bworld 2010-09-03 17:11:45 +00:00
qeed 0666741d55 use ARRAY_SIZE macro rather than fixing buffer size forfgets 2010-09-03 16:38:20 +00:00
qeed b8e439ac46 fixed overflow 2010-09-03 16:29:08 +00:00
adelikat 17e7c9f436 Win32 - Ramwatch - fix so 2 byte is little endian with 2 byte, hacky needs to be cleaned up 2010-09-02 23:03:18 +00:00
mart0258 2b2b547617 fix crash when re-opening debugging window 2010-08-26 15:57:14 +00:00
adelikat 1cd34b57ea Win32 - Add movie filename at the top of the main window, did this by creating a SetMainWindowText() function that sets it based on various conditions, this allowed some nice code cleanup on the various places that set the window text. Also removed an unused and useless prototype from movie.h 2010-08-21 03:59:17 +00:00
CaH4e3 27134c26bc tracer crashes when no output file selected, simple workaround (FIXME if you know how to do it better) 2010-08-16 07:22:06 +00:00
zeromus 3513be6f7d improve commandline parsing more 2010-08-15 02:01:47 +00:00
zeromus 548312eddd fix commandline parsing problem in last argument when no rom is provided. i THINK its safe... 2010-08-15 01:19:26 +00:00
mart0258 e717a16398 Fix crash (loadstate on missing file) and memory leak (failed to write screenshot) 2010-08-12 06:27:06 +00:00
gocha fc1ebb2597 RAM Search: Fix counting of number of changes. 2010-08-10 05:23:34 +00:00
zeromus 45848c7591 emulua: add rom.gethash 2010-07-27 03:40:59 +00:00
punkrockguy318 dfccec8c7a sdl: fixed recent bug i introduced that prevented loading savestates 0-9 2010-07-26 17:19:25 +00:00
CaH4e3 3f7d1ec94a better solution for previous fix 2010-07-23 17:13:40 +00:00
CaH4e3 7b383576a0 fixed #3033634, fixed previous fix ;) 2010-07-23 17:07:47 +00:00
CaH4e3 a501682e0f fixed #3033127, #3033120 2010-07-22 21:04:09 +00:00
punkrockguy318 f4535346fb sdl: fixed segfault when loadstating 0-9 when state did not exist 2010-07-20 01:58:13 +00:00
zeromus 29cffedbbf don't use GPOINTER_TO_INT as this breaks on some gtk versions and os versions that we would like to support (namely, my macbook) 2010-07-18 04:33:33 +00:00
zeromus cb95c4fc96 possibly fix mouse input in sdl lua 2010-07-18 02:45:17 +00:00
mart0258 b8c6ed272e Tasedit - prevent crash when truncating while turbo, disable auto-savestate during turbo, allow redrawing Tasedit window while turbo and paused, and window cleanup 2010-07-10 00:58:20 +00:00
deign85 f2f0ac5f55 Added a Separator feature to the ram watch 2010-07-08 15:41:30 +00:00
CaH4e3 ee91747ce1 mapper 25 workaroung for "Ganbare Goemon Gaiden - Kieta Ougon Kiseru" 2010-07-01 18:17:24 +00:00
punkrockguy318 fbb7026afa sdl: fixed compile error 2010-06-24 02:36:51 +00:00
aquanull 252a4a55ad Allowed the user to disable keeping finished movies open. 2010-06-22 14:29:05 +00:00
adelikat 1159877a95 Fix a nasty problem with my last commit. 2010-06-13 19:48:17 +00:00
adelikat ca7f13d75e Win32 - a avicapture commandline argument, it receives a frame number, on that frame, avicapturing will stop and fceux will close. 2010-06-13 14:23:42 +00:00
CaH4e3 742322bfc1 refixed "simpsons" and "rattlenroll" broblems after fixing "youngindiana jones" ;) 2010-06-13 04:19:46 +00:00
adelikat a7bb263e13 Win32 - save Turbo frameskip amount to config so it can be customized by user 2010-06-12 17:41:15 +00:00
adelikat 38c4c3d228 Lua - fix so that setting speed.mode to normal turns off turbo. 2010-06-12 17:12:46 +00:00
CaH4e3 1af53df1df "young indiana jones" problem fixed for old ppu, someone fix new one too 2010-06-12 16:42:36 +00:00
adelikat 7cfd86f261 casts to fix annoying warnings 2010-06-11 01:14:06 +00:00
deign85 32261b0640 Fixed the ram_search to only display possible ram addresses from 0x0000 to 0x07FF and 0x6000 to 0x7FFF 2010-06-10 20:16:57 +00:00
zeromus 55daec3e57 add luasocket builtin to luaperks 2010-06-10 06:13:51 +00:00
zeromus bfd2e0d35a arugments -> arguments 2010-06-10 04:55:53 +00:00
adelikat d68e46e990 Win32 - prelminary AVI from commandline support. -avi filaname will being an avi capture but bring up the codec select dialog box on startup. 2010-06-09 14:33:21 +00:00
adelikat b03401b198 Movies - Fixed read-only loadstate error logic & messages 2010-06-09 13:01:30 +00:00
punkrockguy318 c9d5c168a2 SDL: fixed a compile error with gcc 2010-06-07 22:02:57 +00:00
mart0258 f0cda70dea Movie loading now faster:
* TAS Savestates moved from MovieRecord to MovieData. 
* Calls to LoadFM2() no longer provide INT_MAX as the size, and now use the actual size of the file.
2010-06-07 21:39:10 +00:00
adelikat 3bfa40572e New lua function: gui.savescreenshotas() 2010-06-07 16:38:47 +00:00
adelikat f171bd3f72 Fix broken SDL build. Annoying have core & win32 files with the same name! 2010-06-07 16:26:41 +00:00
adelikat dc1f95afea Whoops - forgot to un-ifdef some code. 2010-06-07 15:45:12 +00:00
adelikat 6faa55b21f Clean up Deign's screenshot as code. Internally it is now set up for easy implementation in the SDL build. 2010-06-07 15:41:52 +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
fatratknight a8fa67db16 Edited gui.text to return a value, the x position where it would paint the next character. This should hopefully allow scripters to place a useful box around the text, perhaps for looks or clicking like it's a button. 2010-06-06 22:50:46 +00:00
adelikat e2274f2e8b Win32 - fix bug that caused gamegenie to turn on when ppu is toggled. 2010-06-06 02:22:59 +00:00
adelikat b9a361e004 Win32 - minor change to a pop up box, Ok Cancel (not OK CANCEL) 2010-06-06 01:40:39 +00:00
adelikat 45a8c717b0 Win32 - Movie Options Dialog - Fix so Full Savestate Load checkbox is updated on load 2010-06-01 12:37:18 +00:00
adelikat 94c12f0116 Change version back to 2.1.5 interim 2010-06-01 02:33:43 +00:00
adelikat 8e8bbec3e0 getting stuff ready for a 2.1.4a maintenance release.
[[Split portion of a mixed commit.]]
2010-06-01 01:54:30 +00:00
adelikat 0a677d74e1 Fix inaccuracy in documentation comments (sorry for the tiny commit) 2010-06-01 01:03:50 +00:00
zeromus 0f873d9812 fix crash in fcm convert 2010-06-01 00:53:52 +00:00
adelikat d2526bc795 Movie loadstates - Undo a "fix" I made in previous revisions. Not sure what it was supposed to fix but it definitely broke things. 2010-05-31 23:52:29 +00:00
adelikat 1bae153646 Change version to 2.1.5 interim 2010-05-31 03:25:33 +00:00
adelikat 9cc28a4ebd Compile Help docs & webpages, Fix version string, fix up web pages for release. Update changelog to reflect release date + svn.
[[Split portion of a mixed commit.]]
2010-05-31 01:46:29 +00:00
adelikat 487074a6b5 Better document new loadstate logic and fix up changelogs
[[Split portion of a mixed commit.]]
2010-05-30 23:45:55 +00:00
CaH4e3 283c298e2f fixed ID: 3009161 zapper autodetection for Gotcha! is on, any others? 2010-05-30 16:39:49 +00:00
smelenchuk 1337b3eb84 Add emufile.cpp to SConscript so that this can actually build under Linux. 2010-05-29 20:37:43 +00:00
adelikat 7c6c8d0941 Added lua function movie.getfilename() which returns the current movie filename without the path included. 2010-05-29 04:06:49 +00:00
adelikat 626528ade6 Fix wrong comparison during loadstate+read-only checking. Post-movie savestates can now be loaded in read-only without an erroneous error. 2010-05-28 19:59:06 +00:00
adelikat 5ed6637f60 Movie errors - again, stopping the movie and informing user in the event of backup savestates being disabled. This time for savestate after movie end + read-only 2010-05-28 19:48:49 +00:00
adelikat ed6e4258e0 Movie errors - fix GUID mismtach error to stop movie if backups are disabled. On Win32 this option is only done if user selects cancel. In both cases an error message informing of the lack of backups is presented. 2010-05-28 19:39:16 +00:00
adelikat c2a9da0adc Movie errors - fix timeline error so that it stops movie if backups are disabled (since it will be unable to restore previous state). Also informs user of the situation. 2010-05-28 19:25:42 +00:00
ugetab 271815d60e Updated the code for the last commit. I added it rather in a bit of a hurry, but didn't account for a few things. Should work well enough now. 2010-05-28 16:45:57 +00:00
ugetab ead5e3f1ae Bug 3008383 had some merit, on further testing. Added something to hopefully fix the debugger updating problem for all situations. 2010-05-28 16:08:33 +00:00
zeromus d607cee1c4 enjoy the same speedups in the replay dialog 2010-05-28 04:04:47 +00:00
zeromus bccf3f2f85 movie speedups 2010-05-28 03:59:19 +00:00
adelikat 988753e116 Bind SSLOADPARAM_BACKUP to backupsavestates bool 2010-05-28 03:28:44 +00:00
ugetab fcdbf68117 Put some more work into the stack breakpointing code, so it works closer to what is expected. 2010-05-27 22:18:52 +00:00
ugetab 186a9544c8 Added imperfect PAL scanline readout in debugger. It's quite possible that the NYSC version is imprecise to begin with. 2010-05-27 19:07:21 +00:00
ugetab ff284dd29c Made debugger able to break on and distinguish Stack reads/writes, regardless of the source of the stack change. Addresses bug 2809881, which asked for the address push from an NMI/IRQ to cause a break 2010-05-27 17:01:29 +00:00
adelikat ed2a319661 Win32 - TASEDit - more mapping out logic & structure. 2010-05-26 02:26:31 +00:00
adelikat 95d40beaee ditto 2010-05-25 18:15:10 +00:00
adelikat 50928c86fa Win32 - TASEdit - more cleanup and commenting about what needs to be done. 2010-05-25 18:04:33 +00:00
adelikat 042feb025f Win32 - TASEdit - project class - lots of notes as to the proper implementation of this (will need a slight overhaul) as well as adding a lot of private member data. 2010-05-25 17:42:52 +00:00
adelikat 5d590e4054 Win32 - TASEdit - Pause toggle button 2010-05-25 16:48:52 +00:00
adelikat bb4ef400b6 Win32 - Cheats - addded "Delete selected cheats" context menu item 2010-05-25 15:36:46 +00:00
adelikat 23277bc4df Win32 - Memwatch - ignore spaces at the beginnign of an address in the address boxes 2010-05-25 04:34:34 +00:00
mart0258 43938a1999 Disable auto-savestates during turbo 2010-05-25 03:31:03 +00:00
mart0258 b33b01febd Prevent .zip files containing no valid files from causing crash 2010-05-25 03:20:48 +00:00
adelikat 68e300e7a2 Fix FCEUI_MovieGetInfo. It was keeping info.reset from being initialized and causing garbage to be used to determine if a movie began from soft-reset. As such the Win32 replay dialog was always reporting savestate movies as soft-reset. 2010-05-25 03:09:53 +00:00
adelikat f9fbb68208 Win32 - Replay dialog - one of the info labels was being cut off slightly by another. 2010-05-25 02:59:38 +00:00
adelikat 0fdd04954e Fix playmovie from beginning for movies that begin with savestate. 2010-05-25 02:34:10 +00:00
adelikat 1aafbe1a62 Fixed so that Play movie from beginning has no affect on a movie that starts from a savestate rather than attempting to and using a power cycle to do it. TODO: properly replay a movie from beginning that starts from savestate. 2010-05-25 00:50:27 +00:00
CaH4e3 1dd4e93cec mapper 19 savestate fix
mirroring for "Dream Master (J)" corrected to "four-screen" by CRC check
2010-05-23 18:37:31 +00:00
ugetab b2195e188b Accidentally added a compiler warning too. Fixing that now. 2010-05-23 16:11:13 +00:00
ugetab bf27edd686 Altered the previous commit to handle every known method of run and pause. 2010-05-23 16:04:13 +00:00
qeed bc334c4cac add nes_ntsc to the build script 2010-05-23 15:56:39 +00:00
ugetab b05cb472da Fixed bug 3005909, which involved pausing emulation outside of the debugger, then trying to use the debugger commands, and having the CPU registers become corrupted. 2010-05-23 15:52:42 +00:00
ugetab 3d244249d6 Made cheat menu's Pause When Active effect immediate 2010-05-23 04:34:13 +00:00
ugetab 2f4384c1d5 Made a minor error when adding the multi-select coding to cheat.cpp. This fixes it. 2010-05-23 03:47:28 +00:00
ugetab 0008e1313e Enabled multi-select in the cheat menu, so one can use the Right-click menu to toggle multiple cheats easily, and a safe multiple delete that asks for user confirmation if more than 1 item is selected. Doesn't seem to interfere with previous activity, beyond being able to hold a click longer than desired. 2010-05-22 15:13:46 +00:00
adelikat bff9590dbd Code cleanup - made a function I wrote awhile back more effecient slighty. Removed/edited some stale comments. Nothing of this commit should change functionality of anything. 2010-05-22 04:39:08 +00:00
ugetab 0e7752fc4c Forgot to include the new files in the last commit. Now it will compile. 2010-05-21 20:42:05 +00:00
ugetab e5f12da441 After much effort, added NTSC 2x scaler option to both Windows and SDL. Includes new config option NTSCwinspecial. 2010-05-21 20:36:24 +00:00
adelikat 4e83ad049d Updated changelog for last commit, reverted the commenting of UpdateCheatsList(), we want that to happen every frame. 2010-05-20 13:43:19 +00:00
CaH4e3 f1f21bb00e cdlogger: fixed bug preventing correct interrupt vectors logging (there is no IRQ loggead at all)
cdlogger: various code refactoring and cleanup
2010-05-20 12:45:20 +00:00
ugetab 892758907d Made the Message Log more verbose about header info on load. Changed in response to tracker item 2805970, but I don't trust that the document provided is accurate, so verbosity was increased instead. 2010-05-20 07:01:41 +00:00
adelikat aa42fa2369 Win32 - Hooked up SingleInstanceMode to a checkbox in GUI config. 2010-05-20 02:16:57 +00:00
ugetab b68d9a91b8 Added Single Instantiation mode, which makes starting a second copy of FCEUX with a path to a game make it load the file into the first, then exit. To enable, set SingleInstanceOnly 1 in the config file. If someone else wants to edit things to make this easy on the user, go for it. If started with nothing in the command line, it will simply start a second copy. 2010-05-19 21:51:25 +00:00
zeromus bca41a8c4b fix up opening roms from archives 2010-05-19 16:26:26 +00:00
adelikat 642ef6e568 frame counter turns red on MOVIEMODE_FINISHED 2010-05-19 03:46:52 +00:00
adelikat 83fb3e9ffa Code cleanup - moved ppu toggling to a function called FCEU_TogglePPU() in fceu.cpp 2010-05-19 02:12:11 +00:00
qeed ccf831a2fb fixed fceud_fstream to use EMUFILE to open the file, should be compilable again 2010-05-18 19:00:54 +00:00
qeed 11e94c3e99 fixed 2 compile errors for gcc, more awaits.. 2010-05-18 18:22:20 +00:00
adelikat da875309c1 Win32 - Add messages to screen & messagelog on PPU change. 2010-05-18 18:20:52 +00:00
adelikat 88e7627162 Remove stopmovie() on old savestate load attempt when a movie is active. The error checking prevents anything destructive from happening so there is no reason to stop the movie. 2010-05-18 18:10:17 +00:00
adelikat fdbbb5bbc0 Implemented a "full savestate-movie load" mode similar to the implementation in VBA-rr & SNES9x-rr.
In this mode loading a savestate in read+write doesn't truncate the movie to its frame count immediately.  Instead it waits 

until input is recording into the movie (next frame).  For win32 this feature is togglable in movie options and the context 

menu.  For SDL this is off by default and a toggle will need to be added.
2010-05-18 15:31:53 +00:00
adelikat 8f222b3c91 More efficient if logic in CheckTimlines(). Added a flag for a feature of full copy savestates. This is a VBA/SNES9x type feature where a savestates full movie content can be loaded in read+write. Those emulators perform this option with a bit of trickery by not truncating the movie data until the next frame. Instead we are going to give the user an option to use this mode through the user interface. 2010-05-18 12:54:54 +00:00
adelikat fb579eb4b2 Made gamepad 2 off by default. 2010-05-18 04:52:05 +00:00
adelikat cec1766f34 Read-only loadstate - revert a logic error I had in determining a "future event" error. 2010-05-18 04:07:25 +00:00
zeromus 4e66aaef9c replace most of the crappy iostream stuff with EMUFILE 2010-05-17 21:02:38 +00:00
adelikat fb1240c262 Fixed the timeline checking function. The mistake was assuming that FCEUX didn't save the entire movie in a savestate. Now that I know it does, the fix was rather simple. 2010-05-17 15:51:11 +00:00
adelikat 5993feb80c Getting the ball rolling on replacing the movie savestate ostream usage. Porting over the emufile class for desmume. Had to impport its types.h as types-des.h to get it to compile. Added the files to both the vc9 & vc10 proj files. 2010-05-16 19:41:11 +00:00
adelikat 7480101827 Timeline error messages now report the frame where the savestate branches from the movie file. 2010-05-16 19:26:29 +00:00
ugetab 64fd9f0c44 Fixed the input display auto hold code I put in yesterday, and optimized the code slightly. 2010-05-16 14:23:23 +00:00
gocha ffb708a23e RAM Search: fix reset to update previous values
RAM Search: redraw the list when search size/format is changed.
Probably those are common bugs of the Gens-style RAM search dialog.
2010-05-16 10:26:11 +00:00
ugetab e277aa9e24 Improved the Hold status display considerably. 2010-05-16 04:50:56 +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
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
CaH4e3 05ea4d2881 damn old mappers crashes fixed finally in addition to 1533 rev 2009-11-12 20:43:27 +00:00
adelikat a45d6068df Win32 - whoops, for the last release I commented out the "remove from list?" pop up box when a lua code fails when selecting it from the recent menu. However, I neglected to remove it in the case of the Load Last Lua context menu item. Shame on me for copying the same code in 2 locations instead of using a single function call. 2009-11-11 20:51:06 +00:00
mart0258 2aab99feb6 Tasedit - enable nav and truncate buttons (with fixes) 2009-11-09 06:58:42 +00:00
zeromus f576691091 fix weird compile error 2009-11-08 17:13:27 +00:00
CaH4e3 6dbd108ea0 mapper 253 final fix lol 2009-11-08 15:53:48 +00:00
CaH4e3 f0e8f17cc5 mapper 253 fixed typo 2009-11-08 15:32:49 +00:00
qeed 3555f87831 update SConscript build to reflect the mapper 253 move 2009-11-08 14:47:20 +00:00
CaH4e3 4c3e35f9ba mappers 253, 226 redesigned, only vc9 project updated 2009-11-08 14:39:50 +00:00
gocha 4c36140c0d apply recent lua changes of snes9x:
* accept a table for color value.
* add gui.parsecolor, joypad.getup, joypad.getdown, emu.emulating.
* gui.line, gui.box, joypad.get becomes like Gens.
* win32: add a menu to Lua window, add "Font..." and "Clear" items.
Note: gui.box will work much differently from before, it's easy to write a wrapper function, though.
2009-11-08 12:15:25 +00:00
CaH4e3 112d03d87f fixed crash on game loading for any battery backed roms with mappers from MapInitTab 2009-11-08 11:12:37 +00:00
mart0258 e2248ca404 win32-tasedit: Added mid-movie start for start mid-movie (WIP), and to build greenzone by fast forward. 2009-11-08 05:07:28 +00:00
adelikat 2cf4d23994 win32 - debugger - added an auto-load feature 2009-11-05 04:36:46 +00:00
adelikat bf14da0052 Win32 - Debugger menu item no longer grayed when no rom is loaded. The debugger is designed to handle whether or not a game is loaded, so there is no reason to block it. 2009-11-04 18:50:18 +00:00
adelikat a70a2bc965 Win32 - Debugger - widen scoll bar slightly 2009-11-04 18:33:15 +00:00
adelikat 7fdba079ca Update changelog and Version number to 2.1.3-interim 2009-11-03 17:04:49 +00:00
adelikat 113511536e Getting everything release ready, version number, web site changes, documentation changes. This SVN number marks FCEUX 2.1.2
[[Split portion of a mixed commit.]]
2009-11-03 15:36:47 +00:00
zeromus 1be04d3c5f fix auxlib to use registerexit 2009-11-03 06:17:51 +00:00
zeromus 856ca12c03 add luaperks.lib (iup and associated libraries) 2009-11-03 06:11:55 +00:00
zeromus 009dd0f23a add lua source files so that we can compile lua once more in linux. 2009-11-03 05:09:17 +00:00
adelikat 0ecb4777d0 Minor fix ups to documentation plus info added to 2.1.2 press release.
[[Split portion of a mixed commit.]]
2009-11-03 04:58:17 +00:00
adelikat 57de66a79f Win32 - Changes to help docs and renamed it better, compile and update the .chm file. Create a 2.1.2 press release file.
[[Split portion of a mixed commit.]]
2009-11-03 04:44:40 +00:00
zeromus 8a0b1acf43 fix it better 2009-11-03 03:55:01 +00:00
zeromus 7c6f53a41d fix weird black control backcolor in replay dialog and also shrink the dynamic labels so they dont overlap each other 2009-11-03 03:32:14 +00:00
adelikat 69f988a449 Win32 - remove the messagebox when a recent lua script has an error opening. Lua scripts frequently fail when writing them, so this messagebox quickly becomes annoying. 2009-11-02 22:06:07 +00:00
qeed fe12a1d308 76-in-1 seems to be playable now 2009-11-02 16:11:25 +00:00
adelikat 6d95de6b4c Win32 - Hacky fix for the annoying directory overrides bug (perhaps not every instance but at least the one reproducable one we have managed to find. 2009-11-02 01:25:31 +00:00
adelikat d3f029d4b9 Win32 - Ram Watch - Fixed so Auto-load now opens the most recent file too. 2009-11-02 01:12:24 +00:00
zeromus 47ed3844cc maybe fix crash on exit from sloppy sound deinit code 2009-11-02 00:02:21 +00:00
zeromus d515741586 do that in a better way 2009-11-01 23:49:14 +00:00
zeromus fd82450e42 fix ram watch recent 2009-11-01 23:44:44 +00:00
adelikat 61a9f31785 checking in an attempt to fix Ram Watch recent menu, warning! this breaks the window build. 2009-11-01 23:33:13 +00:00
adelikat 025f0ad7a9 Win32 - Hoooked up Ram Watch's auto-load feature 2009-11-01 02:34:38 +00:00
adelikat f2b59bac4d Win32 - Add hotkeys for Ram Search and Ram Watch dialogs 2009-11-01 02:20:31 +00:00
adelikat f028e0d9bd Win32 - Memory Watch - Save Changes prompt - default to quicksave first and save as second (instead of always defaulting to save as) 2009-11-01 01:04:06 +00:00
adelikat cf20f9bf88 Win32 - hooked up Ram Watch AskSave() function to main exit loop 2009-11-01 00:56:00 +00:00
adelikat 327163b60c Win32 - ramwatch saves x,y position, and auto-load & save window position bools. Minor update to help doc. 2009-11-01 00:46:21 +00:00
zeromus 6b2a3afe7f then, we should get rid of the check for the lua dll 2009-10-31 14:08:06 +00:00
gocha 10aa7e32d8 Readd lua files from pcejin and fix VS2005/2008 compile error "lstate.h - include file not found". lstate.h is an internal header file of Lua, but TAS emulators refer it for some advanced implementation (for instance, error handling); sideeffect: Lua library has become a static library.
Note: we can import more files from desmume and some other TAS emulator projects if they're needed.
2009-10-31 12:07:26 +00:00
gocha 3bdf15ec1c Modified LoadBackup() to notify savestate load to Lua 2009-10-25 03:07:06 +00:00
gocha 0bc230bd31 add savestate.registerload, savestate.registersave, and savestate.loadscriptdata from snes9x lua (test needed! especially for savestate.loadscriptdata, one of the functions I've never used) 2009-10-25 03:02:00 +00:00
gocha ea92db188b luaconsole: allow resizing, add vertical scrollbar 2009-10-20 08:06:29 +00:00
zeromus c5fd3aaa79 fix a bug in mapper 43 using u8 to count irqs and comparing to 0xFFF 2009-10-19 20:06:56 +00:00
qeed ca70fde4c7 add save state format and fix mirroring 2009-10-19 17:13:24 +00:00
qeed 6f54fc602c fix typo 2009-10-19 10:22:29 +00:00
qeed e63fb66b40 [ES-1064] Qi Long Zhu (C) should be mostly playable now, still some graphic glitches though 2009-10-19 10:18:20 +00:00
gocha 15c980ff10 win32: improved Edit action of Lua console. it tries to open a script by other ways if there is no association with "edit" action. 2009-10-19 04:34:48 +00:00
gocha 0ed6811c8c Lua: add register s and p. 2009-10-19 04:07:30 +00:00
zeromus 4e4013993d fix some random annoying gcc warnings 2009-10-19 03:37:38 +00:00
zeromus 51b0429c24 fix osx compile issues 2009-10-19 03:09:25 +00:00
gocha 25cdffc734 add lua console, and add/replace print, tostring, addressof, and copytable. 2009-10-19 03:01:26 +00:00