Commit Graph
2615 Commits
Author SHA1 Message Date
Henrik Rydgard 8021e49c7f Apply tpunix' PGD fix from #998 2013-03-16 09:15:11 +01:00
tpu 8fe3294818 change return method 2013-03-16 12:30:03 +08:00
tpu 9790e1e904 remove defines 2013-03-16 12:29:20 +08:00
tpu 602623e007 Merge branch 'master' of https://github.com/hrydgard/ppsspp.git
Conflicts:
	Core/Core.vcxproj.filters
	Core/HLE/sceFont.cpp
	Core/HLE/sceGe.cpp
	Core/HLE/sceIo.cpp
	Core/HLE/sceKernelMutex.cpp
2013-03-16 10:49:59 +08:00
Henrik Rydgard 1f5b6b7f59 Logging changes and cleanup 2013-03-15 21:01:57 +01:00
Unknown W. Brackets d8dd889bfd Couple more minor warning fixes. 2013-03-15 08:19:02 -07:00
tpu 8161a2cfd0 sceFont:
remove load_all_glyph(). Load glyph runtime.
    add sceFontFindOptimumFont.
sceIo:
    PGD handle bug fix.
2013-03-15 22:45:08 +08:00
raven02 a9ff724e93 Add sceP3da 2013-03-15 20:16:45 +08:00
Henrik Rydgård e69615a679 Merge pull request #993 from unknownbrackets/warnings
Fix some minor warnings
2013-03-15 01:05:35 -07:00
Unknown W. Brackets 6e54ce5551 Fix some minor warnings. 2013-03-15 00:45:47 -07:00
Henrik Rydgård c89786441a Merge pull request #978 from sum2012/mpeg-fix1
sceMpegRingbufferPut fix (Handle  numPackets <= 0)
2013-03-14 07:26:14 -07:00
sum2012 9b63e457c8 better mpeg fix 2013-03-14 22:03:26 +08:00
Henrik Rydgård a698e23667 Merge pull request #983 from unknownbrackets/scheduling
Handle dispatch suspend/resume slightly better
2013-03-13 23:57:53 -07:00
Unknown W. Brackets acd7e1b6af Handle dispatch suspend/resume slightly better. 2013-03-13 23:49:39 -07:00
Unknown W. Brackets 9dddd0d90d Validate addresses when analyzing atrac. 2013-03-13 22:59:07 -07:00
sum2012 024a61e058 sceMpegRingbufferPut fix (Handle numPackets <= 0) 2013-03-14 00:32:09 +08:00
raven02 a974c65ad1 Set Log level to ERROR when invalid PGD file found 2013-03-13 17:04:13 +08:00
raven02 1b5dce5c93 Remove volume shift 2013-03-12 21:19:48 +08:00
Henrik Rydgård b438c45659 Merge pull request #955 from raven02/patch-1
Make UseMediaEngine check for couples of sceMpeg functions
2013-03-12 02:15:27 -07:00
Darth1701 88def44e24 Buildfix
A typo and a forgotten old Wrap
2013-03-12 09:51:50 +01:00
Henrik Rydgård b40cf2b0f8 Merge pull request #957 from raven02/patch-3
Add two parameters for scePsmfPlayerSetTempBuf()
2013-03-12 01:16:05 -07:00
Henrik Rydgård d73cdcb1ce Merge pull request #956 from raven02/patch-2
Fake VOICETYPE_PCM code
2013-03-12 01:15:51 -07:00
Unknown W. Brackets 34865fee34 Remove io debugging code accidentally left in. 2013-03-12 01:00:15 -07:00
raven02 b07fe9da46 Should be good enough to remove now as we already identifed games use sceSasSetVoicePCM() 2013-03-12 12:17:19 +08:00
raven02 65589bf371 Add two parameters for scePsmfPlayerSetTempBuf 2013-03-12 11:54:52 +08:00
raven02 1593bc1cc2 Keep Write_U32 for ctx->mp3StreamPosition 2013-03-12 09:18:51 +08:00
raven02 bd39a69125 Add UseMediaEngine check 2013-03-12 08:41:46 +08:00
Henrik Rydgard 1cbc0deef6 Add stub for scePsmfSpecifyStream. 2013-03-12 00:17:24 +01:00
Henrik Rydgård 3efb748b23 Merge pull request #939 from unknownbrackets/io-async
Handle async IO more correctly (testing/review)
2013-03-11 16:05:56 -07:00
Henrik Rydgard de469e77a4 Fix silly typo breaking alpha test in many cases. Make some log VERBOSE. 2013-03-11 19:40:47 +01:00
Unknown W. Brackets e3aaf8284b Always say the second buffer isn't needed. 2013-03-11 08:36:47 -07:00
Unknown W. Brackets 26306342fd Simplify hleDelayResult()'s handler a bit. 2013-03-11 02:52:15 -07:00
Unknown W. Brackets f1e324da47 Add delays to sceIoDread(), which needs them.
Only the first time though.
2013-03-11 02:50:36 -07:00
Unknown W. Brackets 2b62bf5181 Add io delays to some misc io funcs. 2013-03-11 02:50:36 -07:00
Unknown W. Brackets 7726b95037 Reschedule / async in sceIoWrite as well. 2013-03-11 02:50:35 -07:00
Unknown W. Brackets 0fe7f3e8d3 Add delays for open, close, and getstat.
Actual delays for these seem much higher, but not sure.
2013-03-11 02:50:34 -07:00
Unknown W. Brackets fff8d0c7c4 Add a memory stick devctl to check writable.
Final Fantasy 4 seemed to want this.
2013-03-11 02:50:34 -07:00
Unknown W. Brackets f8d9846179 Add a few more umd devctl commands.
With help from jpcsp and testing.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets 4a18ace1aa Cleanup some sceIoDevctl() umd commands.
Based on tests.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets 70cbe30e45 Clean up sceIoIoctl() async and add delay.
A low estimate based on tests.
2013-03-11 02:50:33 -07:00
Unknown W. Brackets 0b9c248856 Reschedule in sceIoLseek() etc.
Also make it so we can return u64s easily in places...
2013-03-11 02:50:32 -07:00
Unknown W. Brackets feba421566 Make sceIoLseekAsync() etc. work better + cleanup.
No need to have this logic duplicated.
2013-03-11 02:50:32 -07:00
Unknown W. Brackets 0b097fb67b Make async IO actually wait for completion. 2013-03-11 02:50:32 -07:00
Unknown W. Brackets 2b8cb0011c sceIoRead() always reschedules, and handle async.
Tried to estimate some rough timing.  Fixes Unchained Blades.
2013-03-11 02:50:31 -07:00
Unknown W. Brackets 99240914ea sceIoLseek() should sign extend error codes.
< 0 means error, and 0x0000000080000000 is not < 0.
2013-03-11 02:50:31 -07:00
Unknown W. Brackets da7dfb07c3 Correctly notify callbacks on sceIoCloseAsync().
And remove defAction, it was the wrong way.
2013-03-11 02:50:31 -07:00
Unknown W. Brackets 56d369b4d7 Tests show async result is a sign-extended s64.
Errors become fffffff80010002, etc.
2013-03-11 02:50:30 -07:00
Unknown W. Brackets 60e6fa514a Start with sceIoOpenAsync() cleaning up async io.
Now it actually fires the callback as necessary.  Some games care.
2013-03-11 02:50:30 -07:00
Henrik Rydgård b770ba7809 Merge pull request #940 from unknownbrackets/logging
Add a VERBOSE logging level + show thread name in log
2013-03-11 02:21:25 -07:00
Unknown W. Brackets 4f1d2f0584 Also clear the logging thread name on shutdown. 2013-03-11 00:18:59 -07:00