Commit Graph
504 Commits
Author SHA1 Message Date
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 Rydgard 03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Florent Castelli 70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets 29f5763d32 Fix some warnings.
The enum type was not hurting anyone, since the values were the same.
2016-09-10 20:32:37 -07:00
Unknown W. Brackets f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets dcf8da244d Prevent buffer overrun from OSK dialog.
If there was never a null, by mistake, we'd corrupt memory and then crash.

Occurs in the "Sonymon" homebrew.
2016-06-26 20:28:01 -07:00
Unknown W. Brackets a1fbcc3d93 Avoid directly calling osm from Core/GPU code.
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Henrik Rydgard 727058fc27 Remove an entry from GPUStats that didn't really belong. 2016-04-02 11:06:05 +02:00
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
ChinandHenrik Rydgard 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