Commit Graph

14893 Commits

Author SHA1 Message Date
Henrik Rydgård
f1d43e7e90 Merge pull request #7046 from unknownbrackets/perf
Improve load and shutdown performance a bit
2014-11-03 21:50:10 +01:00
Unknown W. Brackets
b279b6d461 Typo. 2014-11-03 09:00:20 -08:00
Unknown W. Brackets
ad6b176e11 Naturally, modern C++ would not build on Symbian. 2014-11-03 08:56:45 -08:00
Unknown W. Brackets
61c21340fb Warning fixes. 2014-11-03 08:34:34 -08:00
Unknown W. Brackets
9d86d3ca9b Use std::unordered_multimaps in a few places. 2014-11-03 08:31:52 -08:00
Unknown W. Brackets
67a7205bdd Switch to a multimap for the hash->function map. 2014-11-03 07:59:56 -08:00
Unknown W. Brackets
8a57e37f33 Minor tweak to avoid some function call overhead. 2014-11-03 07:36:17 -08:00
Unknown W. Brackets
28b3b841d5 Implement optimized multi-block reads for iso/cso.
This of course means less fread() calls, and is faster.  It improves load
time even on my desktop.
2014-11-02 21:43:27 -08:00
Unknown W. Brackets
9c5ad44000 Add an interface to read multiple blocks at once. 2014-11-02 19:54:13 -08:00
Unknown W. Brackets
bf50baf698 Cleanup some old typedefs. 2014-11-02 18:46:12 -08:00
Unknown W. Brackets
a391296c17 Small optimization to func/var import.
Should compare the nid first, of course, faster and less likely to match
anyway.
2014-11-02 17:53:46 -08:00
Unknown W. Brackets
2d5733407b Small optimization to __PPGeInit().
Small factor in startup time.
2014-11-02 17:44:24 -08:00
Unknown W. Brackets
56322bdad4 Improve performance of ForgetFunctions().
Mostly matters during shutdown, but also module unload.
2014-11-02 17:32:04 -08:00
Henrik Rydgard
1520332aee No need for globals here. 2014-11-03 01:53:15 +01:00
Henrik Rydgård
4814901a45 Merge pull request #7022 from sum2012/save-setting-
Win32:Add choice of save location
2014-11-03 00:37:13 +01:00
Henrik Rydgård
16a26775a9 Merge pull request #7045 from unknownbrackets/xbrz-update
Update to xBRZ 1.1
2014-11-03 00:34:58 +01:00
Henrik Rydgård
c932d06b73 Merge pull request #7044 from unknownbrackets/memstick
Show and return errors on disk full
2014-11-03 00:33:23 +01:00
Unknown W. Brackets
416182b4ba Update to xBRZ 1.1.
Keeping the channel swap stuff and other changes, though.
2014-11-02 14:17:24 -08:00
Unknown W. Brackets
e8f83ab4e8 Merge pull request #7043 from fgeds/patch-1
control ini filename trimmed to the wrong size
2014-11-02 13:36:24 -08: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
f90754457d Show an error when screenshots fail to save. 2014-11-02 13:29:44 -08:00
Unknown W. Brackets
f3f7fb2648 Show an on screen message when disk full is hit. 2014-11-02 13:29:25 -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
a6a234add1 Return errors on disk full for file creation. 2014-11-02 12:40:31 -08:00
fgeds
b55ed059e8 line 417, trimmed control filename to the size of settings filename 2014-11-02 20:38:00 +01: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
Henrik Rydgård
1c698e8991 Merge pull request #7041 from Bigpet/master
Fix copy paste error with that breaks controlconfig passing via cmdline
2014-11-02 14:51:59 +01:00
Peter Tissen
a8b595c4d3 Fix copy paste error with that breaks controlconfig passing via cmdline
This was discovered by fgeds here: http://forums.ppsspp.org/showthread.php?tid=13655
so all props go to him.
2014-11-02 14:19:20 +01:00
Henrik Rydgård
d1dbd47172 Merge pull request #7039 from xsacha/symbian_free_space
Check free disk space on Symbian too.
2014-11-02 09:58:32 +01:00
Sacha
b7f2de7d29 Check free disk space on Symbian too. 2014-11-02 12:27:20 +10:00
Unknown W. Brackets
f55f69c07d Fix dumb typo in space formatting func. 2014-11-01 19:19:06 -07:00
Henrik Rydgård
c79479a336 Merge pull request #7036 from unknownbrackets/memstick
Check memory stick free space and tell the game about it
2014-11-01 13:28:11 +01:00
Unknown W. Brackets
9511fd81f1 Warning fix. 2014-11-01 00:33:20 -07:00
Unknown W. Brackets
f687613d68 Check disk space on Posix/Android systems also.
Android apparently decided to skip statvfs() and only implement the older,
os-dependent statfs().
2014-11-01 00:33:20 -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
Henrik Rydgård
763e5c9c4b Merge pull request #7035 from unknownbrackets/gpu-minor
Always clamp in ToRGB[A]?()
2014-10-31 18:17:39 +01:00
Unknown W. Brackets
71106328dc And fix an issue building on Android. 2014-10-31 10:11:47 -07:00
Unknown W. Brackets
9f7dbec050 Missing include for Linux/etc. 2014-10-31 09:51:17 -07:00
Unknown W. Brackets
eee3ac79f4 Always clamp in ToRGB[A]?().
Before we only clamped with SSE, better to be consistent.  This may also
be slightly faster.
2014-10-31 09:07:54 -07:00
Henrik Rydgard
f5c9235640 Buildfix (needed an include in the header on some platforms so let's move to the cpp file) 2014-10-31 00:35:39 +01:00
Henrik Rydgard
3377db4910 D3D: Reduce logspam 2014-10-31 00:18:40 +01:00
Henrik Rydgard
291e5e53c0 Add feature to cache ISOs in RAM to avoid I/O stutters. 64-bit only. Loading gets slow though.
TODO: Make it cache in the background on load. Allow on 32-bit for small ISOs.
2014-10-31 00:14:00 +01:00
Henrik Rydgard
0df4afce67 Didn't mean to keep this check. 2014-10-30 01:04:08 +01:00
Henrik Rydgård
a4c8bb03a2 Merge pull request #7029 from unknownbrackets/texhash
Attempt to make the texture hash match(able) - needs testing
2014-10-30 00:58:00 +01:00
Unknown W. Brackets
1b12b57e21 Fix reversed consts in hand-neon texhash. 2014-10-29 16:38:40 -07:00
Unknown W. Brackets
faea860c27 Attempt to match the SSE2 version of the hash.
Not tested, don't currently have an ARM device.  May or may not have a
performance hit.
2014-10-29 16:37:45 -07:00
Unknown W. Brackets
3977f5a8ec Add a non-SSE implementation of the QuickTexHash.
This way we can use it as a stable value for texture replacements.
2014-10-29 16:37:44 -07:00
Henrik Rydgard
1fe2af3421 Fix D3D NFSU crash #7030 in a cleaner way than #7033 :) 2014-10-29 23:51:23 +01:00
Henrik Rydgård
bc5bec2e5c Merge pull request #7032 from unknownbrackets/jit-minor
jit: Fix partial invalidation of larger blocks
2014-10-28 08:28:10 +01:00