Commit Graph

40 Commits

Author SHA1 Message Date
Henrik Rydgard
3af5a759b4 Log some save state errors 2013-10-13 13:46:44 +02:00
Sacha
7c644bda2c Remove c++11 usage of vector. 2013-10-04 23:14:54 +10:00
Unknown W. Brackets
b7fbf5942f Make save/load fail strings more consistent. 2013-09-29 20:24:23 -07:00
Unknown W. Brackets
5950c30e7b If loading state fails, rewind instead of reset. 2013-09-29 20:20:20 -07:00
Unknown W. Brackets
021e09f53b While unthrottled, checkpoint rewind less often. 2013-09-29 20:04:23 -07:00
Unknown W. Brackets
b3c6e6c012 Add basic support for rewinding (not enabled.) 2013-09-29 19:58:39 -07:00
Unknown W. Brackets
394d91371f Avoid clearing the jit cache on savestate.
Downside: saving state could "fix" some issues with games detecting jit,
which won't happen anymore.

However, it's now faster to savestate.
2013-09-29 14:26:13 -07:00
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