Henrik Rydgård
b56eef487c
Strict mode checking - no way to forget detaching now.
...
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
17d94cd358
SaveState: Restore replacements in only one place.
2022-10-29 17:59:35 -07:00
Unknown W. Brackets
48b597a1b9
Display: Move core counters/stats to HW file.
...
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
b8ab7f39df
jit: Lock around changes to the jit pointer.
2021-11-28 10:04:22 -08:00
Unknown W. Brackets
2bd13c5d9d
Debugger: Track reason for entering stepping.
2021-10-23 16:56:15 -07:00
iota97
0c664aa820
Fix savestate undo consistency
2021-08-11 08:35:41 +02:00
Henrik Rydgård
a0225a5e7a
Merge pull request #14708 from unknownbrackets/ui-crash
...
Add Reset button on crash screen, allow load state and related
2021-08-09 09:32:55 +02:00
Unknown W. Brackets
32c7ff8436
SaveState: Allow loading save state in exception.
...
And allow saving as well, since we can maybe resume.
2021-08-08 23:15:27 -07:00
Unknown W. Brackets
a1b88bedd9
SaveState: Validate size matches measured.
...
In #14653 , a save state appears to have been generated truncated.
This attempts to detect that at generation time.
2021-08-07 13:55:29 -07:00
Henrik Rydgård
229e18420a
Merge pull request #14434 from unknownbrackets/savestate
...
SaveState: Show a warning when loading if saved after savestate
2021-08-07 17:23:26 +02:00
iota97
b643d60f72
Undo last save
2021-08-07 13:28:43 +02:00
Unknown W. Brackets
eba67d5fcd
SaveState: Show a warning if saved after savestate.
...
If you load a save state from before you created savedata (or from a
different path of savedata), some games will refuse to save. This shows a
warning since it can be a confusing situation.
We could potentially add an undo for loading state, to give an option for
getting back after this warning.
2021-08-07 00:01:20 -07:00
iota97
157bbb99ae
Address feedback
2021-08-05 09:16:10 +02:00
iota97
626dfb5bd7
Savestate load undo
2021-08-03 11:10:54 +02:00
iota97
2b8d05cfa9
Add savestate undo UI
2021-08-03 07:49:28 +02:00
Henrik Rydgård
bea9f67c02
Fix assorted path issues
2021-07-19 17:34:51 +02:00
Unknown W. Brackets
b74ecd5fa0
SaveState: Use Path instead of strings.
2021-05-14 23:00:22 -07:00
Henrik Rydgård
47039b4bcd
Address all the easy feedback. Some is left.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
f4a6d291e1
Common: Capitalize setCurrentThreadName().
2021-04-30 23:02:36 -07:00
TotalCaesar659
13c5badfa1
Fix double space again
2021-03-02 21:18:36 +03:00
Unknown W. Brackets
8c655750fe
SaveState: Delay restart handling until end frame.
...
Otherwise, we end up having unmatched pushbuffer map/unmap.
2021-02-21 08:18:13 -08:00
Unknown W. Brackets
fd7d8a7c02
SaveState: Allow rewind on mobile.
...
It's in the settings, so it should work. Mobile devices have a lot more
RAM than they did 7 years ago.
2021-01-03 10:42:40 -08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
054acf768c
Don't cache time in a variable.
...
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
iota97
6b5de6c27b
Use system date format on savestate as well
2020-09-17 07:52:09 +02:00
Henrik Rydgård
7aacf3df37
Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats.
2020-08-16 09:37:18 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
5ec2da0f2d
Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed.
2020-08-10 15:53:52 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
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