Commit Graph

3013 Commits

Author SHA1 Message Date
Henrik Rydgård
c625ee169f Merge pull request #5970 from raven02/patch-28
Stub SysMemUserForUser_ACBD88CA/945E45DA
2014-04-28 09:47:21 +02:00
raven02
9806b46586 Fix space issues 2014-04-28 15:30:32 +08:00
Henrik Rydgård
30bf519e2c Merge pull request #5973 from raven02/patch-30
Move POWER_VMEM_IN_USE to sceKernel.h
2014-04-28 09:22:02 +02:00
Henrik Rydgård
7fd84046a4 Merge pull request #5977 from unknownbrackets/psmfplayer
Fix video flicker, add memchecks and detect no audio better
2014-04-28 09:21:46 +02:00
Henrik Rydgård
56018fb057 Merge pull request #5979 from unknownbrackets/multithread
Fix deadlock in multithreading
2014-04-28 09:13:53 +02:00
Unknown W. Brackets
ed6ea61283 Fix deadlock in multithreading.
Fixes #5971.
2014-04-27 15:52:36 -07:00
Unknown W. Brackets
27fbf4c90e Don't return video/audio the first couple frames.
Fixes issues where games don't expect audio to be written to the display
buffer for the first couple games.  Reported to fix #5416.
2014-04-27 13:02:03 -07:00
Unknown W. Brackets
f9a81c8691 Allow smaller psmfplayer buffer sizes.
Some libpsmfplayer.prx libraries allow smaller.
2014-04-27 10:25:51 -07:00
Unknown W. Brackets
647d6c0960 Invalidate when writing video image.
It is required to update the framebuffer, of course.  Fixes Dead or Alive
video flicker.
2014-04-27 08:23:42 -07:00
raven02
e9815052f1 Stub SysMemUserForUser_ACBD88CA/945E45DA 2014-04-27 23:20:18 +08:00
raven02
21e4dc60eb Move POWER_VMEM_IN_USE to sceKernel.h 2014-04-27 20:50:11 +08:00
Henrik Rydgård
4eb7991530 Merge pull request #5926 from raven02/patch-15
sceAtrac: set buffer size when game ask for remain frames
2014-04-27 12:29:48 +02:00
raven02
80cff2dca4 Workaround scePauth_F7AA47F6() 2014-04-27 17:26:40 +08:00
Unknown W. Brackets
eae4c9cc49 Check for no audio more directly.
This fixes some cases where the flag was set wrong.
2014-04-26 09:38:13 -07:00
Henrik Rydgård
fb5eda2915 Change the scepauth report identifier 2014-04-26 10:50:08 +02:00
Henrik Rydgård
c8cb6f375d Merge branch 'scePauth' of github.com:sum2012/ppsspp into sum2012-scePauth 2014-04-26 10:48:47 +02:00
Henrik Rydgård
90710c2369 Merge pull request #5955 from sum2012/scedisplay
Add sceDisplaySetMode error code base on JPCSP
2014-04-26 09:29:35 +02:00
Henrik Rydgård
150cff20b5 Merge pull request #5956 from raven02/patch-24
sceUtility: fix some typo and formatting
2014-04-26 09:27:36 +02:00
Henrik Rydgård
f9a1e51757 Merge pull request #5961 from unknownbrackets/psmfplayer
Improve some psmfplayer funcs, and fix timing
2014-04-26 09:25:29 +02:00
Unknown W. Brackets
d92650ee42 Improve scePsmfPlayer*Data() timing.
Instead of blocking, video should just return old data if called too
often.  Fixes #5910.
2014-04-25 23:48:13 -07:00
raven02
5d5c24a173 sceUtility: fix some typo and formatting 2014-04-26 12:19:34 +08:00
Unknown W. Brackets
a5b2adfff5 Add errors for getting and changing the playmode.
And reporting.  Also, correct the default playMode for unset psmfplayers.
2014-04-25 21:00:24 -07:00
sum2012
d2f7a9974f Add sceDisplaySetMode error code base on JPCSP 2014-04-26 04:41:01 +08:00
sum2012
bae6768d5c Report scePauth_F7AA47F6
To make tpunix easier to debug
2014-04-24 21:57:20 +08:00
sum2012
e17a1b1b5d Decrease log level in sceUtilityNetconfUpdate
Spam in Danball Senki BOOST
2014-04-24 21:11:23 +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
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
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
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
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