Commit Graph
14759 Commits
Author SHA1 Message Date
Henrik Rydgard 4d1c1e41f3 Optimize and consolidate color conversion a bit 2015-01-20 17:32:55 +01:00
Henrik Rydgard 2623a48b4a Centralize color conversion functions in Common/ColorConv. 2015-01-20 17:32:54 +01:00
daniel229 f1669a3077 Functions replace 2015-01-20 09:06:08 +08:00
Unknown W. Brackets 19b92a3e68 Typo. 2015-01-19 09:41:35 -08:00
Henrik Rydgård 5c80731637 Merge pull request #7358 from unknownbrackets/warnings
A few more static analysis warnings
2015-01-19 18:15:56 +01:00
Unknown W. Brackets dfcfad5d52 Remove a useless function call. 2015-01-19 09:10:04 -08:00
Unknown W. Brackets 9a26758a13 Fix a savestate loading issue.
Maybe just older savestates.  Sometimes we have block_align already, but
not a valid atracBytesPerFrame, so skip it.
2015-01-19 09:03:53 -08:00
Unknown W. Brackets 07982a31c2 Make sure an error case has defined behavior. 2015-01-19 08:55:37 -08:00
Unknown W. Brackets 603fb0a7f7 Clarify that some casts are not accidents. 2015-01-19 08:51:30 -08:00
Unknown W. Brackets cdddd4b59c Fix an undefined bit shift.
Shouldn't have mattered anyway, but maybe this can crash some ARM chip or
something...
2015-01-19 08:40:10 -08:00
Unknown W. Brackets d4f6b49dc4 Handle an error condition better.
Just in case someone typos a MIPS_MAKE_SYSCALL().
2015-01-19 08:34:12 -08:00
Unknown W. Brackets 72f8f9addd Check for errors carefully in PBP loading.
Just in case.
2015-01-19 08:31:41 -08:00
Unknown W. Brackets 6326088498 Add another memmove() implementation. 2015-01-18 21:27:07 -08:00
Unknown W. Brackets 70563c3e7b Add another memset/memmove pair. 2015-01-18 21:27:07 -08:00
Unknown W. Brackets 70da5be5cc Add another memcmp() implementation. 2015-01-18 21:27:06 -08:00
Unknown W. Brackets 69ed727a21 Mark another memmove() implementation. 2015-01-18 21:27:06 -08:00
Unknown W. Brackets 94ba05eba1 Add another memset replacement. 2015-01-18 21:27:05 -08:00
Unknown W. Brackets 1383c0e200 Replace memmove() from Star Ocean 1 (US). 2015-01-18 21:26:39 -08:00
Unknown W. Brackets bc354f5564 Notate region on some replacements. 2015-01-18 21:26:38 -08:00
Unknown W. Brackets b5837564c6 Hook memmove() found in Final Fantasy Tactics.
Probably will be seen in other games too.
2015-01-18 21:26:38 -08:00
Unknown W. Brackets 909478fb83 Handle disabled replacments in interp, oops. 2015-01-18 21:26:37 -08:00
Unknown W. Brackets 9cb1151b67 x86jit: Disable replacements w/ breakpoints inside.
This does alter graphics (memcpys won't fire anymore), but it also means
breakpoints work which is nice.
2015-01-18 21:26:37 -08:00
daniel229 f29adce3b5 Replace memset in Final FantasyTactics (jpn) 2015-01-19 09:13:59 +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
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 d5c7fb3f0e Avoid an out of bounds mem access. 2015-01-17 18:43:03 -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 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 ff59cd6e11 Fix a potential debug buffer overrun. 2015-01-17 18:21:03 -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
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
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
sum2012 f659e60c8d Fix Yu-Gi-Oh 6 crash with edit card in Android version
This revert part of
https://github.com/hrydgard/ppsspp/commit/74d8a9bdba9b8348e60e8a6b40b01da26b5eb020
2015-01-13 22:01:02 +08:00
daniel229 c4d4aaab11 Replace frame download in MotorStorm: Arctic Edge 2015-01-13 15:42:25 +08:00
Henrik Rydgård 7c3bc2b3d2 Merge pull request #7313 from sum2012/network
Make "Network Initialized" translatable
2015-01-12 13:07:05 +01:00
Unknown W. Brackets 50f5809c54 Oops, typo.
How did I not notice the distorted sound?
2015-01-11 16:49:22 -08:00
Unknown W. Brackets 4705a2568e Convert s16->float using SSE2. 2015-01-11 14:31:21 -08:00
Unknown W. Brackets f3654795a3 Minor warning fixes. 2015-01-11 14:23:42 -08:00
Unknown W. Brackets db898aff23 Add a NEON method to apply the volume. 2015-01-11 14:23:41 -08:00
Unknown W. Brackets ff4db2a8dd Log any change to 48 kHz audio on the psp side. 2015-01-11 14:23:41 -08:00
Henrik Rydgard 26e4cb4a21 More cleanup 2015-01-11 20:35:52 +01:00
Henrik Rydgard 0c6ceee210 Optimize the resampler a little. Update native with new ability to not force 44khz so we actually get any use.
This causes Nexus 4 and Nexus 9 to end up on the fast path, greatly decreasing audio latency!

This also removes the "atomic audio" setting as the new audio code is lock-free always.
2015-01-11 18:06:42 +01:00