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
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
adelikat
b5ea58271b
Fixed so that loadstate updates input display during movie playback as well.
2010-05-12 03:14:41 +00:00
adelikat
952320e1df
Loadstate updates input display if movie is recording
2010-05-12 03:07:03 +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
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
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
zeromus
4e4013993d
fix some random annoying gcc warnings
2009-10-19 03:37:38 +00:00
gocha
493e086850
vs200x: print svn revision number in version string.
2009-10-08 13:48:15 +00:00
gocha
197322bcf1
win32: fix new ramsearch
2009-10-08 08:06:45 +00:00
zeromus
89d32673c2
newppu savestates as well as a bit of jacking around for performance and other misc things I meant to do, but alas speedups wont be possible without obfuscating the code.
2009-08-06 00:51:29 +00:00
adelikat
dd643f96e0
Currentslot default is now 0 instead of 1. Win32 - remember last saveslot
2009-04-11 13:20:27 +00:00
adelikat
6a6b297a45
Fix major crash issue where NROM savestate data was erroneous if a non ROM game was loaded prior.
2009-03-14 15:37:13 +00:00
adelikat
5b7e825d1b
oops
2009-03-13 16:29:03 +00:00
adelikat
e4339554fb
Closing a game or opening a new game resets the frame counter
2009-03-13 16:27:29 +00:00
adelikat
f1256869b6
Redo Savestate fix. Made Undo/Redo Savestate hotkey. Win32 - made default Undo/Redo key mapping Ctrl+Z
2008-12-24 04:46:56 +00:00
adelikat
5cb9c50814
Undo savestate / Redo savestate and Undo loadstate / Redo loadstate features implemented. Win32 - undo/redo context menu items implemented.
2008-12-24 00:38:47 +00:00
adelikat
ff7496930b
1) Code clean up 2) Backup savestate now only applies to save slots
2008-12-23 23:08:27 +00:00
adelikat
40926ab5f7
More undo savestate fixes. Win32 - Undo/Redo savestate menu item added.
2008-12-23 22:44:04 +00:00
adelikat
0a29e1bce3
Backup savestate fixes.
2008-12-23 21:28:06 +00:00
adelikat
93c48afbb6
Fixes to backup savestate system, starting of undo savestate implementation.
2008-12-23 20:29:27 +00:00
adelikat
20ef5a722c
Backup savestate system added. CheckFileExists checks for null filename.
2008-12-23 03:54:31 +00:00
adelikat
d8d239e35d
Movie auto-back feature implemented
2008-12-23 01:07:55 +00:00
adelikat
cba3dd6025
Backup Savestate/Undo Loadstate code cleanup
2008-12-20 04:48:52 +00:00
adelikat
d9471d1f75
LoadBackup function added, Win32 - Undo Loadstate context menu item added.
2008-12-20 02:47:33 +00:00
adelikat
7b035bb3bc
Win32 - Function for checking if backupsavestate exists
2008-12-20 01:04:15 +00:00
adelikat
fe5d1b2313
Backup savestate is created before a state is loaded
2008-12-19 22:11:01 +00:00
zeromus
54f9bf517f
big endian compile fixes
2008-11-08 22:28:18 +00:00
zeromus
f6b541ce2f
fix the issue phil discovered where loading a mismatched movie savestate causes an extra freaky chunk 0 error message. create code which would be helpful for turning mismatch error into ok/cancel, but didn't enable it.. not sure whether we want it
2008-08-18 20:34:59 +00:00
zeromus
ddae078b3a
restore savestate error recovery functionality. This should have the side effect of guaranteeing that ( SF [ 2040761 ] Wrong savestate bug - crashes FCEUX) is resolved.
...
[[Split portion of a mixed commit.]]
2008-08-14 07:50:41 +00:00
zeromus
215d329804
SF [ 2047004 ] Moviefilenames without extension don't automatically get fm2
2008-08-12 03:28:51 +00:00
zeromus
1cb06319e9
SF [ 2040463 ] Add an "author" text field in the record movie dialog; also, fixes to the old savestate support concerning what to do when movie data is found
2008-08-10 04:03:50 +00:00
zeromus
aff4bb2367
re-enable support for old-format savestates.
2008-08-10 03:10:23 +00:00
zeromus
ae0e3a5db4
SF case 2040448 View Slots bug - does not include new savestate naming
2008-08-07 04:10:41 +00:00
zeromus
d7524bcdba
committing basicbot rip-outage so i can test it at work
2008-07-31 16:21:42 +00:00
qfox
9bd8553976
New BasicBot works, but very very basic (only numbers).
2008-07-22 20:17:43 +00:00
zeromus
b8bc74350b
diagnostic message did its job. taking it out
2008-06-27 04:22:33 +00:00
zeromus
e7bf6f1d16
debug prints for rerecord count
2008-06-27 04:02:16 +00:00
zeromus
79de2d8295
- a ton of cleanups
...
- re-enabling some tasedit functionality
- stabilize emu during tasedit by disabling features
- clarify/stabilize some basic tas stuff (interaction with reset/poweron)
- remove a bunch of warnings
2008-06-21 07:24:01 +00:00
zeromus
8009546872
add binary movie mode, which is used when saving movies into savestates
2008-06-20 22:15:30 +00:00
jeblanchard
0b7bf686a7
fewer warnings
2008-06-17 23:46:55 +00:00
zeromus
fdf51e672f
finally fix the bad replay synching bug?
2008-06-17 08:32:24 +00:00
zeromus
b82c266971
fixed a bad bug in memorystream which makes movie savestates work better
...
and now they work faster too
2008-06-17 07:55:27 +00:00
zeromus
e0a14909f0
faster compiles (mappers include 1/3 as much code now)
...
fix some memory leaks by changing the path generation APIs to return std::string.. but it still gets strdupped by a lot of clients.
switch over more movie and savestate code to use iostreams instead of stdio
remove the temporary savestate stuff for more tasing speed hopefully
2008-06-17 06:55:07 +00:00
zeromus
62d4ca6cdb
slight performance boosts to save/load state when movies are running
2008-06-13 19:15:24 +00:00
zeromus
ab82d07be8
restore compression to savestates (accidentally left removed while debugging sdl savestates)
2008-06-06 06:45:20 +00:00
zeromus
2a190f3c74
fix sdl savestates?
2008-06-06 06:34:39 +00:00