Commit Graph

12021 Commits

Author SHA1 Message Date
chinhodado
9ba79f31a2 minor change in file filter 2014-02-22 22:35:15 -05:00
chinhodado
6491557c17 fix a wrong parameter 2014-02-22 21:29:03 -05:00
Sacha
f6a5402cef Fix bugs in blackberry+symbian by updating ffmpeg. 2014-02-20 01:06:49 +10:00
Sacha
6b8ab2e044 Fix keyboard on Blackberry. 2014-02-19 22:33:28 +10:00
Henrik Rydgård
9af3cd5549 Merge pull request #5521 from unknownbrackets/sas-minor
More exactness improvements for SAS and VAG
2014-02-19 18:40:04 +07:00
Unknown W. Brackets
a1283644ab If never set, loop to the first vag block.
Not the second (0 = second.)
2014-02-19 01:03:11 -08:00
Unknown W. Brackets
a36f7bf267 Fill in predict_nr's above 5, fix clamping.
We weren't processing vag properly when it hit the edges.

The coefficients were found with testing about 384 samples.
2014-02-19 01:01:56 -08:00
Henrik Rydgård
148b910de3 Merge pull request #5513 from kaienfr/fix_iOS7_crash
fix iOS7 crash
2014-02-19 14:41:29 +07:00
Unknown W. Brackets
11df9dabf9 Add an extra delay to VAG keyon.
It seems to come in an extra sample late.  PCM doesn't.

This corrects timing for VAG samples so they match up exactly.  Really
minor, of course...
2014-02-18 23:32:37 -08:00
Unknown W. Brackets
9ceeedba8d Correct some error codes in sceSasSetVoice(). 2014-02-18 23:12:26 -08:00
kaienfr
9b0994e8a6 fix iOS7 crash 2014-02-18 15:53:48 +01:00
Henrik Rydgård
106656f51e Merge pull request #5509 from unknownbrackets/sas-minor
Improve pitch handling in sas
2014-02-18 09:18:07 +01:00
Unknown W. Brackets
dc5d17971c Actually use the resample buffer.
Fixes static in Final Fantasy Tactics music.
2014-02-17 23:23:44 -08:00
Unknown W. Brackets
93060e3aef Avoid some divisions, just in case. 2014-02-17 23:19:30 -08:00
Unknown W. Brackets
b5bdac211a Ignore pitch > 0x1000 for pcm.
It seems to be supported only below 0x1000.  Also, drop optimization for
double for now, simpler this way and doesn't seem common?
2014-02-17 21:09:44 -08:00
Unknown W. Brackets
dd434cd7c5 Optimize mixing samples at common pitches.
Doesn't seem to be a big help but may matter more on mobile.
2014-02-17 21:09:44 -08:00
Unknown W. Brackets
139c91fe19 Return an error for an invalid pitch, per tests. 2014-02-17 21:09:43 -08:00
Unknown W. Brackets
1efcebb121 Smooth SAS resampling when pitch != 0x1000. 2014-02-17 21:09:43 -08:00
Unknown W. Brackets
8ded863231 Reset sampleFrac on keyon.
Since we're starting the samples over.
2014-02-17 21:09:42 -08:00
Unknown W. Brackets
38053df4ca Don't drop the last mix of vag samples.
Wait instead until the end of mixing to end the envelope.
2014-02-17 21:09:42 -08:00
Unknown W. Brackets
3899e18422 Always key on for 32 samples regardless of pitch.
Before it would be more or less depending on pitch.  It's always 32.
2014-02-17 21:09:41 -08:00
Unknown W. Brackets
f62eb4848d Add a few more safety checks for SendMessage().
Broadcasting is bad.
2014-02-17 21:08:34 -08:00
Unknown W. Brackets
ec34c31416 Initialize the status bar earlier.
We try to set its text sometimes before creating it, which can cause a
random hang.  It could also maybe be causing the window titles to be
blanked out.
2014-02-17 20:52:38 -08:00
Henrik Rydgård
8da651b6c1 Merge pull request #5479 from sum2012/log
Enable produce DEBUG_LOG rather than INFO_LOG in Windows who don't need install Visual Studio Express
2014-02-18 00:36:22 +01:00
Henrik Rydgard
e561f576b5 Windows screenshots: Name the files after the game ID. Implements #5504 2014-02-17 23:43:58 +01:00
Henrik Rydgard
9e0d4836fe Android: Minimum requirement is now Gingerbread. Upgrade to GCC 4.8.
"Fixes" #4798.
2014-02-17 23:36:13 +01:00
Henrik Rydgård
42af77ed9c Merge pull request #5498 from Dante38490/patch-1
-Update VS 2013
2014-02-17 22:39:21 +01:00
Henrik Rydgård
2890c4b206 Merge pull request #5488 from unknownbrackets/sas-minor
Improve more sas correctness
2014-02-17 22:39:10 +01:00
Henrik Rydgard
eb4f17c65d 0.9.7.2 2014-02-17 21:25:53 +01:00
Henrik Rydgard
7d1bfefb8e Update native 2014-02-17 21:15:25 +01:00
Henrik Rydgård
c552338543 Merge pull request #5503 from unknownbrackets/ui-tweaks
When the language changes, recreate all views
2014-02-17 20:50:37 +01:00
Unknown W. Brackets
df1a26793b When the language changes, recreate all views.
Not just the current screen's views.  Fixes language not switching on main
screen when changed in settings.
2014-02-17 11:40:59 -08:00
Henrik Rydgård
60cf8af15d Merge pull request #5502 from unknownbrackets/tests
Update tests
2014-02-17 20:06:55 +01:00
Unknown W. Brackets
71ad115b81 Fix incorrect return in PSP_Init().
Mostly affects reset and tests, PSP_InitUpdate() worked properly for the
normal flow.
2014-02-17 10:57:47 -08:00
Unknown W. Brackets
be0bb4f7b2 Update tests. 2014-02-17 10:55:18 -08:00
Unknown W. Brackets
0b7d4d99cf Fix MSVC build.
Blarg.
2014-02-17 10:43:23 -08:00
Henrik Rydgård
03b7f18485 Merge pull request #5499 from unknownbrackets/reporting
Don't allow reporting from bad savestates
2014-02-17 19:21:18 +01:00
Unknown W. Brackets
5e57a2ffa8 Don't allow reporting from bad savestates.
If the savestate was created with bad settings, or was loaded from an
older version, it may be damaged.  Let's not report old problems.
2014-02-17 09:43:12 -08:00
Dante38490
d996b3aa06 -Update VS 2013
While the project is already in 2013, except the SLN file.
2014-02-17 15:45:29 +01:00
Henrik Rydgard
9c4d9461d4 Detect bad mipmap sizes, autogen mipmaps in this case. Might help part of #2603
(outrun)
2014-02-17 11:42:03 +01:00
Henrik Rydgård
cb05a58799 Merge pull request #5494 from thedax/win32DPIAware
Win32: Make PPSSPP DPI aware to avoid flickering in fullscreen on some PC hardware setups.
2014-02-17 11:10:22 +01:00
Unknown W. Brackets
e006ab5b2d Don't read the first 32 samples after keyon.
The way I'm approximating this is ugly...
2014-02-17 01:39:59 -08:00
Unknown W. Brackets
6b984c5593 Don't loop PCM samples when loopPos < 0. 2014-02-17 01:39:59 -08:00
Unknown W. Brackets
95fc9624b4 Fix PCM looping in SAS.
The parameter specifies where the loop restarts at.
2014-02-17 01:39:58 -08:00
Unknown W. Brackets
55507d7844 Fix the default adsr sustain mode.
Probably doesn't matter, games always set it.
2014-02-17 01:39:57 -08:00
Unknown W. Brackets
a2cf4bde8c Validate the sas noise freq parameter. 2014-02-17 01:39:57 -08:00
Unknown W. Brackets
d097ac5394 Don't change height when keying off a voice.
Tests show that the height does not revert to the sustain level.
2014-02-17 01:39:56 -08:00
Unknown W. Brackets
1a010a37ab Return an error for invalid voice in keyoff.
Can't reproduce no error and Every Extend Extra doesn't even seem to be
reporting it.  Most likely it would be happy with the error code anyway.
2014-02-17 01:39:56 -08:00
Unknown W. Brackets
f02bf1239e Validate the effect volume in __sceSasRevEVOL(). 2014-02-17 01:39:55 -08:00
Unknown W. Brackets
d53ab02e5b Don't change height immediately on keyon.
This replicates the PSP's behavior, which is a 32-grain lead in, plus the
height remains what it was before until processing happens.
2014-02-17 01:39:55 -08:00