Commit Graph

79 Commits

Author SHA1 Message Date
Unknown W. Brackets
fa69e5e646 Didn't need any special logic here after all. 2013-05-27 17:05:13 -07:00
Unknown W. Brackets
7b154f9a2e Fix VAG looping. 2013-05-27 16:48:59 -07:00
Unknown W. Brackets
91bdc0617e Return an invalid size error even for VAG = 0. 2013-05-27 12:19:19 -07:00
Unknown W. Brackets
aeb2b23735 Validate volume inside sceSasSetVolume().
I wonder what a negative volume means?
2013-05-27 11:57:27 -07:00
oioitff
99f8041375 Implement pcm voice correctly. 2013-05-24 00:42:15 +08:00
Unknown W. Brackets
cdacdee030 Match syscall names to nids ot be safe.
Don't want any more mistakes like the sceVaudio one.
2013-05-19 22:12:39 -07:00
Unknown W. Brackets
ded3fb5e12 Add reporting to a bunch of unimpl functions.
Also some comment/logging fixes along the way.
2013-05-19 22:12:37 -07:00
oioitff
8d10724b64 Implement volume control for _sceSasCoreWithMix.
Tested with Fate Unlimited Code.
2013-05-11 04:30:02 +08:00
oioitff
a944c96137 Remove the useless codes instead. 2013-04-23 22:31:23 +08:00
oioitff
62f79989bd Implement _sceSasCoreWithMix correctly.
The inoutAddr should be both input and output buffer address.
2013-04-23 22:00:14 +08:00
Unknown W. Brackets
e4223dbcb0 Simplify adding report messages, add a bunch more. 2013-03-26 00:54:00 -07:00
raven02
1b5dce5c93 Remove volume shift 2013-03-12 21:19:48 +08:00
raven02
b07fe9da46 Should be good enough to remove now as we already identifed games use sceSasSetVoicePCM() 2013-03-12 12:17:19 +08:00
Unknown W. Brackets
cb4c7f0eb6 Add some basic reporting hooks. 2013-03-04 00:01:40 -08:00
Unknown W. Brackets
51d5b84108 Fix some misc HLE warnings. 2013-02-18 09:04:43 -08:00
raven02
f41b3f7cf1 sceSAS style & simplification 2013-02-17 09:45:20 +08:00
Henrik Rydgard
686c083b6f sceSas: initialize some stuff 2013-02-16 14:07:04 +01:00
Lewis Robbins
73ddf8d01f Line spacing 2013-02-10 14:16:29 +00:00
Lewis Robbins
6efad644d3 extra int print 2013-02-10 14:12:48 +00:00
Unknown W. Brackets
112c1e9e23 Automatically delete pointers when savestating. 2013-02-04 08:28:22 -08:00
raven02
3e319d5975 Add stubs for _sceAtracGetContextAddress 2013-02-03 08:08:44 +08:00
raven02
693619ed6e Init loop to true which ignore VAG loop and set sampleRate for each voices 2013-01-31 15:00:58 +08:00
raven02
d14b6ed423 Oops, missing voiceNum 2013-01-27 22:27:14 +08:00
raven02
dfcc836bf8 Shift volume base on sceSasSetVolume 2013-01-27 22:15:23 +08:00
Henrik Rydgard
3126d17624 Change logging for PCM audio to INFO, as mentioned in Issue #505 2013-01-26 14:30:06 +01:00
Henrik Rydgard
0930b5b587 Typo + warning fix 2013-01-25 19:08:28 +01:00
Henrik Rydgard
4deaec8924 Make ADPCM audio a little less crackly in a hacky way.. 2013-01-25 18:36:05 +01:00
raven02
ae9fcb5a6f Fix high pitch noise and looping issues in few games 2013-01-24 20:13:12 +08:00
raven02
1749a9b5ae Put core as first paraemeter for DEBUG_LOG 2013-01-23 16:19:44 +08:00
raven02
7346c4a042 Add error handling ERROR_SAS_INVALID_SIZE and ERROR_SAS_INVALID_PAUSED 2013-01-23 14:50:36 +08:00
Henrik Rydgard
cfc4717a51 Ignore voicenum = -1 in sceSasSetKeyOff for now. Update native. 2013-01-04 00:24:51 +01:00
Unknown W. Brackets
19aaca2705 Start save stating audio, plus minor fixes. 2012-12-28 13:55:29 -08:00
Henrik Rydgård
ce214b3943 Assorted warning fixes 2012-12-23 09:44:43 +01:00
Henrik Rydgard
c279b88e28 Add check for invalid VAG audio addresses 2012-12-20 22:44:28 +01:00
Henrik Rydgard
913f392d66 Move the SasInstance to the heap. Some cleanup. 2012-12-17 21:43:31 +01:00
Henrik Rydgard
9acfd50139 Fix one cause of audio choppiness - we were dropping samples when audio functions blocked. Also some cleanup. 2012-12-17 20:15:23 +01:00
Henrik Rydgard
1400237d0e Lots of various work on sceSas. ADSR envelopes, correct looping, etc etc... Still far from perfect but better. 2012-12-17 18:07:25 +01:00
Henrik Rydgard
15b7c1c96c sceSas cleanup 2012-12-16 20:40:49 +01:00
Unknown W. Brackets
3899176af6 Add range checks to sceSas*() funcs.
Savage Moon, at least, is trying voiceNums up to 43.  This makes it
run instead of crashing, and is pretty cheap.
2012-12-15 15:45:41 -08:00
Unknown W. Brackets
bd1db90f9a Add crash checking to sceSasSetPause().
Brings back Mimana working.
2012-12-10 00:09:56 -08:00
Henrik Rydgård
fefc229f15 Merge branch 'sas-clean-fix' of https://github.com/jacky400/ppsspp into jacky400-sas-clean-fix
Conflicts:
	Core/HLE/sceSas.cpp
2012-12-09 15:27:21 +07:00
jacky400
e585206551 Merge branch 'master' of https://github.com/jacky400/ppsspp into sas-clean-fix
Conflicts:
	Core/HLE/sceSas.cpp
2012-12-09 07:56:21 +08:00
jacky400
6cef08fd72 Remove prefix in struct WaveformEffect 2012-12-08 21:07:21 +08:00
jacky400
ba83f0041a Make struct WaveformEffect 2012-12-08 17:29:53 +08:00
jacky400
b6b26e38f6 New functions for sceSas/sceVaudio .Massive checkup on all functions parameters and return value. 2012-12-08 16:09:10 +08:00
jacky400
be167141dd Update Core/HLE/sceSas.cpp 2012-12-08 16:05:11 +08:00
jacky400
5231dc0dda Update Core/HLE/sceSas.cpp 2012-12-08 16:02:21 +08:00
jacky400
86e21c248a Update Core/HLE/sceSas.cpp 2012-12-08 15:53:11 +08:00
jacky400
0739fd2370 Update Core/HLE/sceSas.cpp 2012-12-08 15:43:31 +08:00
jacky400
43a89fe4b7 Update Core/HLE/sceSas.cpp 2012-12-08 15:33:19 +08:00