Commit Graph

217 Commits

Author SHA1 Message Date
Henrik Rydgard a125178b0b Add a popup dialog when clicking savestate screenshots 2014-12-31 20:43:29 +01:00
Unknown W. Brackets c52b73393b Try default constructors for Symbian. 2014-12-20 23:39:44 -08:00
Unknown W. Brackets fed8b48e04 Just leave Symbian the way it was. 2014-12-20 23:18:42 -08:00
Unknown W. Brackets 2dd9b10c8d Take screenshots with savestates. 2014-12-20 23:14:46 -08:00
Unknown W. Brackets b1c9e7382f Save state to a temp file and rename.
This way, if you run out of disk or hit a bug, at least you have your old
state.  Better than having neither.
2014-12-20 22:24:02 -08:00
Unknown W. Brackets 3f0b759746 Switch to std::function for savestate callbacks. 2014-12-20 22:23:26 -08:00
Henrik Rydgard 75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Lioncash f830d5dec7 Core: Mark some functions as const 2014-12-03 15:16:11 -05:00
Henrik Rydgard f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard 3b2fed472e Correct timing on resume, avoids small speed burst when resuming gameplay from pause 2014-06-14 23:56:16 +02:00
Unknown W. Brackets 085931dd1c Clear replacements on savestate outside jit too. 2014-05-31 10:03:02 -07:00
Unknown W. Brackets 0de41cd028 Don't savestate replacement funcs.
This makes it so we can reorder them as we like, which is nicer, and also
makes sure there won't be weird compatibility problems or etc.
2014-05-27 08:02:41 -07:00
Unknown W. Brackets a8b55c3e10 Keep track of whether a savestate has been used.
Mostly to improve info we get in reporting.
2014-02-09 17:39:15 -08:00
Unknown W. Brackets d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets 091ddd9f3f Android/Linux buildfix.
Arg, why?
2014-01-18 14:05:32 -08:00
Unknown W. Brackets cfc635f071 Use simple delta compression for rewind savestates.
This makes it reasonable to keep a bunch more around, since they are
generally < 10% the size when compressed like this (often smaller.)
2014-01-18 10:18:47 -08:00
zack-vii 26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgård ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård 79ff2f0ba8 Start untangling our include mess a little. 2013-12-29 23:34:45 +01:00
Henrik Rydgård cd2adf80a4 Add keybinding to rewind (backspace by default), if rewind states are enabled. Disable rewind on mobile. 2013-12-05 16:25:17 +01:00
Henrik Rydgård 7c7c4aaadc Add "u_time" uniform to postprocessing shaders. 2013-12-02 17:24:55 +01:00
Henrik Rydgård 40bd1fa650 Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud. 2013-11-15 13:11:44 +01:00
Henrik Rydgård 23ac6ea2fd Merge branch 'autoLoadSave' of https://github.com/bollu/ppsspp into bollu-autoLoadSave
Conflicts:
	Core/Config.h
	UI/EmuScreen.cpp
2013-11-06 15:40:36 +01:00
Unknown W. Brackets 2f010773e1 Add rewind feature to the UI.
May not be perfect yet.
2013-11-02 18:33:23 -07:00
Unknown W. Brackets 79254c7a52 Fix some rewinding issues, better accessors. 2013-11-02 18:32:34 -07:00
Siddharth b87342a433 now auto loads most recent save state 2013-10-30 23:21:25 +05:30
Henrik Rydgård 70738c1755 Automatically clear the JIT when exiting the Cheats dialog box.
Plus some simple cleanup.
2013-10-23 16:10:58 +02:00
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