Commit Graph
13643 Commits
Author SHA1 Message Date
Henrik Rydgard 3b4e30d50f bg audio: Sprinkle on some thread safety 2014-06-22 17:26:15 +02:00
Henrik Rydgard f8e32f4a71 Just zero the buffer if we failed to open the file 2014-06-22 17:18:40 +02:00
Henrik Rydgard cefc0bc96f Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen". 2014-06-22 17:02:04 +02:00
Henrik Rydgard 12cef8fa80 Oops, buildfixes 2014-06-22 14:23:06 +02:00
Henrik Rydgard dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Henrik Rydgard 1d0cc3417c Audio stuff: Cleanup, delete dead code 2014-06-22 14:01:23 +02:00
Henrik Rydgard 9fc37cac7d Fix Qt/Blackberry builds 2014-06-22 11:17:22 +02:00
Henrik Rydgard 89a650f255 Update submodules (lang, native buildfix) 2014-06-22 10:53:37 +02:00
Henrik Rydgard 2236b3a52b sceAtrac3 minor cleanup: Get rid of mutable globals, add another sanity check with reporting 2014-06-22 10:42:27 +02:00
Henrik Rydgard c0e5db0e0d Linux buildfix attempt 2014-06-22 10:34:42 +02:00
Henrik Rydgard b1ae00c56f GameInfoCache: Clear snd together with bg 2014-06-22 09:57:02 +02:00
Henrik Rydgard 6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Henrik Rydgård b5435260b0 Merge pull request #6389 from unknownbrackets/intrman
Correct error codes and dup checks in inter registration
2014-06-22 08:54:40 +02:00
Henrik Rydgård eccbb15e89 Merge pull request #6388 from unknownbrackets/ui-tweaks
Show game background during controller/keyboard game selection
2014-06-22 08:53:11 +02:00
Henrik Rydgård 448e63a4cb Merge pull request #6387 from sum2012/Atrac-minor
Further add a codecType check
2014-06-22 08:47:00 +02:00
Unknown W. Brackets 3498b33033 Allow sub interrupts to be enabled before register.
Could've caused interrupts, primarily vblanks, not to run because we
implicitly disabled them on register.
2014-06-21 21:43:44 -07:00
Unknown W. Brackets 87ee0bc650 Return error codes in register/release subintr.
This checks for duplicate registrations and other thigns that could've
been causing wrong behavior.
2014-06-21 21:27:58 -07:00
Unknown W. Brackets d5ddf4c438 Make it easy to get the SND0.AT3 data. 2014-06-21 18:38:26 -07:00
Unknown W. Brackets a6436d04f5 Support PIC0 in PBP files. 2014-06-21 18:29:54 -07:00
Unknown W. Brackets a0340debd6 Use flags to specify wanted data in gamecache. 2014-06-21 18:24:21 -07:00
Unknown W. Brackets 0416f0d918 On main screen, show game bgs using controller.
This won't affect touch UIs but it's a nice touch for controller based
animation imho.
2014-06-21 18:04:27 -07:00
Unknown W. Brackets 73d77d3e8a Warning fix. 2014-06-21 18:04:00 -07:00
Unknown W. Brackets f4f3d280f7 Avoid locking up the UI for gamecache loads.
If the icon/bg is not loaded yet, we'd lock and block for it to load
anyway.  This uses a separate (or possibly atomic) lock.
2014-06-21 18:03:32 -07:00
sum2012 f3826bc608 Further add a codecType check 2014-06-22 06:49:02 +08:00
Unknown W. Brackets a22fb9289d Load the icon on the game screen with the bg.
Still looks nicer this way.
2014-06-21 14:03:50 -07:00
Unknown W. Brackets 53547bd8b9 Refactor a bit to simplify the code. 2014-06-21 13:49:30 -07:00
Unknown W. Brackets 1a44b557e5 Allow loading game info without clearing old.
More seamless when we already have the icon, for example.
2014-06-21 13:44:07 -07:00
Henrik Rydgård 0fee05d945 Merge pull request #6369 from thedax/reschedule
sceDisplayGetVcount should apparently reschedule. Fixes #3234.
2014-06-21 21:15:53 +02:00
Henrik Rydgård 4a12edd17b Merge pull request #6384 from unknownbrackets/mpeg-streams
Abuse esBuffer to track the vid/aud stream id
2014-06-21 21:15:26 +02:00
Unknown W. Brackets e0b4aa68d0 Typos. 2014-06-21 12:04:27 -07:00
Henrik Rydgård 5f57e7ebaf Merge pull request #6383 from unknownbrackets/gpu-minor
Check for closest render-to-tex, ignore high bits of fb addr
2014-06-21 21:03:17 +02:00
Henrik Rydgård 18bcabb5ba Merge pull request #6385 from unknownbrackets/framebuffer-clut
Support more shift/masks in fb cluts on GLES2
2014-06-21 20:54:51 +02:00
Unknown W. Brackets 0418c8071a Support more shift/masks in fb cluts on GLES2. 2014-06-21 11:10:57 -07:00
Unknown W. Brackets de2a3834e0 Abuse esBuffer to track the vid/aud stream id. 2014-06-21 09:27:39 -07:00
Unknown W. Brackets e9224e9eaa Actually set the offset framebuffer.
Oops.
2014-06-21 09:04:39 -07:00
Unknown W. Brackets 1cea361c65 Remove now-unnecessary MaskedEqual() compares.
Clearer this way I think.
2014-06-21 08:30:45 -07:00
Unknown W. Brackets 2883988f22 Ignore the high bits of the framebuffer address.
And depth buffer.  On a PSP, these bits don't affect where it renders to
even slightly.
2014-06-21 08:29:38 -07:00
Unknown W. Brackets 4319d5eb28 Take the closest offset framebuffer.
There could be multiple, or even an exact match too.  Make sure to take
the closest one.
2014-06-21 08:23:10 -07:00
Unknown W. Brackets d7e2c2c1d2 armjit: Oops, correctly handle plus/minus vmin/max. 2014-06-21 07:45:47 -07:00
Henrik Rydgård 42e28b0c75 Merge pull request #6381 from sum2012/sceAtrac
Add a codecType check in sceAtracSetHalfwayBufferAndGetID
2014-06-21 13:33:04 +02:00
Henrik Rydgård 6e2235d9b8 Merge pull request #6380 from unknownbrackets/psmf-minor
Don't skip the first psmf frame when syncing audio
2014-06-21 13:32:29 +02:00
Henrik Rydgård 09e5a60499 Merge pull request #6378 from unknownbrackets/gpu-minor
Validate framebuffer uploads a bit more
2014-06-21 13:32:09 +02:00
Henrik Rydgård e6e88aaee8 Merge pull request #6382 from unknownbrackets/armjit-minor
Fix vmin/vmax to follow the PSP's rules
2014-06-21 13:31:22 +02:00
Unknown W. Brackets 95f5d9397c Correct overflow in trunc.w.s for interpreter.
Reported in #4786.
2014-06-21 00:53:33 -07:00
Unknown W. Brackets 62daf6d7c8 armjit: Fix vmin/vmax to follow the PSP's rules.
Also the interpreter.  Fixes #6107.
2014-06-20 23:55:33 -07:00
sum2012 6fe74d938e Change to report 2014-06-21 08:00:16 +08:00
sum2012 846eda836f Add a codecType check in sceAtracSetHalfwayBufferAndGetID
Fix crash in #6363
2014-06-21 05:44:29 +08:00
Unknown W. Brackets ae13d51cef Don't skip the first psmf frame when syncing audio.
Fixes #6374.
2014-06-20 09:07:18 -07:00
Unknown W. Brackets 43e5ac986c Fix fast math mangling on non-Linux platforms.
It needs the underscore prefix.  May help #6358.
2014-06-20 08:51:16 -07:00
Unknown W. Brackets 0c31e551e7 Clear buffers before using them.
Fixes a reported crash on an AMD card.
2014-06-19 23:09:15 -07:00