TellowKrinkle
738c8cb630
Core: Remove trailing whitespace from all files
2022-09-16 00:52:28 -05:00
Connor McLaughlin
893b3c629d
Everything: Remove a **lot** of wx, and px nonsense
...
- common has no wx left except for Path.
- pcsx2core only has it in a few places (memory cards and path related
stuff).
2022-05-22 13:58:56 +01:00
Connor McLaughlin
63424b765d
CDVD: Purge wxString
2022-04-15 08:15:40 +01:00
Christian Kenny
ae7b84a85f
Savestates: Use folders for organizing savestates per game.
2021-11-21 03:25:37 +00:00
lightningterror
6825b5d79a
SaveSlots/UpdateUI: Fix Wsign-compare warning.
2021-10-27 01:00:38 +02:00
Gauvain 'GovanifY' Roussel-Tarbouriech
d272334c71
plugins: cleaning up more plugin cruft, adding a note on freezeData
2021-07-03 18:16:11 -04:00
Tyler Wilding
0dffc13e49
gui: Visually indicate the current savestate slot in the load/save menu
2021-03-22 08:40:53 +01:00
Tyler Wilding
717677402c
gui: Simplify function and solve unlikely edge-case
...
If backups are enabled, the .backup file will have already been created via renaming the original save-state. The asynchronous process is dumping the current emulation state, but by the time we've hit this function the rename has already taken place so we have a guarantee.
This solves a potential bug in the existing code (which probably would have never been hit):
Save to slot that has no current backup
Rename fails
Update method looks for the file without .backup, which is still there.
Load backup option is enabled despite there not actually being a backup to load.
2021-03-12 13:22:17 +00:00
Tyler Wilding
288c8fedce
gui: Enable backup saveslot when game is first loaded, if available
2021-03-12 13:22:17 +00:00
arcum42
3c8d4029dd
Only update the backup when freezing or defrosting, not when updating the ui. Refactor saveslot code. ( #3363 )
2020-05-12 22:55:34 -07:00
Shanoah Alkire
0e43803562
SaveSlots: Initialise the crc to 0, as well as serialName being an empty string.
2018-12-11 23:34:24 -08:00
Shanoah Alkire
bea4e56d5d
Saveslots: Initialize serialName to a blank string.
2018-12-10 19:55:54 -08:00
Shanoah Alkire
8f52d82e58
Refresh the save slots if either the crc *or* the serial number are different. (Needed for ps1 saves.)
2018-10-28 16:03:50 -07:00
Shanoah Alkire
322290b19c
Reenable the new saveslots. Disable the logging for them.
2018-10-15 23:57:33 -07:00
Shanoah Alkire
8f986828e7
Revert "Saveslots: This version is still commented out, and somewhat broken at the moment. If you uncomment it, after loading a game, pause and then resume to force the save and load menus to update."
...
This reverts commit 49b91ea78f
.
2018-10-15 23:46:41 -07:00
Shanoah Alkire
49b91ea78f
Saveslots: This version is still commented out, and somewhat broken at the moment. If you uncomment it, after loading a game, pause and then resume to force the save and load menus to update.
2018-10-14 02:41:41 -07:00
Shanoah Alkire
cb05daf437
Add some logging for the saveslot changes, and the option to turn on just the extra ui update calls without the other saveslot changes, for testing.
2018-10-13 18:43:41 -07:00
Shanoah Alkire
8defe54e3b
Redo how the saveslot code works. Still leaving disabled until it's been tested.
2018-10-05 22:21:54 -07:00
Shanoah Alkire
92484a8416
Disable the new saveslot code. (It can be reenabled by uncommenting the define in Saveslots.h)
2018-09-30 02:46:44 -07:00
Shanoah Alkire
042311a827
Make it easy to turn on and off the new saveslot code. Comment out a UI update that doesn't look needed that could have been causing issues.
2018-09-29 14:27:58 -07:00
arcum42
914573a5c3
Restore wxInvalidDateTime, and fix the call that was crashing debug.
2018-09-15 23:51:52 -07:00
arcum42
e9ae9cacd8
Using wxInvalidDatetime does not get along with debug builds. Using 1/1/1970 instead.
2018-09-15 03:52:41 -07:00
arcum42
9cb35a8972
PCSX2: Save/load slot improvements.
...
With these changes, saveslots will be labeled as either empty or
with the date that the file was last updated on. The menu items
for loading them are also disabled if the slot is empty.
It's possible if you are very fast to access the menu before the
slots change. It updates when the crc changes. When you save a saveslot,
the menu item also changes to show the time you told it to save until the
file is actually done saving.
Also fix an issue with backup saveslots not working properly from the
gui on first load.
2018-09-11 00:39:33 +02:00