Commit Graph

217 Commits

Author SHA1 Message Date
Henrik Rydgård 3869ade72a libretro buildfix 2020-08-02 17:54:03 +02:00
Henrik Rydgård bf4db22165 SaveState: On section version failure, log out the name of the bad section.
Also some other minor improvements to logging and comments.
2020-08-02 17:11:09 +02:00
Henrik Rydgård 6aa3681f7c Minor logging improvements 2020-08-02 15:41:00 +02:00
Henrik Rydgård 5e7a837ff9 Display the savestate slot number when saving and loading state through shortcuts. 2020-05-16 15:20:22 +02:00
Unknown W. Brackets 5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets c9c34c4ca1 SaveState: Handle compression thread better.
Was leaking before.
2019-09-28 11:43:44 -07:00
Henrik Rydgård a461dbeecb Fix crash in Zip UI. Make another crash happen earlier. 2019-09-27 22:56:37 +02:00
Unknown W. Brackets b8b4763ef2 SaveState: Retry failed state screenshots.
See #10815 - happens when the device is resized before the save state.
2018-11-25 08:20:23 -08:00
Unknown W. Brackets d715ed8fba Core: More consistently use directory constants. 2018-09-02 10:27:11 -07:00
weihuoya 535def4b74 max res x2 2018-07-09 10:00:29 +08:00
Unknown W. Brackets 1d430ffac9 SaveState: Fix stale state threshold.
Micro not milli...
2018-07-04 18:00:06 -07:00
hissingshark 7fd7afeba9 Added "oldest save" and "slots 1-5" as options for "auto load savestate" 2018-06-25 21:45:51 +01:00
Unknown W. Brackets 76ff2adda9 SaveState: Show only after 4 hours.
This is 4 hours of the virtual PSP running the game continuously, perhaps
from multiple PPSSPP play sessions using save states.
2018-06-16 08:06:35 -07:00
Unknown W. Brackets 16b11138b4 SaveState: Use latest version if initial missing.
This may be useful for debugging or if we decide on a buffer between
versions.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets 006ef96b19 SaveState: Add a setting to ignore warnings.
In case you like to collect old and obscure bugs - everyone's got a hobby.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets a5efb85ab7 SaveState: Show warning on old / long use state.
Using save states instead of in game saves causes bugs in games, and
preserves bugs from bad settings and old PPSSPP versions.

This tells users when they might be affected.
2018-06-14 18:29:55 -07:00
Unknown W. Brackets 037a20e7c7 SaveState: Fix rename when undo disabled.
On Windows, for example, the rename target cannot exist.

This also fixes the screenshot rename for the undo.
2018-05-20 20:51:29 -07:00
Unknown W. Brackets 862b553c66 SaveState: Show undos in save data manager. 2018-03-17 23:18:25 -07:00
Unknown W. Brackets 2ee8dd7752 SaveState: Keep an undo for each slot by default. 2018-03-17 23:18:25 -07:00
Unknown W. Brackets 79dc857527 Core: Refactor screenshot saving.
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Unknown W. Brackets 715a7b7318 Global: Silence some unused declaration warnings.
These things aren't used on Android.
2017-12-03 19:22:03 -08:00
LunaMoo 2ff4104ddf Requested changes. 2017-11-14 06:33:49 +01:00
LunaMoo e698414f9b Add an option to allow resetting video/audio dump on save/load state. 2017-11-14 05:12:27 +01:00
LunaMoo 5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00
LunaMoo 2674ea07ba Add matching title for savestates. Cosmetic ~ for savestate manager. 2017-05-30 12:20:34 +02:00
LunaMoo 12dc7163f6 Add savestates to the list(with automatic rename) 2017-05-30 12:20:32 +02:00
Unknown W. Brackets 07ce4c213d SaveState: Correct crash on rewind usage.
Since the mutex is now non-recursive, make the Compress/Decompress API
asymmetric.
2017-04-09 00:19:35 -07:00
Henrik Rydgård 440e72d250 Clean up among the logs. Remove MASTER_LOG. 2017-03-06 13:10:23 +01:00
Henrik Rydgard 26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard 50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Henrik Rydgård dfda67e815 Merge pull request #9016 from unknownbrackets/screenshot
Use the display vfb for reporting/save state/TAS screenshots
2016-09-29 11:16:59 +02:00
Unknown W. Brackets 4d0c457ddc Cleanup display vs. output screenshot terminology. 2016-09-25 16:35:43 -07:00
Unknown W. Brackets 5faa65d9a9 Compress rewind snapshots off thread.
This can take a chunk of time, and doesn't need to finish until next frame
anyway, so we have plenty of time to do it.
2016-09-24 10:37:30 -07:00
Unknown W. Brackets 27d135d48a Decouple save states from UI.
It's the UI's job to decide how and what things are displayed, not Core's.
This also reduces reasons for linkage issues.
2016-05-27 21:25:05 -07:00
Unknown W. Brackets e6cf296d1a Trigger save slot display from UI code.
Core shouldn't be calling UI code.
2016-05-27 20:53:20 -07:00
Unknown W. Brackets afdd01571c Uncouple savestates from NativeApp some.
Still have osm.
2016-05-27 20:41:37 -07:00
Unknown W. Brackets e37777648e jit-ir: Restore emuhacks before saving state.
Let's just ask jit to do this, not its block cache directly.
2016-05-14 08:59:44 -07:00
Henrik Rydgard cb251ea93f Crashfix in savestate (hmmmm...) 2016-05-12 12:18:12 +02:00
Henrik Rydgard a5be0976bd Remove preprocessor hacks to choose JIT implementation.
Opens up for having multiple JIT implementations available at runtime,
which could be use for experimenting with new JIT compiler types or for
unit testing one JIT on another architecture.

Very few of the newly virtual calls are on any sort of critical path so
hopefully there will not be a performance loss.
2016-05-01 11:39:53 +02:00
Unknown W. Brackets ef1dc583a2 Fix various minor warnings. 2016-03-20 14:17:51 -07:00
Unknown W. Brackets da03b80c97 Standardize on just one mutex implementation. 2016-03-06 14:49:15 -08:00
Unknown W. Brackets ef566a3adf SaveState: Clean up some constant usage. 2016-02-28 18:21:57 -08:00
Unknown W. Brackets 9ff8d719de Add function to determine ppst title. 2016-01-23 13:06:30 -08:00
Unknown W. Brackets 6a5096e546 Save the game title in savestates, if available.
So that the UI can show them.  Old savestates still load fine, just don't
have the title.
2016-01-23 12:56:36 -08:00
Henrik Rydgard 8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
vnctdj d4d91fc831 Consistently use *sc for the Screen i18n category 2015-07-02 00:50:07 +02:00
Henrik Rydgard 55c5215881 Add error checking when getting the modification time of a file 2015-02-01 19:54:07 +01:00
Henrik Rydgard 001eda39e0 Add really primitive save preview on "Next Slot". Improve pause screen layout a little. 2015-02-01 18:04:50 +01:00
sum2012 b7094c7e2a Change to System section 2015-01-29 23:32:13 +08:00
sum2012 15c53d40f5 Make "Failed to load state" translatable 2015-01-29 22:59:05 +08:00