Commit Graph

12259 Commits

Author SHA1 Message Date
Unknown W. Brackets
603c1dd614 Improve error codes in sceFontOpen*().
Fixes some unlikely cases of crashes as well.  I think there are leaks
here...
2014-02-22 20:35:58 -08:00
chinhodado
aae9d43e7d remove some redundant brackets 2014-02-22 23:26:20 -05:00
chinhodado
20ed422c3a remove a duplicate assignment 2014-02-22 23:23:33 -05:00
chinhodado
9bd07d4c9c remove a redundant assignment 2014-02-22 23:08:26 -05:00
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
Unknown W. Brackets
6c34439e03 Populate the native font lib struct.
For now, this makes things a lot easier to compare (getting as much info
as possible out of these structs.)
2014-02-22 15:34:07 -08:00
Unknown W. Brackets
7ff6a2d738 Return an error on font allocation failure.
Some game might actually expect this code, you never know...
2014-02-22 15:34:07 -08:00
Unknown W. Brackets
ba1f862c85 Allocate the right amount of font memory.
But it should be in multiple blocks...
2014-02-22 15:34:06 -08:00
Unknown W. Brackets
afb188956f Cleanup sceFontNewLib() parameter handling.
It should error out without alloc/free funcs, and cap numFonts to 9, per
tests.  Most games pass these and use numFonts = 4.
2014-02-22 15:34:06 -08:00
Henrik Rydgård
9dacc2ba55 Merge pull request #5542 from unknownbrackets/sas-minor
Yet more exactness changes for SAS
2014-02-23 06:12:50 +07:00
Unknown W. Brackets
9cba543a4b sceSasCoreWithMix() returns an error in raw mode.
And does not reschedule, specifically.
2014-02-22 08:48:55 -08:00
Unknown W. Brackets
10bf116399 Don't report sceSasSetADSRMode(..., 5, 5, 5, 5).
It seems common.
2014-02-22 08:39:15 -08:00
Unknown W. Brackets
0939065333 Report the raw output mode to find examples.
I can't find any games actually leaving the output mode at 1.
2014-02-22 08:07:51 -08:00
Unknown W. Brackets
ff920f6af6 Fix sceSas outputMode = 1 (which is not mono.)
May fix games that played audio only on the left side, or something.
2014-02-22 07:52:18 -08:00
Henrik Rydgård
1934ede59f Merge pull request #5536 from chinhodado/patch-3
fix a mistake in a logic condition
2014-02-22 16:35:15 +07:00
chinhodado
586eb76ddf fix a mistake in a logic condition 2014-02-21 19:43:24 -05:00
Unknown W. Brackets
ede385bfed Validate output mode, correct dry/wet handling.
Seems like any non-zero parameter sets it, actually.  I previously changed
it to check the lowest bit but I can't reproduce it now...
2014-02-21 09:47:46 -08:00
Unknown W. Brackets
ce518a432f x86jit: Add a missing unknown prefix check. 2014-02-21 09:47:28 -08:00
Henrik Rydgård
b32200895d Merge pull request #5532 from chinhodado/patch-2
change to correct enums
2014-02-21 20:00:31 +07:00
chinhodado
d110d4e3cf change to correct enums 2014-02-20 21:29:00 -05:00
sum2012
98e952ea6e Only can use __KernelLoadExec when load BOOT.BIN 2014-02-21 07:14:40 +08:00
sum2012
b8a8cc0049 Update log information - menthion we try __KernelLoadExec 2014-02-21 06:00:41 +08:00
sum2012
8958501acb Support kernal mode Module
Fix #5527
https://github.com/hrydgard/ppsspp/pull/5512/files No need
2014-02-21 05:32:55 +08:00
Henrik Rydgård
4e93573422 Merge pull request #5486 from raven02/patch-25
Use GE_CMODE instead of TPSM_PIXEL_STORAGE_MODE
2014-02-20 18:48:10 +07:00
Unknown W. Brackets
f6abfb9444 Fix hang if you use disasm goto outside game. 2014-02-20 01:02:39 -08:00
Unknown W. Brackets
fb1ca6823c Oops, fix reporting showing disabled outside game. 2014-02-20 01:02:22 -08:00
Henrik Rydgård
df3342fd9e Merge pull request #5497 from sum2012/patch-10
Add sceCtrl_driver ,sceDisplay_driver ,SysclibForKernel
2014-02-20 11:20:06 +07:00
Henrik Rydgård
474084e688 Merge pull request #5523 from chinhodado/patch-1
fix buffer overflow
2014-02-20 11:15:34 +07:00
Henrik Rydgård
ecabf75e12 Update native 2014-02-20 11:14:16 +07:00
Sacha
c520884888 Blackberry/Symbian: Improve tilt. 2014-02-20 04:00:22 +10:00
Sacha
edd712c65d Fix Symbian DPI 2014-02-20 03:37:06 +10:00
chinhodado
cb39a5d978 fix buffer overflow 2014-02-19 12:07:45 -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