Commit graph

2488 commits

Author SHA1 Message Date
Unknown W. Brackets
f93c92d409 Add some syscall names that match by sha. 2013-05-19 22:12:39 -07: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
9b143fc789 Add some net-related syscall entries. 2013-05-19 22:12:38 -07:00
Unknown W. Brackets
86ce95a658 Add some syscall entries from reporting. 2013-05-19 22:12:38 -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
Unknown W. Brackets
85ca135667 Partially implement sceKernelPrintf().
For the common cases.
2013-05-19 17:32:17 -07:00
Henrik Rydgard
5877929fe5 Add Mersenne Twister random number generator. 2013-05-20 00:57:45 +02:00
Unknown W. Brackets
71b72b5eaf Correct some error codes and init in Vaudio.
This makes Velocity at least play sound, hurray.
2013-05-19 15:50:52 -07:00
Unknown W. Brackets
d4f3137a2c Don't overlay Vaudio with multichannel.
It seems to share living space with Output2/SRC.
2013-05-19 15:46:24 -07:00
Unknown W. Brackets
8f81deae1c Correct sceVaudio NIDs.
May fix #1738.
2013-05-19 15:46:24 -07:00
Henrik Rydgård
1b3079142b Merge pull request #1854 from unknownbrackets/audio-minor
Improve audio blocking and some sceAudio functions
2013-05-19 13:50:44 -07:00
Unknown W. Brackets
2bab76a940 Block audio output more correctly.
Still with the same thresholds, so hopefully it won't hurt sync.
2013-05-19 12:31:47 -07:00
Unknown W. Brackets
996bfdc1dd Reduce locking in sceAudio. 2013-05-19 10:58:44 -07:00
Unknown W. Brackets
64fce0b5e1 Fix sceAudioSetChannelDataLen() error codes. 2013-05-19 10:44:05 -07:00
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
Henrik Rydgard
b3084ab685 iMaxRecent should be an int, not a u32 (the latter writes as hex to .ini) 2013-05-19 16:40:01 +02: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
Henrik Rydgard
5218b4e9d8 Make vwbn and the other unimplemented vfpu ops increment PC. Add commented-out attempt at implementing vwbn. 2013-05-19 13:14:02 +02:00
Henrik Rydgård
3950bf56b6 Merge pull request #1841 from unknownbrackets/thread-funcs
Implement sceKernelExtendThreadStack() + some minor + report unimpl
2013-05-19 01:21:33 -07: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
raven02
0ed391e5e0 If-else fFormatting 2013-05-19 06:07:00 +08: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
81f1383beb Prevent a type comparison warning. 2013-05-18 10:21:04 -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
Unknown W. Brackets
3931f07852 Fix a couple bad bounds checks in VAG/Mpeg. 2013-05-18 10:19:12 -07:00
Unknown W. Brackets
e3e5b24bf8 Prevent some warnings in vfpu, add reporting.
Uninitialized value and out of bounds error.
2013-05-18 10:17:58 -07:00
Unknown W. Brackets
33cd860de3 Fix a crash in reporting without gpu set. 2013-05-18 09:47:17 -07:00
Unknown W. Brackets
b733bc1a2a Clean up some indents, add some reporting. 2013-05-18 02:09:32 -07:00
Unknown W. Brackets
e16514b50d Avoid float copy in vfpu to workaround 32-bit bug.
This appears to be an MSVC bug (or just precision issue) when using
fast math, only on 32-bit builds.  Anyway, memcpy or u32 * fixes it.

Unfortunately, matrix ops have similar issues and memcpy doesn't seem
to help there.
2013-05-18 02:09:32 -07:00
Henrik Rydgård
3706045b31 Merge pull request #1822 from oioitff/atrac-fix
A serious bug fix for sceAtrac
2013-05-17 00:21:11 -07:00
Unknown W. Brackets
eb308d03e8 Don't preserve the selected save for DATA types.
Fixes #1825.
2013-05-16 22:33:10 -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
Henrik Rydgård
e104b8436f Merge branch 'raven02-patch-15'
Conflicts:
	UI/MenuScreens.cpp
2013-05-16 17:21:13 +02:00
Henrik Rydgård
367e9bcefb Remove DrawWireframe option to save space in dialog, it doesn't really work right anyway 2013-05-16 17:18:53 +02:00
sum2012
32fed38ddf Add another patchers 2013-05-16 21:32:08 +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