13034 Commits

Author SHA1 Message Date
Unknown W. Brackets
a2031cdc62 scePsmfPlayerGetVideoData() keeps going at end.
Even if the video has ended, this happily returns the last frame (with the
same pts value) over and over.  Audio or no audio.

It only returns no data when it's called too early.
2014-05-22 22:19:10 -07:00
Unknown W. Brackets
e79d700bf0 Fix error codes in scePsmfPlayerGetVideoData(). 2014-05-22 22:17:42 -07:00
Unknown W. Brackets
da03308bfa Small correction to psmfplayer seeking.
Should be the specific position after the fileoffset, and should be offset
by the start pts thing...
2014-05-22 00:34:47 -07:00
Unknown W. Brackets
1c4053f3c6 Correct scePsmfPlayerUpdate() finished timing.
With or without audio, it always sets the end on the second call after the
last frame.  Makes sense.
2014-05-22 00:08:18 -07:00
Unknown W. Brackets
42e6dc2e2f Fix Symbian build (avoid range for.) 2014-05-21 08:40:14 -07:00
Unknown W. Brackets
b596e952bf Attempt to make range-for work in 4.6.3... 2014-05-21 08:11:11 -07:00
Unknown W. Brackets
288d867588 Fix a type comparison warning. 2014-05-21 08:00:31 -07:00
Unknown W. Brackets
29bd4b63e4 Fix a bunch of formatting warnings. 2014-05-21 07:59:58 -07:00
Unknown W. Brackets
e7336106e9 Update native (Travis buildfix attempt.) 2014-05-21 07:46:09 -07:00
Henrik Rydgård
56bea03fd1 Merge pull request #6106 from unknownbrackets/ui-tweaks
Avoid a race condition during game shutdown
2014-05-21 11:59:39 +02:00
Unknown W. Brackets
67fc607671 Oops, dumb mistake in reporting. 2014-05-21 01:17:15 -07:00
Unknown W. Brackets
0a92d377b0 Avoid a race condition during game shutdown.
Hoping this is it.
2014-05-21 01:13:40 -07:00
Unknown W. Brackets
5c13d482e0 When reporting module versions, include devkit ver.
Looks like this'll be the ticket for scePsmfPlayer, which has different
functionality in different versions (including when and how end of video
is flagged, which FF2 depends on.)

Now let's see what versions are out there.
2014-05-21 01:11:33 -07:00
Henrik Rydgård
90c3768ba8 Merge pull request #6101 from hilesaz/master
Fix nonblocking ptpConnect on Windows
2014-05-20 15:29:51 +02:00
Henrik Rydgård
2cfc6bb880 Merge pull request #6100 from sum2012/sceMpegAvcCsc
Revert "Apply hleDelayResult to sceMpegAvcCsc"
2014-05-20 14:11:39 +02:00
Henrik Rydgård
babe5b221a Update submodules 2014-05-20 10:22:56 +02:00
Henrik Rydgård
c5d5a696a1 Merge pull request #6104 from unknownbrackets/psmfplayer
Recopy the video in between frames in psmfplayer, other minor fixes
2014-05-20 10:04:04 +02:00
Henrik Rydgard
b65e90e71d Forgot to make translatable 2014-05-19 23:43:59 +02:00
Henrik Rydgard
3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
Henrik Rydgård
c4d8b31956 Merge pull request #6102 from sum2012/screenshot
Temp disable SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN
2014-05-19 09:34:08 +02:00
Unknown W. Brackets
346f725334 Don't allow seeking without an EPmap. 2014-05-18 21:58:43 -07:00
Unknown W. Brackets
aafc8f1cec Validate and report initial psmfplayer playMode.
We only support play and pause, but they're the only ones I've seen.
2014-05-18 21:41:15 -07:00
Unknown W. Brackets
0c77d3c2ea Delay scePsmfPlayerStart() when seeking.
It seems to only delay when it was already playing.
2014-05-18 20:59:18 -07:00
Unknown W. Brackets
ceebdca2fb Check scePsmfPlayerStart() params like the PSP.
It doesn't care if there's actually audio data here.
2014-05-18 20:48:02 -07:00
Unknown W. Brackets
cd9d85caff Add a delay when setting the psmfplayer file.
This roughly matches the delay that occurs on a real PSP, during which
other threads can run.
2014-05-18 20:43:10 -07:00
Unknown W. Brackets
923189ab47 Prevent a crash on bogus data in psmfplayer. 2014-05-18 20:30:58 -07:00
Unknown W. Brackets
242fe2f3a9 scePsmfPlayerGetVideoData() writes every frame.
Thought it didn't due to dcache not being invalidated.  Fixes #6085.
2014-05-18 19:26:05 -07:00
Unknown W. Brackets
55fd30b520 Skip a bit of work when syncing video/audio. 2014-05-18 19:20:34 -07:00
Unknown W. Brackets
09dde13b19 Fix minor typo in comment. 2014-05-18 19:18:49 -07:00
sum2012
c23f4402fd Temp disable SCE_UTILITY_STATUS_SCREENSHOT_UNKNOWN 2014-05-19 05:27:05 +08:00
Bovine
c76548377c Fix nonblocking ptpConnect on Windows
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx
"[...] it is not recommended that applications use multiple calls to
connect to detect connection completion.  If they do, they must be
prepared to handle WSAEINVAL and WSAEWOULDBLOCK error values the same
way that they handle WSAEALREADY, to assure robust operation."

Ideally socket->state should be set to a different state and select()
used to poll sockets until state can be switched to closed or
established.  Changes to socket->state are visible to games as so
probably should not be done without testing.
2014-05-18 06:41:02 -07:00
sum2012
f047320a9c Revert "Apply hleDelayResult to sceMpegAvcCsc"
Fix video 's screen dislocation in Bleach heat of soul 6
#5535
2014-05-18 12:25:32 +08:00
Henrik Rydgård
8c11559e3b Merge pull request #6098 from sum2012/kernal
Add some kernal module
2014-05-18 01:12:25 +02:00
sum2012
b8d82e0a92 Correct Memory check in sysclib_memset 2014-05-18 04:23:10 +08:00
sum2012
bc36555f24 sysclib_memset change to WrapU_UII 2014-05-18 04:20:48 +08:00
sum2012
21c301962b Add some kernal module
Find in bugz Homebrew
2014-05-17 23:06:01 +08:00
Henrik Rydgård
965cdb3832 Merge pull request #6092 from unknownbrackets/armjit-minor
Clean up some NaN handling in some instructions
2014-05-16 10:20:25 +02:00
Unknown W. Brackets
5b24e0107f x86jit: Correct vsat0/vsat1 handling. 2014-05-16 01:04:58 -07:00
Unknown W. Brackets
ccc5458a84 x86jit: Correctly handle NaNs in vfpxd sat clamps.
May be a small performance jit, but we've seen games with bugs because of
NaNs recently, so better to be safe.
2014-05-16 01:04:57 -07:00
Unknown W. Brackets
69b0b622be armjit: Fix D-prefix sat clamp NAN handling.
They should leave NAN alone.
2014-05-16 01:04:57 -07:00
Unknown W. Brackets
bc32f0e0b2 armjit: Correct disabled vslt NaN handling.
Can possibly enable?
2014-05-16 01:04:57 -07:00
Unknown W. Brackets
a3ad238a44 Add notes for proper NaN handling in vmin/vmax. 2014-05-16 01:04:56 -07:00
Henrik Rydgård
ad177b3333 Merge pull request #6090 from unknownbrackets/texfiltering
Don't force nearest for colortest against black
2014-05-16 09:06:37 +02:00
Unknown W. Brackets
ec0ae44200 Don't force nearest for colortest against black.
Should fix #4217 and be relatively safe.  Probably it's a common colortest
ref color that's safe?
2014-05-15 23:52:16 -07:00
Henrik Rydgård
3580c40730 Merge pull request #6089 from unknownbrackets/gpu-minor
Fix gpu/ge/queue test, GE debugger breaking when not active
2014-05-16 08:51:53 +02:00
Henrik Rydgård
729f276b4f Merge pull request #6087 from unknownbrackets/ui-tweaks
Don't set pending boot flag on "stop"
2014-05-16 08:51:18 +02:00
Henrik Rydgård
78e83a23b0 Merge pull request #6088 from unknownbrackets/texfiltering
Avoid forcing nearest/disabling linear if possible
2014-05-16 08:50:55 +02:00
Unknown W. Brackets
fc7b5f3141 Make sure not to break when GE debugger closed.
Also, try to fix a might-be race condition.
2014-05-15 22:45:51 -07:00
Unknown W. Brackets
2ad06d777b Eat cycles and resched in sceGeContinue().
Fixes the gpu/ge/queue test.
2014-05-15 22:45:09 -07:00
Unknown W. Brackets
99458d7797 Avoid forcing nearest/disabling linear if possible.
If we know that the test is trivially true, we don't need to worry about
the test.  May help #4405.
2014-05-15 22:38:44 -07:00