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
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
Henrik Rydgård
2890c4b206
Merge pull request #5488 from unknownbrackets/sas-minor
...
Improve more sas correctness
2014-02-17 22:39:10 +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
0b7d4d99cf
Fix MSVC build.
...
Blarg.
2014-02-17 10:43:23 -08: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
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
Unknown W. Brackets
684caa01ec
Correct SAS bent linear curve.
...
Tests shows that at 0x30000000 it still goes up the full amount.
2014-02-17 01:39:54 -08:00
Henrik Rydgård
b894bd9b27
Merge pull request #5489 from unknownbrackets/jit-minor
...
Fix stack overflow on x64 with memchecks, darn it
2014-02-17 07:23:45 +01:00
Henrik Rydgård
98282e0fd3
Merge pull request #5454 from unknownbrackets/io-minor
...
Improve truncation handling on all platforms
2014-02-17 07:22:54 +01:00
Unknown W. Brackets
f2ba0f136d
Fix stack overflow on x64 with memchecks, darn it.
2014-02-16 19:18:08 -08:00
Unknown W. Brackets
6c7c63c2af
Log the sdk/compiler version under debug.
...
We weren't logging it at all before.
2014-02-16 09:20:00 -08:00
Unknown W. Brackets
8928665db9
Avoid spamming sceDmacMemcpy() logging for 0 bytes.
...
Doesn't hurt anything.
2014-02-16 09:01:23 -08:00
Henrik Rydgård
e3cb1f4957
Merge pull request #5476 from sum2012/patch-4
...
Fix PAKFILE2.BIN and eboot logic
2014-02-16 10:06:28 +01:00
Unknown W. Brackets
61d4e2196e
Simplify vwbn.s slightly.
2014-02-16 00:00:29 -08:00
Unknown W. Brackets
34c6530b21
Implement vwbn.s, not sure what it's doing...
...
This passes all the tests I could throw at it. Fixes #1849 .
2014-02-15 23:51:41 -08:00
Unknown W. Brackets
3714fabad6
Implement vsbn.s, fixes #3409 .
...
Not sure if .q, etc. can work - won't compile, and I doubt any games try
it. Just tried a basic implementation with reporting.
2014-02-15 21:40:13 -08:00
Unknown W. Brackets
3dea6fdd86
Cache reporting support to avoid slowdown.
...
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.
Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
sum2012
864c0be604
Fix PAKFILE2.BIN and eboot logic
...
Fix #5474
2014-02-16 10:51:45 +08:00
Henrik Rydgård
96a19ea982
Merge pull request #5473 from chinhodado/patch-1
...
remove a redundant check
2014-02-16 02:37:37 +01:00
Henrik Rydgård
37d198df16
Merge pull request #5472 from unknownbrackets/reporting
...
Fix reporting improperly disabled when outside a game
2014-02-16 02:34:35 +01:00
chinhodado
23cce7d25a
remove a redundant check
2014-02-15 19:39:13 -05:00
Unknown W. Brackets
d22793e257
Avoid a dangerous cast in LoadSymbolMap().
...
Not sure if we can have any safety with an int cast like that...
2014-02-15 16:23:18 -08:00
Unknown W. Brackets
f5c7837e93
Disable reporting when using cheats as well.
2014-02-15 15:41:27 -08:00
Unknown W. Brackets
49d61743c0
Blacklist a few more settings in reporting.
2014-02-15 15:19:59 -08:00
Unknown W. Brackets
d1c9cdd8e4
Don't disable error reporting while in menu.
...
Oops.
2014-02-15 15:15:19 -08:00
chinhodado
0ea7c78299
fix empty string checking
2014-02-15 16:31:37 -05:00
Unknown W. Brackets
ed2417731a
Improve error handling when PARAM.SFO can't read.
2014-02-15 10:34:39 -08:00
Unknown W. Brackets
cff6ad6428
Attempt to virtually handle truncation properly.
...
Fixes LittleBigPlanet save problem, at least on US.
2014-02-15 10:34:38 -08:00
Unknown W. Brackets
9293bb17b9
Switch to file descriptors instead of FILE *.
...
This allows us to support the io modes more accurately, not truncating for create/write, etc.
2014-02-15 10:34:38 -08:00
Unknown W. Brackets
348c6a16da
If a focus mode is used with autoload, ignore it.
...
Before, if the "focused" save did not exist, we failed incorrectly, even
though the actual save we were trying to load was the correct one.
2014-02-15 09:43:43 -08:00
daniel229
bbe36fbd8e
Code Geass Hangyaku no Lelouch Lost Colors CN translate bypass EBOOT.BIN
2014-02-15 23:52:08 +08:00
raven02
81887cead3
Init ctx->mp3DecodedBytes/mp3SumDecodedSamples/mp3LoopNum
2014-02-15 22:50:10 +08:00