Commit Graph
19 Commits
Author SHA1 Message Date
Colin Snover 042650157a PSP: Fix strict aliasing violation
Casting through pointer to void just to truncate a value to uint32
is incorrect.
2018-08-18 13:49:15 +02:00
Colin Snover 452e979101 PSP: Fix invalid return type of PspIoStream
The underlying API returns a SceUID, which is not valid to be
casted to a pointer.
2018-08-18 13:49:15 +02:00
Johannes Schickel 2a7e57dd48 PSP: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Jordi Vilalta Prat 8388e0dfea JANITORAL: Clean trailing whitespaces.
svn-id: r53160
2010-10-12 02:18:11 +00:00
Yotam Barnoy 89b34faa5a PSP: fixed flag to open()
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption.

svn-id: r52387
2010-08-25 13:26:30 +00:00
Yotam Barnoy b88f341b80 PSP: switched to using BufferedSeekableReadStream and BufferedWriteStream
The last PSP optimization made reading much faster, but writing isn't buffered so saving the config file was VERY slow.
I decided the cleanest way to do this would be to add BWS and use BSRS.

svn-id: r52327
2010-08-24 11:24:34 +00:00
Yotam Barnoy a503f9223a PSP: switched from stdio to psp functions -- dramatic speed improvement
Turns out that stdio is about 30x(!) slower than using the PSP's functions. Very significant optimization.

svn-id: r52271
2010-08-22 10:48:13 +00:00
Yotam Barnoy a21b9c7b96 PSP: fixed up PowerManager and removed dependency on SDL
svn-id: r49852
2010-06-15 13:10:00 +00:00
Yotam Barnoy 857f3ab550 PSP: faster way of getting file size
svn-id: r49457
2010-06-06 14:17:37 +00:00
Yotam Barnoy f7ba7b4684 PSP: fixed issue with handling of EOS. Caused crashes.
svn-id: r49257
2010-05-27 06:11:50 +00:00
Yotam Barnoy 8b54efd8a6 PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as it reads 1 KB.
svn-id: r49243
2010-05-26 14:43:25 +00:00
Yotam Barnoy f036b6b9d2 PSP:Implemented fingolfin's suggestion for cleaning up debugging code
svn-id: r48792
2010-04-25 15:12:24 +00:00
Max Horn 87028c546f PSP: Fix code formatting using astyle
svn-id: r48634
2010-04-12 07:28:54 +00:00
Yotam Barnoy 9a2eac7eee PSP: refactoring/redesign of the backend
svn-id: r48632
2010-04-12 06:49:05 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Joost Peters 6a5bd81599 PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
2009-09-23 16:11:23 +00:00
Torbjörn Andersson e7469479ce Removed unnecessary semi-colons.
svn-id: r44048
2009-09-13 10:32:55 +00:00
Joost Peters 62bcb2e51b Commit (slightly) modified version of patch #2831248: Allow suspend/resume for PSP
svn-id: r43477
2009-08-17 12:57:37 +00:00