Commit Graph
14759 Commits
Author SHA1 Message Date
raven02 0ad773f76a Reorganize OSK a bit 2014-04-23 21:01:00 +08:00
Unknown W. Brackets 9b4f8b1a99 Attempt scePsmfPlayerSelectSpecific*().
These functions seem buggy on a real PSP... and they return a weird
variety of error codes.
2014-04-22 08:07:49 -07:00
Unknown W. Brackets 891764d8ee Make scePsmfPlayerSelect*() actually switch.
Don't have any games actually using this, so let's report too.  Audio is
falsely working when the stream isn't playable, not exactly sure the best
way to detect that.
2014-04-22 08:07:49 -07:00
Unknown W. Brackets 56673d3737 Fix overflow in scePsmfPlayerGetCurrent*Stream().
And clean up the returned error codes.
2014-04-22 08:07:48 -07:00
Unknown W. Brackets 818d8cb894 Validate psmfplayer config params, reset on create.
Could fix issues if a game uses different pixel modes or more likely
different loop modes.
2014-04-22 08:07:48 -07:00
Unknown W. Brackets 97c18e7f0e Comment out a few unsafe replacement funcs. 2014-04-22 08:07:10 -07:00
raven02 4806d01db1 Dostate for resetBuffer 2014-04-22 15:18:24 +08:00
raven02 950e404442 Fix a typo 2014-04-22 14:31:34 +08:00
raven02 f845113eb2 sceAtrac: set full filled buffer when game ask to do so via sceAtracGetRemainFrame() 2014-04-22 09:13:49 +08:00
Henrik Rydgård cb031ed713 Merge pull request #5919 from unknownbrackets/ctrl-minor
Saturate analog positions in case outside [-1, 1]
2014-04-21 10:25:11 +02:00
Unknown W. Brackets 7326c6e716 Fix a race condition on shutdown with hashmap.
Also, always need to init the blocks, they are not zero initialized.
2014-04-20 21:44:10 -07:00
Henrik Rydgård 159d050f70 Merge pull request #5921 from unknownbrackets/psmfplayer
Correct scePsmfPlayer setup error codes and GetPsmfInfo
2014-04-20 23:53:38 +02:00
Unknown W. Brackets 9d5fb217b9 Correct errors in scePsmfPlayerGetPsmfInfo(). 2014-04-20 13:48:45 -07:00
Unknown W. Brackets 65ec567ac6 Correct the results of scePsmfPlayerGetPsmfInfo().
Not sure of the other field yet, probably PCM?
2014-04-20 12:19:08 -07:00
Unknown W. Brackets fc2b105406 Detect bad data in scePsmfPlayerSetPsmf*(), report.
Not returning an error code here for now to be safe.
2014-04-20 09:22:53 -07:00
Unknown W. Brackets 414b846508 Validate params in scePsmfPlayerSetPsmf*().
Also, properly swap offset/size on BE.
2014-04-20 08:46:45 -07:00
Unknown W. Brackets 049938202c Allow using a copy of a psmfplayer handle.
Since this works on the PSP.  Games do it with mpeg for sure, maybe with
psmfplayer as well?
2014-04-20 08:22:51 -07:00
Unknown W. Brackets b9711db99a Correct scePsmfPlayerSetTempBuf() error codes.
And rename error code, since it's more about invalid status than being not
initialized yet (it's returned even if it the status has advanced.)
2014-04-20 08:20:58 -07:00
Unknown W. Brackets 695e9e1b4e Try again to buildfix Symbian. 2014-04-20 08:04:59 -07:00
Unknown W. Brackets b526661ff5 Buildfix for Symbian. 2014-04-20 08:00:05 -07:00
Unknown W. Brackets fb82310c9a Correct scePsmfPlayerCreate() based on tests.
Mostly error codes.  Report duplicates which don't work on the PSP.
2014-04-20 00:25:48 -07:00
Unknown W. Brackets 7503cf959b Saturate analog positions in case outside [-1, 1].
Reported by Mio, some configuration was giving 1.0000001, which wrapped.

This is not a hot area so let's just saturate to force it to the right
range.
2014-04-19 21:43:27 -07:00
Unknown W. Brackets 63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
Henrik Rydgård b16d60f902 Merge pull request #5908 from raven02/patch-12
Implement sceAudio routing mode
2014-04-19 01:14:37 +02:00
raven02 0ca4ec02cd Implment sceAuduo routing mode 2014-04-19 06:47:54 +08:00
Henrik Rydgård a829c0c2f3 Merge pull request #5911 from hrydgard/hardcoded-replace-table
Hardcode a bunch of function hashes for function replacement..
2014-04-18 22:28:16 +02:00
Henrik Rydgård d2c9a077b2 Merge pull request #5904 from elsonLee/master
fix some game don't add stream data when playing atrac3+ problem
2014-04-18 19:09:41 +02:00
Henrik Rydgard f35168e0e0 Hardcode a bunch of function hashes so we can replace them.
Without needing an external file.
2014-04-18 19:00:08 +02:00
elson c549a7576e Update sceAtrac.cpp
writebleBytes updated in sceAtracDecodeData
2014-04-18 23:02:24 +08:00
raven02 5b7035b71a Missing default case :( 2014-04-18 21:32:02 +08:00
raven02 fd330b4d93 Use getMpegVersion to get ctx->mpegVersion 2014-04-18 20:27:17 +08:00
elson 47b7b8b90f fix some game don't add stream data when playing atrac3+ problem 2014-04-18 17:36:11 +08:00
Unknown W. Brackets 8f26d5ceae Fix ridiculously bad typo. 2014-04-17 22:47:05 -07:00
Unknown W. Brackets 5076a080c4 In case interrupts are delayed, read cmd early.
Otherwise, in Project Diva, the cmd may be overwritten (probably due to a
sync or etc.) by some other cmd.  Fixes #5896.
2014-04-17 22:33:13 -07:00
Unknown W. Brackets dc39e75fc1 Oops, forgot about proxy blocks for replace jal.
Also fix a crash when they are used.
2014-04-17 01:03:46 -07:00
Henrik Rydgård c6da68734f Merge pull request #5897 from unknownbrackets/jit-minor
Skip jals when replacing funcs
2014-04-17 09:29:10 +02:00
Unknown W. Brackets ddd6e3024d Skip jals when replacing funcs.
Improves performance in God Eater (when replacements enabled.)
2014-04-16 23:57:52 -07:00
Henrik Rydgård 45246ad9d3 Merge pull request #5891 from raven02/kill-alpha
Remove 'DisableAlphaTest' option
2014-04-15 22:00:18 +02:00
raven02 d2ce635bbf Remove option 2014-04-16 03:57:57 +08:00
raven02 fbbd37d707 Delay thread for sceMp3Decode() 2014-04-15 21:55:28 +08:00
Unknown W. Brackets 089fea7185 Ignore uncached/kernel bits in texture cache.
Although I suppose we could respect uncached and never cache...

Possibly #5879.
2014-04-14 07:58:00 -07:00
kaienfr c6a1b0e743 Provide a new method AuCtx::AuCreateCodecContextFromSource()
This method can automatically read audio information from file (as channels, sample rate etc) via ffmpeg,
and create accurate ffmpeg's codec context.
Especially used for unknown audio format but supported  by ffmpeg.
2014-04-14 13:23:10 +02:00
kaienfr 73d8786078 Change error log to info in sceMp3LowLevelInit 2014-04-14 12:00:19 +02:00
kaienfr cc933d6fc9 Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch 2014-04-14 11:49:27 +02:00
kaienfr d5fde0baee implement sceMp3GetFrameNum 2014-04-14 11:47:28 +02:00
Unknown W. Brackets ed99c33cd7 Interpret iForceMaxEmulatedFPS based on 1.001 NTSC. 2014-04-13 21:47:11 -07:00
Henrik Rydgård 36c751976a Merge pull request #5872 from unknownbrackets/texcache
Use flags to avoid hashing textures when unchanged
2014-04-14 00:06:08 +02:00
Henrik Rydgard f285b12dcf Make strcpy_limit slightly more sane. 2014-04-13 23:43:32 +02:00
Henrik Rydgard c9eb4a1916 VFSFileSystem too 2014-04-13 23:34:08 +02:00
Unknown W. Brackets 4c1c694d4b Use flags to avoid hashing textures when unchanged.
If only parameters change (like wrapping or clut, etc.) we don't need to
rehash the data - we know it hasn't changed.

Should reduce the distance between lazy texture hashing on and off.
2014-04-13 14:22:39 -07:00