Unknown W. Brackets
7298133c9a
Allow open fonts in a few more calls.
...
It turns out if you open the same internal font twice, they both work
until you close both of them (it's reference counted, but the font handles
are different.)
Anyway, these funcs seem to crash on a PSP when used with a non-open font
so there's not a ton of risk here.
2014-02-23 11:48:31 -08:00
Henrik Rydgård
b7651b61c7
Merge pull request #5546 from chinhodado/fixes
...
some minor fixes and changes
2014-02-23 19:12:42 +07:00
Unknown W. Brackets
e0d8fc5596
Pass in the font open mode for easier tracking.
...
Mostly concerned about handlers actually doing something...
2014-02-22 23:04:46 -08:00
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
20ed422c3a
remove a duplicate assignment
2014-02-22 23:23:33 -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
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
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
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
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
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
Unknown W. Brackets
9ceeedba8d
Correct some error codes in sceSasSetVoice().
2014-02-18 23:12:26 -08:00
Unknown W. Brackets
139c91fe19
Return an error for an invalid pitch, per tests.
2014-02-17 21:09:43 -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
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
sum2012
f0ad992b67
Add sceCtrl_driver and sceDisplay_driver
2014-02-17 20:46:57 +08:00
sum2012
d6790cf906
Add logging and fix savestatus
2014-02-17 20:42:35 +08:00
Unknown W. Brackets
617dcdd8ff
Add some initial kernel sysclib funcs.
2014-02-17 20:39:02 +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
a2cf4bde8c
Validate the sas noise freq parameter.
2014-02-17 01:39:57 -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
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
raven02
db943fa3cc
Add PSMF_VERSION_00XX
2014-02-16 23:23:17 +08:00
raven02
8bef9c35e9
Code cleanup #1
2014-02-16 23:22:25 +08:00
raven02
a5c107e5d1
Code cleanup scePsmf
2014-02-16 23:21:32 +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
chinhodado
23cce7d25a
remove a redundant check
2014-02-15 19:39:13 -05:00
raven02
81887cead3
Init ctx->mp3DecodedBytes/mp3SumDecodedSamples/mp3LoopNum
2014-02-15 22:50:10 +08:00
Henrik Rydgård
fc9b057d88
Merge pull request #5449 from sum2012/sce-mp3
...
avoid invalid memory in sceMp3ReserveMp3Handle
2014-02-15 14:24:32 +01:00
sum2012
9868734656
Add report
2014-02-15 20:20:04 +08:00
sum2012
88d1cb7016
More logging
2014-02-15 20:15:49 +08:00
raven02
cc10d43c53
Remove unconfirmed STANDBY changes
2014-02-15 18:38:38 +08:00
raven02
c4a9952449
Remove duplicate Memset
2014-02-15 18:37:34 +08:00
raven02
7d9f1ff57a
Move memset up so it's always done
2014-02-15 18:15:44 +08:00
raven02
01ff295031
Check PSMF_PLAYER_STATUS_STANDBY status to return not init error
2014-02-15 18:07:19 +08:00
raven02
5a71ec678c
Clear the audio when paused
2014-02-15 17:49:35 +08:00
sum2012
63adafd967
avoid invalid memory in sceMp3ReserveMp3Handle
...
Find in Heroes Phantasia
2014-02-15 07:28:52 +08:00
Henrik Rydgård
b5dc7b4688
Merge pull request #5443 from raven02/patch-21
...
scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE)
2014-02-14 13:29:33 +01:00
raven02
7fbee7bb19
Typo fix
2014-02-14 18:45:12 +08:00
raven02
69690a0fe1
scePsmf : add pause mode (PSMF_PLAYER_MODE_PAUSE)
2014-02-14 10:43:53 +08:00
raven02
8b19ebc6d8
scePsmf(): check not initialized status
2014-02-14 10:19:38 +08:00