Commit Graph

494 Commits

Author SHA1 Message Date
gmvbif
281f0e18e6 Fixed some errors from PVS-Studio in Core project
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
Unknown W. Brackets
7471516d05 Gamedata: Reduce the transfer per call.
The standard value made my desktop drop frames without the data cached.
2015-12-25 23:24:04 -08:00
Unknown W. Brackets
34fc03068a Gamedata: Create a basic PARAM.SFO in data dir.
Fixes #7903.  Have not really tested, just based on game behavior.  Could
be inaccurate.
2015-12-25 21:54:14 -08:00
Unknown W. Brackets
e4c6a8398e Gamedata: Copy in chunks instead of all at once.
This way the game's progress shows correctly.  Also, correct the progress
calculation for < 100% (integer rounding.)
2015-12-25 21:39:24 -08:00
Unknown W. Brackets
fb9e5d4741 Gamedata: Refactor out file iteration.
Goal here is to process files in chunks, rather than one file at a time.
Files are often > 100MB, so we don't want to copy all in one frame.
2015-12-25 21:13:55 -08:00
Unknown W. Brackets
43e7d9dbc2 Gamedata: Use status delays in init/update/etc.
Like with savedata.
2015-12-25 21:01:13 -08:00
Unknown W. Brackets
b71b1bbff9 Initially count the dir for save info size.
Should help #6068, verified by the sizes test and JpcspTrace results.
2015-11-15 10:29:13 -08:00
Lioncash
b1901fbad2 Core: Remove unimplemented class function declarations 2015-10-18 10:55:11 -04:00
Henrik Rydgård
a71fbccfbc Warning fixes for new LLVM on mac (warns on inconsistent usage of override) 2015-09-17 20:29:37 +02:00
Unknown W. Brackets
e0f85a9c6b Native merge part 1: skip native/ in includes. 2015-09-06 12:19:33 -07:00
vnctdj
d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
Henrik Rydgård
bcb7c37860 Merge pull request #7732 from Bigpet/kana_osk
kana keyboard pe->pa fix
2015-05-07 23:21:18 +02:00
Peter Tissen
35d3b25df9 kana keyboard pa->ha fix 2015-05-06 02:42:22 +02:00
Unknown W. Brackets
2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
27e27f11ad Shutdown a couple dialogs more correctly.
This brings them back to none instead of shutdown.
2015-03-28 13:01:10 -07:00
Chin
37f50a3792 Change to pass some arguments by reference 2015-03-01 16:49:00 +01:00
sum2012
20818f47bd Add OSM in Save encryption failed 2015-01-28 05:26:58 +08:00
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