Unknown W. Brackets
ad060b992d
Clear buffers right after creating them.
...
Seems like some drivers have trouble otherwise.
2014-06-23 00:17:35 -07:00
Henrik Rydgård
1a830b1b60
Merge pull request #6402 from unknownbrackets/gpu-minor
...
Fix render-to-tex when format temporarily mismatches
2014-06-23 08:35:15 +02:00
Henrik Rydgård
5436d2f935
Merge pull request #6403 from unknownbrackets/sched-cycles
...
Eat cycles when context switching and delaying
2014-06-23 08:34:28 +02:00
Henrik Rydgård
04e46d712d
Merge pull request #6404 from unknownbrackets/ge-minor
...
Don't wake a killed list in ge callback end.
2014-06-23 08:32:44 +02:00
Unknown W. Brackets
17496330ce
Don't wake a killed list in ge callback end.
...
Fixes #3198 , some homebrew demos locking up.
2014-06-22 23:21:10 -07:00
Unknown W. Brackets
633120b895
Fix a crash on read from stdin.
...
Found in a homebrew demo.
2014-06-22 23:18:39 -07:00
Unknown W. Brackets
5e8716f9cc
Adjust strlen() cycle approximation.
...
The hashed implementations take several cycles per character.
2014-06-22 23:18:06 -07:00
Sacha
858a783b36
CMake 3.0: Fix DL_LIBS being reset for Blackberry.
2014-06-23 16:07:26 +10:00
Unknown W. Brackets
c1e293fe7c
Fix a warning on 32-bit that might be bad...
2014-06-22 22:17:48 -07:00
Unknown W. Brackets
392edb4f84
Eat some cycles when switching threads.
...
There's a cost and it seems to be at least this much. Matters for
Wipeout Pure when callbacks are allowed to wait.
2014-06-22 22:17:47 -07:00
Unknown W. Brackets
6d104edb5d
Make sure not to leak any enabled vertex arrays.
...
When returning to EmuScreen, we need to reset any enabled vertex arrays or
we could crash in EmuScreen. Also, when starting a frame / dirting the
shader, make sure also to toggle the vertex arrays.
2014-06-22 21:42:29 -07:00
Unknown W. Brackets
b8ad665b53
Clear vertex attrib arrays before output to screen.
...
Doesn't seem to help the mis-enabled arrays, though.
2014-06-22 21:03:33 -07:00
Unknown W. Brackets
4c62a17f72
Allow exact render-to-tex format mismatches more.
...
If the right format was used recently, it's still okay. Also check the
x/y offset to try to find the best match.
2014-06-22 21:02:43 -07:00
Unknown W. Brackets
e8803c4e9b
Improve sceKernelDelayThread() timing.
...
A delay of 0 never reschedules, actually, unless there's a better priority
thread. A greater delay depends on if a >= or similar check matches, but
generally is at least 200us.
It seems like this actually completes in at least another 10-20us.
2014-06-22 19:47:54 -07:00
Unknown W. Brackets
8851fc1685
Remove savedIdRegister/MIPS_CALL_ID.
...
We've never trusted it anyway, simpler without dealing with this stuff.
2014-06-22 11:29:47 -07:00
Sacha
756ad884ed
Qt: Workaround for Qt4 quotes.
2014-06-23 04:08:09 +10:00
Henrik Rydgård
b2ae317560
Merge pull request #6393 from hrydgard/menu-audio
...
Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen".
2014-06-22 19:35:16 +02:00
Henrik Rydgård
76d725f9f8
Merge pull request #6394 from unknownbrackets/menu-audio
...
Add AT3 support for background audio
2014-06-22 19:20:54 +02:00
Unknown W. Brackets
f39b1625af
Add a safety check.
2014-06-22 10:05:27 -07:00
Unknown W. Brackets
fa4a50de23
Clear dataLoaded flags after clearing data.
...
Seems to fix some race for me with background icons showing up black.
Maybe a double load?
2014-06-22 09:56:05 -07:00
Unknown W. Brackets
47ad97617e
Play AT3 files in background audio too.
...
Fixes 3rd Birthday and PQ2, at least.
2014-06-22 09:55:14 -07:00
Henrik Rydgard
122fa17d74
Fix android build
2014-06-22 18:37:18 +02:00
Henrik Rydgard
8c36921d3c
Have SimpleAudio respect channels/samplerate passed in
2014-06-22 18:33:09 +02:00
Henrik Rydgard
29e9d0caa3
More focus handling issue fixing
2014-06-22 18:32:57 +02:00
Henrik Rydgard
fa3cdb0e3d
Fix issue where the "background audio game" could get cleared by mistake.
...
Takes care of the case of going to the game menu through Triangle.
2014-06-22 18:16:36 +02:00
Sacha
6e5d7ed455
Qt: Fix up lrelease path when outside of qtdir and version string for Symbian.
2014-06-23 01:59:42 +10:00
Henrik Rydgard
3b55d1190d
BG music: Zero the sample buffer on decode fail
2014-06-22 17:57:12 +02:00
Henrik Rydgard
dc66e18c00
Minor perf fix in SimpleAudio: Lazily create resampling contexts once instead of every audio frame
2014-06-22 17:50:47 +02:00
Henrik Rydgard
4a2aa3cbe6
Lost-keyboard-focus fix in native
2014-06-22 17:47:03 +02:00
Henrik Rydgard
f9656ccdb5
Update native (second constructor for chunkfile)
2014-06-22 17:41:40 +02:00
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