Commit Graph
2615 Commits
Author SHA1 Message Date
Unknown W. Brackets ece7821718 Fix some minor incorrect logging. 2013-05-19 10:42:55 -07:00
Unknown W. Brackets 4c36f12889 Negative volume means unchanged, not error. 2013-05-19 10:42:22 -07:00
Henrik Rydgard 4b15fe3c5e Minor cleanup 2013-05-19 18:45:58 +02:00
Henrik Rydgård a1060ffabd Merge pull request #1803 from oioitff/atrac3plus
Add atrac3plus filter for windows
2013-05-19 08:09:01 -07:00
raven02 c378af0878 Fix Dragon Ball Z Tenkaichi Tag Team 2013-05-19 19:56:18 +08:00
raven02 0cf5595b9d DBZ Tag Team requires working sceAtracLowLevelDecode() 2013-05-19 19:54:02 +08:00
raven02andJacky TSUI cff05e17a4 Consolidate pspUmdError/pspUmdType to header 2013-05-19 14:56:57 +08:00
Unknown W. Brackets ead70f56d9 Add a safety check to prevent leaks. 2013-05-18 20:21:29 -07:00
Unknown W. Brackets 0fb5877d75 Implement sceKernelExtendThreadStack().
Fixes #1833.  Implemented using fake nids instead of callbacks since
it's simpler to get them (and waits and recursion) right.
2013-05-18 20:21:28 -07:00
Unknown W. Brackets 0525906c70 Report unimplemented but known HLE functions. 2013-05-18 20:21:28 -07:00
Unknown W. Brackets 47ffd3b14e Report less for semaphores options with no size. 2013-05-18 16:34:35 -07:00
Unknown W. Brackets 3fbc3bd14a Don't allow attr 0x400 for mutexes, report less.
Seems like 0 is ignored afaict, which makes sense from other funcs.
Not sure if anyone calls it with a value.
2013-05-18 15:31:31 -07:00
Steven Cherry 446d2930ac Some progress, I think?
Program crashes when trying to run a game. If you comment out
member.Run(); it will run fine, but cwcheat doesnt work.
2013-05-18 16:11:10 -05:00
Unknown W. Brackets ac9e936ba8 Fix sema and event flag refer to check size.
If it's zero, write nothing, just like the others.
2013-05-18 13:46:50 -07:00
Unknown W. Brackets f649364b2d Add a null check to scePsmfPlayerGetAudioData().
Crimson Gem Saga was passing a NULL, maybe a glitch, but we do NULL
checks elsewhere.
2013-05-18 12:05:02 -07:00
Unknown W. Brackets 1f2480fff3 Add a bounds check for interrupts. 2013-05-18 10:21:21 -07:00
Unknown W. Brackets f67d4f959f Clean up some atrac-related type/shadow warnings. 2013-05-18 10:20:39 -07:00
Unknown W. Brackets 7dc5842798 Clean up some variable shadowing. 2013-05-18 10:20:13 -07:00
Unknown W. Brackets f91135cedf Prevent some threading related NULL derefs. 2013-05-18 10:19:34 -07:00
oioitff 41860c5ade The hack way for numSamples may be still
necessary for some games. Just use a better hack way.
2013-05-17 01:17:58 +08:00
oioitff 7bd3f389c7 Improve getremainFrame.
Fixed Musou Orochi 2 and so on.
2013-05-17 01:15:23 +08:00
Unknown W. Brackets 8a985e36ce Correct some logging to use ERROR_LOG.
Oops, was just copy and pasting the other wrong ones.
2013-05-16 01:53:38 -07:00
Unknown W. Brackets 857e12d27d Validate the SRC format, and enforce STEREO.
Were these actually outputting audio before?
2013-05-16 01:12:40 -07:00
Unknown W. Brackets 8544171a84 Validate the sample count in SRC and Output2. 2013-05-16 01:12:40 -07:00
Unknown W. Brackets 4eee3af19b Error when trying to reserve Output2 twice. 2013-05-16 01:12:39 -07:00
Unknown W. Brackets 0ab30ecb07 Use a separate channel for SRC/Output2.
Tests on the PSP show that all 8 channels can be reserved/used at the
same time as *either* Output2 or SRC (but SRC and Output2 cannot be used
at the same time.)
2013-05-16 01:12:39 -07:00
Unknown W. Brackets 8b3b666612 Return an error for invalid audio sample sizes. 2013-05-16 01:12:38 -07:00
Unknown W. Brackets 674cd9c1a1 Auto select the highest available channel.
This is what tests show, and what the PSP does.  It makes sense, since
the game might hardcode 0/1 but some library might use autoselect.  Or
something.
2013-05-16 01:12:38 -07:00
Unknown W. Brackets 3f8c920436 Accept any negative channel as autoselect.
And fix error codes in sceAudioChReserve().
2013-05-16 01:12:37 -07:00
Henrik Rydgård 2846467e63 Merge pull request #1813 from mattweb28/add-modules
Added sceJpeg & sceMd5
2013-05-15 05:18:09 -07:00
mattweb28 d3ded6639a Added sceJpeg & sceMd5 2013-05-15 19:49:34 +08:00
oioitff 1a2bcb70ce Not to loop or end audios when numSamples is 0.
Some games may check for it and add more data.
2013-05-14 23:27:04 +08:00
Henrik Rydgård 9248a19dd8 Merge pull request #1739 from makotech222/master
Custom Fps Limiter
2013-05-14 06:33:53 -07:00
mattweb28 1b87f5667f HLE needs to be reset after kernel shutdown 2013-05-14 20:37:20 +08:00
oioitff 34b4cd29a2 add atrac3plus support for sceAtrac 2013-05-14 19:03:53 +08:00
raven02 897fc5068d vol > 0xFFFFF for sceAudioSRCOutputBlocking 2013-05-14 08:32:51 +08:00
Henrik Rydgard c38eece4de Increase max volume of sceAudioOutput2OutputBlocking. 2013-05-13 22:06:49 +02:00
raven02 61c777983b Fix loop problem in Three Kingdom VIII 2013-05-13 21:15:02 +08:00
aquanull 6ab94303b9 av_get_default_channel_layout returns int64_t
And one less signed/unsigned comparison warning.
2013-05-13 16:20:04 +08:00
Unknown W. Brackets f5eb684abc Return an error when there's no async op.
And generally improve error codes for async io poll/wait funcs.

Fixes #1790.
2013-05-12 17:28:07 -07:00
Unknown W. Brackets 8e1193feba Fail with an error in sceIoChdir for invalid dev. 2013-05-12 16:51:08 -07:00
Unknown W. Brackets 7cab1c334b Remove a duplicate syscall entry. 2013-05-12 16:51:01 -07:00
Henrik Rydgard f864e81e72 Get mp3 sample rate and channels from FFMPEG instead of trying to detect ourselves. 2013-05-12 22:29:43 +02:00
Unknown W. Brackets 780e252059 Fix crash in mp3 reading. 2013-05-12 11:41:51 -07:00
Henrik Rydgård 0e1b6d8488 Fix sceMp3 build without USE_FFMPEG 2013-05-12 20:13:07 +02:00
Henrik Rydgard e65390184e Uncomment some unused stack-corrupting code from sceMp3Decode. Update ffmpeg. 2013-05-12 19:48:12 +02:00
Florent CastelliandHenrik Rydgard 501f705ba3 Merge mp3 support from Orphis' old FFMPEG code.
Conflicts:
	CMakeLists.txt
	Core/HLE/sceAudio.cpp
	Core/HLE/sceMp3.cpp
	Core/HLE/sceMpeg.cpp
2013-05-12 19:13:10 +02:00
Henrik Rydgård 7d561eb520 Merge pull request #1779 from oioitff/atrac-fix
Finally got how sceAtracAddStreamData should work.
2013-05-12 06:28:23 -07:00
oioitff 64680a2c68 Revert changes for remainFrame in #1776. 2013-05-12 21:27:41 +08:00
Henrik Rydgard 9ea0f60514 Ugly android buildfix 2013-05-12 15:24:52 +02:00