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