Commit Graph
2615 Commits
Author SHA1 Message Date
Unknown W. Brackets 193a336189 Run sceIoRead operations on a separate thread.
This should improve stutter.  Also verified via a timer to improve
performance (although, not very much, ~0.07 seconds during an entire
game load.)
2013-08-11 11:53:21 -07:00
Unknown W. Brackets 85ad4a80dd Start and stop a separate thread for IO.
Not actually running anything on it yet.
2013-08-11 11:51:36 -07:00
Unknown W. Brackets 26c072df51 Don't wait directly from GPUCommon, do it in sceGe.
Makes debugging a bit easier.
2013-08-10 18:24:40 -07:00
Henrik Rydgård 85e17f03cc Merge pull request #3118 from unknownbrackets/io-async
Prep work for pspFileSystem and two small fixes
2013-08-10 14:32:59 -07:00
Unknown W. Brackets 3bba464451 Add one more missing sceCcc func. 2013-08-10 14:04:42 -07:00
Unknown W. Brackets 54ca1e212f Unmount filesystems during HLE shutdown.
Fixes #3115.
2013-08-10 14:04:07 -07:00
Unknown W. Brackets 333cc33efb Handle OpenFile() errors in a more threadsafe way.
Probably needs better cleanup though.
2013-08-10 09:54:14 -07:00
Henrik Rydgard ca6de59019 Another attempt at frame timing / flip detection. Might solve some flicker issue. 2013-08-10 18:39:27 +02:00
Unknown W. Brackets 5e363bcbd2 Don't allow gpu->Flush() to be called publicly. 2013-08-09 22:57:54 -07:00
Unknown W. Brackets 4803f72b36 Add a "multithreaded" UI option on Windows.
Not on other platforms since not yet tested.
2013-08-09 22:57:50 -07:00
Unknown W. Brackets 3819886e2e Add a way to synchronize with the GPU thread. 2013-08-09 22:41:32 -07:00
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
Henrik Rydgard bc00a7e302 Process frame timing on frame boundaries instead of flips. Frameskipping works better in many games. 2013-08-07 23:32:28 +02:00
Henrik Rydgard 51ffdfa132 Rename gpuStats.numFrames to numVBlanks. Switch to using numFlips for things like cache expirations. 2013-08-07 22:34:00 +02: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
Unknown W. Brackets b1344f8254 Get rid of CoreTiming::AdvanceQuick().
It basically existed for savestates, so no longer needed.
Fixes issues with events not running when they should.
2013-08-07 00:32:29 -07:00
Unknown W. Brackets b298432e8f Use threadsafe events for GE communication.
Hopefully this doesn't cause problems again for 3rd Birthday or FF Type-0.
Kinda need it.
2013-08-07 00:32:28 -07:00
Unknown W. Brackets fff0af844b Fix bounds check in sceKernelPrintf().
Wasn't allowing a string ending in %08x.
2013-08-06 23:52:38 -07:00
Unknown W. Brackets 04e2a78f82 Fix table checks in sceCcc.
Was checking for the wrong table.
2013-08-06 23:39:12 -07:00
Unknown W. Brackets e51265d26e Reschedule in time spin loops.
It seems like rescheduling should potentially happen much more often, but
it could be a bit dangerous as far as compatibility.

Improves sound quality in Crimson Gem Saga and Where Is My Heart?
2013-08-04 10:11:56 -07:00
Unknown W. Brackets a9557a8297 Report unexpected export sizes too. 2013-08-01 00:38:34 -07:00
Henrik Rydgård 90d6c0cd5e Merge pull request #3021 from unknownbrackets/report-server
Minor reporting related tweaks
2013-07-31 08:28:09 -07:00
Unknown W. Brackets c2c9179406 Fix TLS allocation (been there a while...)
This worked for the most common case, but was a typo.
2013-07-31 08:15:07 -07:00
Unknown W. Brackets 4a4f07df8e Add waiting/resuming to TLS funcs.
Nice and simple, no callbacks or timeouts.
2013-07-31 00:22:36 -07:00
Unknown W. Brackets 9a241e8e24 Add a couple new HLE functions for logging. 2013-07-31 00:01:21 -07:00
Unknown W. Brackets 90e56db174 Don't report 0, it seems like it's okay. 2013-07-31 00:00:45 -07:00
Henrik Rydgård 6bb2bf07eb Merge pull request #3007 from Ced2911/module_endian
Fix crypted elf crashes on big endian
2013-07-30 11:20:29 -07:00
Ced2911 340881c319 fix some loading 2013-07-30 19:39:32 +02:00
Henrik Rydgard cdf674358e Merge remote-tracking branch 'origin/master'
Conflicts:
	Core/MIPS/MIPSInt.cpp
2013-07-30 19:35:12 +02:00
Henrik Rydgard ee215cc316 ARMJIT: Fix eatprefix, add DirtyInInV mapping, misc stuff 2013-07-30 18:15:48 +02:00
Unknown W. Brackets 9e94f9a896 Specify memory layout endianness in sceGe. 2013-07-29 22:47:37 -07:00
Unknown W. Brackets df34291461 Remove GLES dependency in sceDisplay.cpp. 2013-07-29 22:47:36 -07:00
Henrik Rydgard 6ed4e348db Some logging tweaks, fix running cpu tests on ARM 2013-07-30 01:09:10 +02:00
Unknown W. Brackets b46ab5f5a4 Always defined WIN32_LEAN_AND_MEAN.
Might as well, less mess everywhere else.
2013-07-28 21:04:20 -07:00
Unknown W. Brackets 7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Unknown W. Brackets 0b5bdeb1d3 Fix some compile failures under big endian. 2013-07-28 21:04:17 -07:00
Unknown W. Brackets bfb05440e2 Specify memory layout in sceMpeg/scePsmf. 2013-07-27 15:53:30 -07:00
Unknown W. Brackets ed19d77d49 Specify memory layout in sceUmd. 2013-07-27 15:45:07 -07:00
Unknown W. Brackets ea420bcfaa Specify memory layout in sceNet. 2013-07-27 15:42:23 -07:00
Unknown W. Brackets bafe8391fd Memory layout for sceIo. 2013-07-27 15:41:19 -07:00
Unknown W. Brackets 2222d07c11 Specify byte order in sceCtrl as well. 2013-07-27 15:30:36 -07:00
Henrik Rydgard 5b32d2ecaf Merge remote-tracking branch 'origin'
Conflicts:
	UI/NativeApp.cpp
2013-07-27 13:11:30 +02:00
Unknown W. Brackets abec782420 Return unsigned vars in sceCccDecode*().
Semantics only, but clearer.
2013-07-26 22:50:56 -07:00
Unknown W. Brackets ddc2c15ce8 Remove some unsigned < 0 comparisons. 2013-07-26 22:12:12 -07:00
Henrik Rydgard 5dbf5da355 Merge remote-tracking branch 'origin' 2013-07-27 00:45:54 +02:00
Henrik Rydgard a346697037 Update native + some very minor changes 2013-07-27 00:44:16 +02:00
Unknown W. Brackets a740888add Fix typos. 2013-07-25 22:37:27 -07:00
Unknown W. Brackets 8da6259aff More carefully check defines for endianness. 2013-07-25 22:25:50 -07:00
Unknown W. Brackets 5e87d6e45d Add _le typedefs to font handling stuff. 2013-07-25 08:04:36 -07:00
Unknown W. Brackets ae5851a393 Use _le typedefs in elf reading. 2013-07-25 08:04:35 -07:00