Commit graph

11 commits

Author SHA1 Message Date
CPkmn
1cf0b62e70 Try fixing sceJpegGetOutputInfo again
I guess the colour info address isn't supposed to be updated if the jpeg errors out, or I think so based on reports from the God Eater Burst thread in the forums. This shouldn't affect working jpegs since the address is still being updated before returning, just not if it errors out. If this doesn't work for the save from the forums, it would have never worked in PPSSPP builds up to today (it basically makes the function _only_ return null without updating the colour address, making it the equivalent of the only implementation other than mine, which was a stub, if it errors out). The previous commit I made worked in the Japanese version, but still bounced back in the US version (wtf?).
2013-08-07 16:39:42 -07:00
CPkmn
76dbd9c22b Fix sceJpegGetOutputInfo
Return better responses for errors (should allow weird God Eater Burst saves from real PSPs to not bounce back to the titlescreen). Not sure why some God Eater Burst saves would send bad jpeg data. The data sent through sceJpeg is supposed to be a normal jpeg (ie it should be perfectly viewable in photoshop or whatever image viewer/editor). The reason it doesn't send a good, decodable jpeg should still be researched but in the meantime let's not push users getting that error back to the titlescreen. Returning getYCbCrBufferSize(0, 0) on error seems like it would be more correct as well (or, at least God Eater Burst recognises that as an error unlike 0xC000...I didn't think that error code was right but no saves gave me bad jpeg data before).
2013-08-07 08:08:12 -07:00
Henrik Rydgard
1bf4239e97 State save support for sceJpeg. 2013-07-05 10:56:55 +02:00
Henrik Rydgard
d2b874436d Merge branch 'jpeg' of https://github.com/CPkmn/ppsspp into CPkmn-jpeg 2013-07-05 00:09:29 +02:00
CPkmn
b901e40361 Oops, comment about RGB was cut off early 2013-07-04 14:58:19 -07:00
CPkmn
7ae259627d Remove NanoJpeg, and add arguments for known functions 2013-07-04 14:51:32 -07:00
CPkmn
ba7860927e *nix include fix 2013-07-04 12:56:20 -07:00
CPkmn
e1d3b69a78 Update sceJpeg.cpp 2013-07-04 02:55:06 -07:00
Unknown W. Brackets
8580780194 Add more unknown syscalls from reporting. 2013-05-22 01:19:25 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
mattweb28
d3ded6639a Added sceJpeg & sceMd5 2013-05-15 19:49:34 +08:00