Commit Graph

85 Commits

Author SHA1 Message Date
zeromus 8d885fa94d fix savestate engine to throw errors when a buggy SFORMAT is passed to AddExState, and fix those errors in m015 and m253 2012-06-19 20:44:05 +00:00
ansstuff f79d4f9a3f * Taseditor: changed the order of "Select between Markers"
* Taseditor: applying PAL and PPU flags when loading projects
* Taseditor: much better way of calculating Branches Tree; hinting full timelines
* Taseditor: miniarrow showing current Playback cursor position in Branches Tree
* Taseditor: "Bookmark#" modtype, undo/redo works for Bookmarks
* Taseditor: version data in fm3
* fixed HUD/messages dumping in AVI

[[Split portion of a mixed commit.]]
2012-04-07 17:10:29 +00:00
ansstuff 0638d88ff9 * Taseditor: Config->Deselect on doubleclick
* Taseditor: checking ROM checksum when saving/loading projects
* more correct way to launch TAS Editor when trying to rerecord a fm3
* TAS Editor can have mouse wheel input even when keyboard focus is on FCEUX window
* disabled FCEUX context menu when TAS Editor is engaged
* added SoundDisplay2.lua
2012-03-09 15:20:51 +00:00
ansstuff e1950ba025 Small save/load state speedup, noticeable only in TAS Editor or lua bots 2012-02-25 23:55:35 +00:00
ansstuff 578c974062 * Tasedit: more refactoring
* Tasedit: resizing TAS Editor window
* Tasedit: INPUT_TYPE_1P
* Tasedit: File->New Project
2012-01-12 19:56:17 +00:00
zeromus bf31670246 vcproj cleanup and fix [3441099] printf bug in SwapSaveState() 2011-11-22 20:43:18 +00:00
CaH4e3 6cb352f626 resetexstate crash fix 2011-09-28 13:28:21 +00:00
ansstuff 92ff246e15 * Tasedit: progressbar
* Tasedit: "||" button accepts double clicks
* Tasedit: holding "<" and ">" buttons
* Tasedit: Ctrl-Delete leaves selection
2011-09-25 18:17:26 +00:00
ansstuff 72e04788fe * deleted "Lag Counter Reset" hotkey, as it was obsolete since FCEUX 2.0.2; added "Open TAS Edit" hotkey
* Tasedit: auto clear "Disable speed throttling" and "Run in background", auto set "Set high-priority thread" when entering TASEdit; FCEUX runs in bg when TASEdit has focus
* Tasedit: Config->"Mute Turbo" check (same as in Config->Sound)
* fixed long "savestate" messages containing path
2011-09-22 16:02:09 +00:00
qeed fc1a10b2a4 fixed fp issue again, and then change vsprintf for something 2010-10-01 19:27: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
mart0258 e717a16398 Fix crash (loadstate on missing file) and memory leak (failed to write screenshot) 2010-08-12 06:27:06 +00:00
punkrockguy318 dfccec8c7a sdl: fixed recent bug i introduced that prevented loading savestates 0-9 2010-07-26 17:19:25 +00:00
punkrockguy318 f4535346fb sdl: fixed segfault when loadstating 0-9 when state did not exist 2010-07-20 01:58:13 +00:00
adelikat 988753e116 Bind SSLOADPARAM_BACKUP to backupsavestates bool 2010-05-28 03:28:44 +00:00
zeromus 4e66aaef9c replace most of the crappy iostream stuff with EMUFILE 2010-05-17 21:02:38 +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 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