Commit Graph

15659 Commits

Author SHA1 Message Date
Unknown W. Brackets
964a50ca05 Fix a couple possible buffer overruns. 2015-01-18 13:16:34 -08:00
Henrik Rydgård
45ec0c8a14 Merge pull request #7349 from unknownbrackets/ffmpeg-compat
Defer opening audio codec until we have block size
2015-01-18 22:03:30 +01:00
Unknown W. Brackets
dd5a69c18e Update armips with warning fixes. 2015-01-18 13:00:06 -08:00
Unknown W. Brackets
daa90024ed Defer opening audio codec 'til we have block size.
May fix issues with newer versions of FFmpeg (#5772.)
2015-01-18 12:59:26 -08:00
Henrik Rydgård
6cd0cce860 Merge pull request #7344 from unknownbrackets/atrac-parsing
Improve atrac RIFF parsing
2015-01-18 19:49:37 +01:00
Henrik Rydgård
c72bd355dc Merge pull request #7341 from unknownbrackets/warnings
Fix some static analysis warnings
2015-01-18 19:47:38 +01:00
Unknown W. Brackets
5875cea30a Fix a mistaken case fallthrough. 2015-01-17 19:49:58 -08:00
Unknown W. Brackets
116ddaaaf4 Fix a bad nullcheck. 2015-01-17 19:49:47 -08:00
Unknown W. Brackets
b6d6f26160 Fix an uninitialized value. 2015-01-17 18:56:55 -08:00
Unknown W. Brackets
6382d794a7 Fix a debugger leak in an error case. 2015-01-17 18:54:01 -08:00
Unknown W. Brackets
dcf54ec8a0 armjit: Burn less hard without a quad mapping. 2015-01-17 18:48:50 -08:00
Unknown W. Brackets
3fcf695159 Fix an unlikely leak on error. 2015-01-17 18:45:03 -08:00
Unknown W. Brackets
fa84bb6948 Fix some unlikely uninitialized values. 2015-01-17 18:43:04 -08:00
Unknown W. Brackets
de8ffc18b3 Match up two arrays for error messages. 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
d5c7fb3f0e Avoid an out of bounds mem access. 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
340029f333 Avoid a bad buffer access on GE_PRIM_KEEP_PREVIOUS. 2015-01-17 18:43:01 -08:00
Unknown W. Brackets
eaa4743285 Fix a very minor leak. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
d497bc7c8c Ensure safe zim access regardless of file contents. 2015-01-17 18:43:00 -08:00
Unknown W. Brackets
a191b9ac7f Fix a potentially not null terminated string. 2015-01-17 18:42:59 -08:00
Unknown W. Brackets
86ec5114d2 Fix a bad sprintf() format. 2015-01-17 18:42:59 -08:00
Unknown W. Brackets
0dc3e4e2db x86jit: Handle unable to spill better.
Might as well check the result to be safe.
2015-01-17 18:42:58 -08:00
Unknown W. Brackets
c0a04cbf7e armjit: Fix first temp vreg offset.
Wonder what havoc this could've caused....
2015-01-17 18:21:04 -08:00
Unknown W. Brackets
795088001c Avoid passing a GPUstate by value.
Only used by Qt GE debugger thing anyway.
2015-01-17 18:21:04 -08:00
Unknown W. Brackets
ff59cd6e11 Fix a potential debug buffer overrun. 2015-01-17 18:21:03 -08:00
Unknown W. Brackets
cf0e337b27 Fix a memleak on an error condition. 2015-01-17 18:21:03 -08:00
Unknown W. Brackets
cf577e9e80 Merge branch 'kernel-mbx' 2015-01-17 18:17:13 -08:00
Unknown W. Brackets
e40bef6f17 Fix Mbx callback begin/end funcs.
Oops, bad WAITTYPE.  May help #7345.
2015-01-17 18:15:32 -08:00
Unknown W. Brackets
6777dcd0cc Validate the fmt chunk size more correctly. 2015-01-17 16:35:25 -08:00
Unknown W. Brackets
7b29c645ba Correct parsing of the atrac RIFF fmt chunk.
It's just a standard fmt with extra data.  We were reading the block align
incorrectly.

Also, set the block align to help FFmpeg.
2015-01-17 15:47:36 -08:00
Unknown W. Brackets
5687f10801 Improve atrac file parsing.
Seems like it is willing to parse multiple RIFF chunks.  This may generate
more accurate errors, at least they match tests better.
2015-01-17 15:25:11 -08:00
Henrik Rydgard
c2500744e1 D3D9 rectangle rendering fix (maxindex) 2015-01-15 23:58:07 +01: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
Henrik Rydgård
c8c80c0ced Merge pull request #7333 from unknownbrackets/gpu-minor
Transform rects using indices
2015-01-15 22:02:15 +01:00
Unknown W. Brackets
f366cab98d Fix a type comparison warning. 2015-01-15 12:27:01 -08:00
Unknown W. Brackets
d663cda2de Transform rects using indices.
Not a hge difference.  Minor cleanup.
2015-01-15 12:26:35 -08:00
Henrik Rydgård
b9b96f1416 Merge pull request #7329 from daniel229/utawarerumono_func_replace
Function replace in Utawarerumono portable
2015-01-14 10:52:55 +01:00
daniel229
0bd6d74996 Replace frame download in Utawarerumono portable 2015-01-14 17:27:14 +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 Rydgård
02a7caf9dd Merge pull request #7327 from sum2012/ARM-JIT
Fix  Yu-Gi-Oh 6 crash with edit card in Android version
2015-01-13 16:26:51 +01:00
sum2012
f659e60c8d Fix Yu-Gi-Oh 6 crash with edit card in Android version
This revert part of
74d8a9bdba
2015-01-13 22:01:02 +08:00
Henrik Rydgård
74640dce11 Merge pull request #7326 from daniel229/motorstorm_func_replace
Function replace in MotorStorm: Arctic Edge
2015-01-13 10:58:24 +01:00
daniel229
c4d4aaab11 Replace frame download in MotorStorm: Arctic Edge 2015-01-13 15:42:25 +08: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
df62bc42b7 D3D shader generator: Fix an issue with 4x3 vs 4x4 matrices that caused warnings to be reported (I think).
Make the GL code for this case (skinning without normal) more similar.
2015-01-12 20:37:33 +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