12810 Commits

Author SHA1 Message Date
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
Unknown W. Brackets
6c53f19854 Trigger memchecks on audio decode from video. 2014-04-26 11:51:06 -07:00
Unknown W. Brackets
065677095f Trigger memchecks on writing out video data. 2014-04-26 11:48:02 -07: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
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
Unknown W. Brackets
1de6941482 Correct PTS reading during audio demux. 2014-04-25 22:50:36 -07: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
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
Henrik Rydgård
462c261e31 One more fix in crt.fs 2014-04-22 09:12:18 +02:00
Henrik Rydgård
99591d4a11 Merge pull request #5928 from thedax/jitOptionIngame
Don't allow switching between JIT/interpreter when a game is running.
2014-04-22 09:10:07 +02:00
Henrik Rydgård
724a5bf588 Merge pull request #5932 from raven02/patch-17
Fix CRT shader
2014-04-22 08:58:06 +02:00
raven02
3bd9449c77 Fix CRT shader 2014-04-22 14:57:50 +08:00
Unknown W. Brackets
a2e94438b2 Merge pull request #5931 from raven02/patch-16
Fix a typo
2014-04-21 23:44:10 -07:00
raven02
950e404442 Fix a typo 2014-04-22 14:31:34 +08:00
Unknown W. Brackets
424d93e9a9 Separate out the fog color/coef executes. 2014-04-21 22:56:54 -07:00
Unknown W. Brackets
38b92e48ec Fix uniform dirtying on colortest mask. 2014-04-21 22:54:17 -07:00
Unknown W. Brackets
1bbd3d04af Move the light params to separate funcs. 2014-04-21 22:47:44 -07:00
Unknown W. Brackets
748ce6a753 Fix typo breaking older savestates. 2014-04-21 22:40:50 -07:00
Unknown W. Brackets
701171f75a Merge remote-tracking branch 'upstream/no-light-cache' 2014-04-21 22:40:21 -07:00
The Dax
847895320d Don't allow switching between JIT/interpreter when a game is running.
It doesn't work, anyway.
2014-04-22 00:27:31 -04:00
Unknown W. Brackets
63c00878d0 Buildfix for Android armv6. 2014-04-21 07:46:17 -07:00
Henrik Rydgard
9b1302cf77 Don't initialize lighting and lights unless they are enabled 2014-04-21 12:51:20 +02:00
Henrik Rydgard
fddc0e74b6 Buildfix non-windows platforms 2014-04-21 12:51:20 +02:00
Henrik Rydgard
16f4622ac7 Remove cached light variables to reduce work when parsing DLs.
Also removes some duplication between GL and the inactive D3D code.
2014-04-21 12:51:19 +02:00
Henrik Rydgard
1d545f3e6b SW transform: Don't initialize Lighter if lighting is disabled. 2014-04-21 12:49:36 +02:00
Henrik Rydgård
f9344b5557 Merge pull request #5909 from raven02/patch-11
Split out texture level
2014-04-21 10:25:28 +02: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
Henrik Rydgård
68eaf3d146 Merge pull request #5924 from unknownbrackets/debugger
Fix a race condition on shutdown with hashmap
2014-04-21 10:10:13 +02:00
Henrik Rydgård
faa929ac7c Merge pull request #5923 from unknownbrackets/ui-tweaks
Don't count all files as savedata if id blank
2014-04-21 09:57:30 +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
Unknown W. Brackets
4dcf1d86ed Don't count all files as savedata if id blank. 2014-04-20 20:50:45 -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
Henrik Rydgård
967fa43faf Merge pull request #5920 from unknownbrackets/tests
Update tests, add root path for tests
2014-04-20 16:30:17 +02: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
aed5615d97 Update tests. 2014-04-19 21:43:10 -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