Commit Graph

477 Commits

Author SHA1 Message Date
Lioncash
cac632424c Core: Add missing override specifiers 2014-12-08 15:20:31 -05:00
Lioncash
cd26b200b2 Core: Get rid of a few c_str/strlen calls 2014-12-03 17:15:05 -05:00
Unknown W. Brackets
dd497e5a02 Show an error when savedata can't be written.
Normally we'll log when the disk is full for files, but if we can't even
create the folder, we'll get errors trying to write into a non-existing
directory.
2014-11-02 13:30:00 -08:00
Unknown W. Brackets
24f365d94c Return an error for new savedata on a full stick. 2014-11-02 12:47:09 -08:00
Unknown W. Brackets
d4e8bd96af Handle disk full more properly in sceIoWrite(). 2014-11-02 10:55:27 -08:00
Unknown W. Brackets
24ce3d11ed Another typo. 2014-11-02 08:12:29 -08:00
Unknown W. Brackets
f55f69c07d Fix dumb typo in space formatting func. 2014-11-01 19:19:06 -07:00
Unknown W. Brackets
2958c575a1 Check actual free disk space when games ask.
Windows only for the moment.
2014-11-01 00:33:19 -07:00
daniel229
70fac3a65e savedata 2014-10-03 15:16:12 +08:00
Unknown W. Brackets
00491bb33b Process msgdialog abort on Update().
Matches tests.
2014-09-27 00:13:11 -07:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Henrik Rydgard
7802bf57f0 Add sanity checks to refuse to delete bad savedata (resulted in devastating delete of SAVEDATA/ in MGS PW!)
Thanks QWEmct for reporting in #6600.

This is not a full fix, really, a "NEW DATA" savegame should not show up in the delete list, but at least this prevents the bad thing from happening.
2014-07-21 20:29:41 +02:00
Unknown W. Brackets
b583e446e6 Skip reporting savedata stuff in known cases.
We were always doing 3 before for 5, so skip reporting it.  Other cases
are the interesting ones.
2014-07-09 23:30:20 -07:00
Unknown W. Brackets
0b22d8f56c Check for missing SAVEDATA_PARAMS. 2014-07-06 22:42:14 -07:00
Unknown W. Brackets
30f8ec447a Hash and detect savedata hashmode correctly.
Fixes Persona 1 savedata compatibility.
2014-07-06 19:27:51 -07:00
Unknown W. Brackets
0f7f00c635 Play it safer with savedata dialog thread safety. 2014-07-01 22:52:51 -07:00
Unknown W. Brackets
01d3dcdc99 Prevent a possible race condition in save/load. 2014-06-29 17:44:56 -07:00
Unknown W. Brackets
e3c6876365 Show a message when saving/loading fails. 2014-06-29 17:42:20 -07:00
Unknown W. Brackets
553c870ee9 Execute savedata io on a separate thread.
Some savedata is sorta large, like 1MB, this makes it save more smoothly.
2014-06-29 17:32:57 -07:00
Unknown W. Brackets
51909a3256 Separate out io actions from save dialog display. 2014-06-29 17:07:04 -07:00
Unknown W. Brackets
a5fc0c49bc Look at the right bytes for screenshot mode.
Although, there's a bunch more needed to make this work properly.
2014-05-29 23:28:27 -07:00
sum2012
c23f4402fd Temp disable SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN 2014-05-19 05:27:05 +08:00
raven02
8ed82f3d25 Fixes #5779 with new PSPScreenShotDiag class 2014-04-30 19:28:05 +08:00
The Dax
d9ea545556 Fix some minor styling issues in PSPNetconfDialog.cpp. 2014-04-25 21:43:00 -04:00
raven02
3c938ec5ae Reorganize OSK button 2014-04-24 06:13:00 +08:00
Henrik Rydgård
fb82cfd258 Revert "Merge pull request #5939 from raven02/patch-18"
This reverts commit cf267abc82, reversing
changes made to 97c18e7f0e.
2014-04-23 21:17:53 +02:00
raven02
0ad773f76a Reorganize OSK a bit 2014-04-23 21:01:00 +08:00
sum2012
16368c98a2 Revent back status = SCE_UTILITY_STATUS_FINISHED
break Project Divx extand and Kenka Banchou Bros when take screenshot
2014-03-30 18:48:31 +08:00
sum2012
11311b2b69 Imp sceUtilityScreenshotContStart 2014-03-30 14:42:29 +08:00
sum2012
8c33284901 Fix sceUtilityScreenshotUpdate
Fix "After the developer/publisher screen and the age warning only a
black screen."
2014-03-30 09:29:11 +08:00
Unknown W. Brackets
fc833adde0 Return an error for invalid savedata sizes.
May fix WALL-E according to:
http://forums.ppsspp.org/showthread.php?tid=434
2014-03-23 23:14:40 -07:00
Yifan Lu
c5336d5817 Added printing of game save key to debug log when loading/saving 2014-03-22 16:13:30 +01:00
Unknown W. Brackets
241d5cb5a5 Always count one cluster for usedata in SIZES.
This matches values coming out of hardware... seems to make sense.
2014-03-15 18:50:44 -07:00
Unknown W. Brackets
ec4ce7e7e5 Return proper SIZES info for existing savedata.
Fixes Fieldrunners saving/loading.
2014-03-15 18:50:14 -07:00
Unknown W. Brackets
fe8ada4d7e Log the name of the save operation, not just #.
Makes it a lot easier to read...
2014-03-15 17:20:34 -07:00
Unknown W. Brackets
8d29b583e8 Reduce a few Core/Dialog/ includes. 2014-03-15 10:52:13 -07:00
Unknown W. Brackets
996fa39684 Reduce some unnecessary includes in Core/. 2014-03-15 10:41:07 -07:00
vnctdj
92348b0cc4 Trying to fix encoding 2014-03-14 05:32:31 +01:00
vnctdj
408168181d Update PSPOskDialog.cpp
Cosmetic change (more space added between the 2nd and the 3rd column of buttons)

before >> http://img15.hostingpics.net/pics/947242ULES0121300000.png
now >> http://img15.hostingpics.net/pics/365423ULES0121300001.png
2014-03-14 00:59:28 +01:00
The Dax
0ce4d40636 Properly limit the space button so it can't go past the max text length. 2014-03-13 12:20:03 -04:00
The Dax
87c6260860 OSK: Let square serve as a spacebar. 2014-03-13 10:49:38 -04:00
lioncash
b9886942a7 Fix some vertical alignments in misc Core source files. 2014-03-03 11:16:53 -05:00
chinhodado
586eb76ddf fix a mistake in a logic condition 2014-02-21 19:43:24 -05:00
chinhodado
0ea7c78299 fix empty string checking 2014-02-15 16:31:37 -05:00
Unknown W. Brackets
348c6a16da If a focus mode is used with autoload, ignore it.
Before, if the "focused" save did not exist, we failed incorrectly, even
though the actual save we were trying to load was the correct one.
2014-02-15 09:43:43 -08:00
Unknown W. Brackets
bd982b2e6f Support PSP_O_TRUNC on Windows.
There are more modes we don't support properly.  May fix savedata
corruption in Gran Turismo and possibly other games.
2014-02-11 23:54:30 -08:00
Henrik Rydgård
fa473da62a Reduce savedata init delay to 200ms 2014-02-11 21:45:08 +01:00
raven02
54bbdebcc9 Try savedata init delay 500ms 2014-02-11 19:48:56 +08:00
Unknown W. Brackets
e30e8937c1 Make it possible to override dialog fade out.
Useful to show multiple osk dialogs.  Not sure if any game actually uses
this feature...
2014-02-08 17:44:14 -08:00
Unknown W. Brackets
bdf94a8909 Delay init/shutdown for msgdialogs as well. 2014-02-08 17:44:13 -08:00