Commit graph

9705 commits

Author SHA1 Message Date
Unknown W. Brackets
f9352ad0b8 Update fbos even if they're not the display.
But only when coming from a video or other safe source, to ensure we don't
hurt speed.  Although, might be interesting to do it always?

With the previous commit, fixes #4273.
2013-10-26 00:36:37 -07:00
Unknown W. Brackets
7aa70b473b Set the viewport properly on video frame draw.
Fixes #3771, video frames being drawn at the wrong size at non-1x.
2013-10-26 00:32:03 -07:00
Unknown W. Brackets
b06fdfeb02 Fix crash in wine (it not works.)
It was sending the notify early, and we didn't have tabs set up yet.
Fixes #4173, at least for the current wine-1.6 Ubuntu packages.
2013-10-25 23:48:54 -07:00
Henrik Rydgård
4cc6171cf9 Merge pull request #4316 from shenweip/patch-12
Fallback to default path if current directory doesn't exist.
2013-10-25 14:38:33 -07:00
shenweip
6a149200b6 Fallback to default path if current directory doesn't exist. 2013-10-26 00:44:19 +08:00
Sacha
0282b505b0 Fix CPUDetect for i386 devices. Thanks @Sonic1. Confirmed by ganoo. 2013-10-26 01:18:59 +10:00
Sacha
cc5934a588 Blackberry threading optimisations. 2013-10-25 21:52:50 +10:00
Sacha
4c52346063 Use Blackberry/UNIX time functions instead of fallbacks. 2013-10-25 21:52:50 +10:00
Sacha
fc37c16aa2 No need to enable FZ every frame. 2013-10-25 21:52:50 +10:00
Henrik Rydgård
4590e44954 add "onFinish" to screens so that ESC (etc) works the same as the back
touch button.
2013-10-25 13:19:08 +02:00
Henrik Rydgård
b896a29ec0 New attempt at solving #4272 by not using alpha in the backbuffer.
If some effect ends up requiring destination alpha, just use buffered
rendering.
2013-10-25 12:44:21 +02:00
Henrik Rydgård
f73aec2570 Only disable buffered rendering by default on Galaxy Y instead of all
Armv6 devices.

Would have like to use gpu feature flags but GL isn't necessarily initialized
when we load the config. Will need to find a different solution.

Also a buildfix for headless non-windows.
2013-10-25 11:47:44 +02:00
Henrik Rydgård
00ee8847e8 Merge pull request #4308 from unknownbrackets/mp3-minor
Fix mp3 savestates and savestate backwards compat
2013-10-25 01:37:46 -07:00
Henrik Rydgård
877b109729 Merge pull request #4309 from unknownbrackets/tests
Update tests
2013-10-25 01:10:21 -07:00
Henrik Rydgård
b865bc1478 Merge pull request #4310 from unknownbrackets/gpu-minor
Fix u_uvscaleoffset shader compilation error
2013-10-25 01:09:53 -07:00
Unknown W. Brackets
deaaa99763 Exclude 0xFF from logging, happens a lot. 2013-10-24 22:03:10 -07:00
Unknown W. Brackets
ac027fac81 Fix missing uniform for GE_TEXMAP_TEXTURE_MATRIX. 2013-10-24 21:59:44 -07:00
Unknown W. Brackets
37c370cec5 Update tests. 2013-10-24 21:39:52 -07:00
Unknown W. Brackets
04f1df4415 Set directories in headless on Windows.
Caused some tests to fail.
2013-10-24 21:29:48 -07:00
Unknown W. Brackets
0b64c5e014 Savestate and shutdown sceMp3 properly.
It wasn't even being saved before.
2013-10-24 20:07:07 -07:00
Unknown W. Brackets
100c188df6 Fix savestate backwards compat.
Broken since 80702109f5.
2013-10-24 20:01:14 -07:00
Unknown W. Brackets
453628946f Free mp3 contexts more carefully. 2013-10-24 19:18:36 -07:00
Unknown W. Brackets
9eda1fc578 Remove code to use last mp3 handle on error.
It was copied from mpeg, where it was added for safety, and it shouldn't
be hit anyway.
2013-10-24 19:07:24 -07:00
Henrik Rydgård
badf33a872 Merge pull request #4286 from unknownbrackets/vtimers
Fix a bunch of issues in vtimers
2013-10-24 11:32:13 -07:00
Henrik Rydgård
265f8226a3 Merge pull request #4305 from unknownbrackets/perf
Speed up FPURegCache::Start() on x86
2013-10-24 11:31:13 -07:00
Unknown W. Brackets
e8091dce44 Speed up FPURegCache::Start() on x86.
This cuts that func by 97% when running the automated tests, and it was 8%
of the total time.  Won't really affect games.
2013-10-24 08:27:42 -07:00
Henrik Rydgard
6c5a2ea91a Windows: Try to autodetect and adjust for QWERTZ and AZERTY keyboard layouts.
Might not have all the layout codes necessary yet.
2013-10-24 12:45:44 +02:00
Unknown W. Brackets
4803dfdce1 Use CoreTiming::GetGlobalTimeUs() for vtimers. 2013-10-24 01:10:46 -07:00
Unknown W. Brackets
9c874c754e Use the us based time for rtc/etc.
Instead of incorrect conversions from ticks based on current mhz.
2013-10-24 01:10:09 -07:00
Unknown W. Brackets
e16d1a926b Keep more careful track of microsecond time. 2013-10-24 01:09:35 -07:00
Henrik Rydgard
36d433cfc3 Update native with horrifying workaround to let us get a back buffer with destination alpha on all gpus I hope... 2013-10-24 01:19:21 +02:00
Henrik Rydgard
f0e47838c6 Just break out some functions in SasAudio 2013-10-24 01:19:08 +02:00
Henrik Rydgard
a790c0a723 SasAudio: Add some comments about reverb, and add the reverb type list 2013-10-23 22:59:42 +02:00
Henrik Rydgard
3a787f46a5 Hide shaders we can't run on GLES2 2013-10-23 22:58:21 +02:00
Henrik Rydgård
6619d0a7ac Merge pull request #4301 from adrian17/master
We don't need to reset the counter as it's already done in Reset()
2013-10-23 11:15:16 -07:00
adrian17
0a086915f5 We don't need to reset the counter as it's already done in Reset() 2013-10-23 19:05:08 +02:00
Henrik Rydgård
a588b46321 Clear the JIT cache correctly when exiting the cheat dialog. 2013-10-23 17:23:05 +02:00
Henrik Rydgård
2b278d4c13 Buildfix 2013-10-23 17:00:10 +02:00
Henrik Rydgård
70738c1755 Automatically clear the JIT when exiting the Cheats dialog box.
Plus some simple cleanup.
2013-10-23 16:10:58 +02:00
Henrik Rydgård
5705acba04 Cleanup 2013-10-23 16:10:58 +02:00
Henrik Rydgård
68ba188dcd Merge pull request #4296 from xsacha/master
Use correct count in save data focus compares. Also fix the random data that caused the issue. Also fix time compares.
2013-10-23 06:43:14 -07:00
Sacha
9e20e1a297 Fix time compares in save focus. Was breaking platforms (like QNX) where time is stored as a 64-bit unsigned value (nanoseconds). 2013-10-23 23:25:25 +10:00
Sacha
1af2f99959 Initialise everything in the SaveFileInfo to 0.
We were getting std::tm initialised to random values which non-existent files become the preferred save.
2013-10-23 23:19:50 +10:00
Sacha
07e8d475b3 Use name count instead of data count for grabbing focus. 2013-10-23 23:16:49 +10:00
Henrik Rydgård
cb0211f5a3 Merge pull request #4299 from daniel229/patch_01
Turn off optimazation in amctrl.c when using vs2013 as it does not work correct.
2013-10-23 05:19:45 -07:00
Henrik Rydgård
8d1032bf53 Update native with small UI fix 2013-10-23 14:15:58 +02:00
daniel229
9a91f1ecfd Turn off optimazation in vs2013 2013-10-23 20:01:03 +08:00
Unknown W. Brackets
05f2f53358 The vtimer return value is treated as u32. 2013-10-22 22:50:52 -07:00
Sacha
b0d7f758be Remove QCOM binning control detection. Qualcomm suggests not to use it and it causes crashes on my Adrenos anyway. 2013-10-23 15:02:48 +10:00
Sacha
78d6ad6f80 Clean up GLES3init. Pass Blackberry version through to defines. Update QCOM binning comment. 2013-10-23 15:02:48 +10:00