Commit Graph
33 Commits
Author SHA1 Message Date
Unknown W. Brackets 418d6c1e83 Reset the game when loading a state fails.
This way it doesn't crash.
2013-09-14 21:19:10 -07:00
Unknown W. Brackets 2cca2568c7 Make sure the saved git ver is null terminated.
strncpy() is a tricky beast.
2013-09-14 20:29:01 -07:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets 2ac5bcff1f Process savestates during single stepping.
This way we can handle them on the same thread, without weird delays.
2013-09-14 18:43:23 -07:00
Henrik Rydgard 91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
Unknown W. Brackets f68ebfe230 Fix savestates while not running.
Fixes #2791.
2013-08-10 14:04:23 -07:00
Unknown W. Brackets dc56ab9e83 Treat savestates specially, no longer using events.
This makes it easier to run them on the GPU thread anyway, which is best
if they reset GPU caches etc., and should remove any timing related
issues.
2013-08-07 00:32:29 -07:00
papel a61117dec4 Correct function. 2013-07-17 03:34:43 -03:00
papel 9b6f1abed8 Version to savestate and open other game in other screens. 2013-07-17 02:33:26 -03:00
Unknown W. Brackets a32cf817ff Fix some minor warnings. 2013-07-07 20:31:04 -07:00
The Dax 597f5431e0 Make keys look more natural in case we have an untranslated key, and give a generic error for the missing version/not found keys. 2013-06-24 05:09:45 -04:00
The Dax 7884df8013 Simplify error message via better translation key/message. 2013-06-24 04:47:12 -04:00
The Dax a341d39720 Make failure reasons translatable. 2013-06-24 04:24:34 -04:00
The Dax 1a7cce2fc5 Fix a comment and remove an old comment. 2013-06-24 04:00:10 -04:00
The Dax 810dfac704 Restructure load/save failure message by reverting it back to the original and add a translation ini key instead. Much simpler, and cleaner. 2013-06-24 03:58:29 -04:00
The Dax fe8c439614 Clean up slightly. 2013-06-24 03:08:24 -04:00
The Dax 3a0fe2f374 Add failure messages to savestates loading/saving. It's misleading to always say "Loaded state" or "Saved state", even if it fails. Plus, result was unused up to this point. 2013-06-24 02:58:21 -04:00
Henrik Rydgard 059aed36ee Add on-screen feedback for some keyboard shortcuts (so you know which setting was changed) 2013-05-22 18:00:06 +02:00
Unknown W. Brackets 117ffaeb60 Include the git version in savestates.
This way we can provide better warnings when it fails to load.
2013-04-13 01:13:28 -07:00
Unknown W. Brackets 7c3c06fd23 Wait for the runloop to end in savestates/debug.
This way, even if the runloop hasn't checked coreState yet, we will wait.
2013-02-23 13:21:28 -08:00
Unknown W. Brackets 3ad565b4df Keep filehandles open properly when loading state. 2013-02-08 08:16:54 -08:00
Unknown W. Brackets 65ddd4d731 Fix --state not loading a savestate on startup.
Was scheduling some random event instead after 883f61e3dd.
2013-01-02 14:28:49 -08:00
Henrik Rydgard 883f61e3dd Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now. 2013-01-02 21:05:02 +01:00
Unknown W. Brackets 14ef840dd3 Add a command line option to load a state.
For debugging.
2012-12-28 17:23:05 -08:00
Henrik Rydgård f9133c1a56 Reset JIT before saving/loading state 2012-12-29 00:10:43 +01:00
Henrik Rydgård 95c4e0b9c4 Quick build fix for gcc 2012-12-28 23:33:00 +01:00
Unknown W. Brackets 4b39e39455 Start save stating the filesystem state.
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets e3e6f81dfa Snapshot the CPU state as well. 2012-12-28 13:55:27 -08:00
Unknown W. Brackets 91d727a65a Add CoreTiming to save states.
I hope DoLinkedList works, seems like it should.
2012-12-28 13:55:24 -08:00
Unknown W. Brackets fbe4fd396e Add a mechanism to restore event callback ptrs.
Ugh, more duplicates.  Maybe can find a good way to refactor.
2012-12-28 13:55:24 -08:00
Unknown W. Brackets 570e8c812b Also handle save states while paused. 2012-12-28 13:55:23 -08:00
Unknown W. Brackets 2197d96989 Run save state operations at next Advance().
Should take some question marks out of things.
2012-12-28 13:55:23 -08:00
Unknown W. Brackets abeaaa9105 Add Verify() method to quickly test states work. 2012-12-28 13:55:22 -08:00