Commit graph

2633 commits

Author SHA1 Message Date
Henrik Rydgard
790024c829 Add option to choose Audio backend, as WASAPI does not seem to be ideal for everyone..
Default to WASAPI though (Auto)
2015-01-24 13:50:27 +01:00
Henrik Rydgard
4ebdf49fb6 Update ffmpeg to master, also switching to static linking of MSVCRT. Don't forget to update your submodules! 2015-01-24 13:30:37 +01:00
Henrik Rydgard
cae58cafee Revert "Merge pull request #7361 from hrydgard/color-conv-centralize"
This reverts commit f1b57dabf5, reversing
changes made to 41001637ce.
2015-01-22 19:53:32 +01:00
Henrik Rydgard
7faddd6100 Consolidate the two TextureScaler copies into one.
Also lets us clean up ColorConv slightly.
2015-01-20 17:32:55 +01:00
Unknown W. Brackets
a8eba307c3 Fix an unnecessary iterator compare. 2015-01-19 09:05:19 -08:00
Unknown W. Brackets
6e6b45ce2b Fix a missing break. 2015-01-19 08:58:37 -08:00
Unknown W. Brackets
83b8e564cf Avoid an unlikely error in breakpoint listing. 2015-01-19 08:31:56 -08:00
Unknown W. Brackets
964a50ca05 Fix a couple possible buffer overruns. 2015-01-18 13:16:34 -08:00
Unknown W. Brackets
5875cea30a Fix a mistaken case fallthrough. 2015-01-17 19:49:58 -08:00
Unknown W. Brackets
b6d6f26160 Fix an uninitialized value. 2015-01-17 18:56:55 -08:00
Unknown W. Brackets
fa84bb6948 Fix some unlikely uninitialized values. 2015-01-17 18:43:04 -08:00
Unknown W. Brackets
e980486719 Fix a small memory leak in video card detection. 2015-01-17 18:43:03 -08:00
Unknown W. Brackets
e7aabc8f53 Avoid a hang on step out with no threads. 2015-01-17 18:43:02 -08:00
Unknown W. Brackets
53fb8c3265 dx9: Avoid a minor leak in loading ex9. 2015-01-17 18:43:02 -08:00
Unknown W. Brackets
eaa4743285 Fix a very minor leak. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
86ec5114d2 Fix a bad sprintf() format. 2015-01-17 18:42:59 -08:00
Josh Palmer
918b96500c DInput/XInput: Configurable deadzone + inverter
* Add configurable shared deadzone for all DInput axes
* Add configurable separate deadzones for left & right XInput sticks
* Add configurable deadzone inverter for DInput X/Y axes
* Add configurable deadzone inverter for XInput sticks
2015-01-17 21:26:08 +00:00
Henrik Rydgard
8a574e5cd2 Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334 2015-01-15 22:33:20 +01:00
Unknown W. Brackets
f366cab98d Fix a type comparison warning. 2015-01-15 12:27:01 -08:00
Henrik Rydgard
8b05e7abf0 Adjust the audio speed on non-60hz Android devices to compensate.
Greatly improves audio stability on Nexus S.

Fixes #6677 .
2015-01-14 00:45:12 +01:00
Henrik Rydgard
e349ec2960 Some missing de-init 2015-01-13 20:51:58 +01:00
Henrik Rydgard
5f30bba5c9 WASAPI: Exit the audio thread the recommended way to avoid pops and clicks 2015-01-12 21:34:17 +01:00
Henrik Rydgard
0493d8154a WASAPI audio: Try to do something non-crazy for non-stereo audio streams.
Should really do a proper surround matrix but let's try this for now..
2015-01-12 20:57:13 +01:00
Henrik Rydgard
091593f0c9 WASAPI audio: Fix reporting, and blindly try to add PCM16 support, in case that would come up.
May help #7323 ?
2015-01-12 20:24:55 +01:00
Unknown W. Brackets
4705a2568e Convert s16->float using SSE2. 2015-01-11 14:31:21 -08:00
Henrik Rydgard
8b97669f01 Cleanup 2015-01-11 23:19:49 +01:00
Henrik Rydgard
3381df4e04 Add a WASAPI audio backend, use it automatically on Vista+. Reduces audio latency on Windows. 2015-01-11 21:44:31 +01:00
Henrik Rydgard
c8dfcd5e74 Prepare for interchangable Windows audio backends 2015-01-11 21:00:56 +01:00
Henrik Rydgard
51f352ee26 Delete unused code in DSoundStream, fix system_getpropertyint for iOS 2015-01-11 19:30:25 +01:00
Henrik Rydgard
1b055fd07e Make the sample rate queryable as a sysprop 2015-01-11 14:18:40 +01:00
Henrik Rydgard
cac7a2feed Add a sample rate parameter to DSound, clean it up a bit 2015-01-11 14:11:09 +01:00
Henrik Rydgard
62d86f3246 Remove useless indirection class "PSPMixer" 2015-01-11 12:02:49 +01:00
Henrik Rydgard
4037a3a569 Buildfix 2015-01-06 12:59:28 +01:00
Henrik Rydgård
52f864483b Merge pull request #7240 from xebra/dx9
DX9:Handle all errors in reset function.
2015-01-06 12:01:28 +01:00
Unknown W. Brackets
7f7bf937fc Scale UVs in through and non-through.
This also shows them scaled to the w/h in the vertex preview, which is
probably easier to read and matches positions.

Additionally, fixes textures drawn fully not being highlighted at all.
2015-01-03 17:16:16 -08:00
xebra
97d9ec1400 DX9:Fix error handling using DXGetErrorString. 2014-12-31 00:47:40 +09:00
xebra
536d2f4dc3 DX9:Handle remained errors. 2014-12-30 20:49:35 +09:00
xebra
2e0352ae17 DX9:Handle all errors in reset function. 2014-12-30 20:23:20 +09:00
Unknown W. Brackets
1a0f537967 dx9: Avoid triggering reset when size unchanged. 2014-12-28 13:19:19 -08:00
Unknown W. Brackets
cb62468fb9 dx9: Fix a shadowing issue in D3D9_Init().
Oops, wasn't getting the right hWnd before.  Somehow my dx9 doesn't care.
2014-12-27 11:04:15 -08:00
Unknown W. Brackets
853e81cf03 dx9: Explicitly specify the backbuffer size.
Some people are getting black screens with Direct3D9 now, this is just a
theory.  Can revert if it doesn't help.
2014-12-27 09:56:21 -08:00
Henrik Rydgård
6af7f4f7f3 Merge pull request #7226 from xebra/dx9
Fix resize the window correctly on dx9 backend
2014-12-25 23:15:34 +01:00
xebra
ecbc942c55 DX9:Implement resize back-buffer. 2014-12-26 01:41:12 +09:00
Chin
3cbbf97519 Add 256x256 icon to Windows icon file 2014-12-24 13:48:00 -05:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
Unknown W. Brackets
bafa7d0670 Add git-version to more than just Core.
This won't catch native or armips, but it will catch more before and still
won't make the build wrongly dirty all the time.

See #5575.
2014-12-02 22:55:19 -08:00
Kingcom
f6cedcbff5 Replace assembler with a submodule 2014-11-23 21:09:40 +01:00
Unknown W. Brackets
fba0110073 Properly clamp some iterative snprintf()s. 2014-11-05 08:06:15 -08:00
fgeds
b55ed059e8 line 417, trimmed control filename to the size of settings filename 2014-11-02 20:38:00 +01:00
Peter Tissen
a8b595c4d3 Fix copy paste error with that breaks controlconfig passing via cmdline
This was discovered by fgeds here: http://forums.ppsspp.org/showthread.php?tid=13655
so all props go to him.
2014-11-02 14:19:20 +01:00