Commit graph

12954 commits

Author SHA1 Message Date
Henrik Rydgard
cb29c1ce4b Don't use __KernelTriggerWait in sceDisplay 2012-12-17 20:14:54 +01:00
Henrik Rydgard
1e086f5008 Let's not throw away our stereo... Also change mix freq back to 44100 for now. 2012-12-17 19:38:04 +01:00
Henrik Rydgard
bc214dcf37 Merge branch 'master' into mediaengine
Conflicts:
	Common/LogManager.cpp
	Core/CMakeLists.txt
	Core/Core.vcxproj
	Core/Core.vcxproj.filters
	Core/CoreParameter.h
	Core/HLE/sceAudio.cpp
	Core/HLE/sceKernel.cpp
	Core/HLE/sceKernelThread.cpp
	Core/HLE/sceMpeg.cpp
	android/jni/Android.mk
2012-12-17 18:48:32 +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 Rydgård
8b57b2ec0a Merge pull request #179 from KentuckyCompass/dotdotpaths
Dotdotpaths
2012-12-17 01:42:36 -08:00
Unknown W. Brackets
17cba6adc3 Switch Mbx to using a linked list.
This approximates the error messages for the hardware much better.
More complicated, though.
2012-12-16 21:36:53 -08:00
Unknown W. Brackets
599465ee6e Correct priority handling for Mbx funcs.
Also, moved to correctly updating the linked list.
It's possible a game might follow it since it's there.
2012-12-16 21:36:53 -08:00
Unknown W. Brackets
87fcdc9080 Use KERNELOBJECT_MAX_NAME_LENGTH for name length.
Just avoiding magic numbers, didn't know there was a constant.
2012-12-16 21:36:52 -08:00
Unknown W. Brackets
0d07013199 Cleanup timeouts and refer for Mbx functions. 2012-12-16 21:36:52 -08:00
Unknown W. Brackets
13ed64ff4b Add basic timeout support for Mbx. 2012-12-16 21:36:51 -08:00
Unknown W. Brackets
94094f99bf Cleanup basic Mbx implementation, create func. 2012-12-16 21:36:51 -08:00
Henrik Rydgard
369afa5b93 sceSas: Resample audio according to pitch 2012-12-16 21:20:16 +01:00
Henrik Rydgard
15b7c1c96c sceSas cleanup 2012-12-16 20:40:49 +01:00
Xele02
bd1a9c2b1a Make Save/Load List work when there is no multiple save files in the
request.
2012-12-16 12:51:02 +01:00
Xele02
4683d84206 Merge remote-tracking branch 'upstream/master' 2012-12-16 11:55:33 +01:00
Henrik Rydgård
8f5b6671db Merge pull request #182 from unknownbrackets/audio-minor
Add range checks to sceSas*() funcs
2012-12-15 23:10:41 -08:00
raven02
1dbb6a8bda Fix sound distortion and improve sound clarity 2012-12-16 13:11:53 +08:00
Xele02
a5431f127a Merge remote-tracking branch 'upstream/master' 2012-12-16 03:41:13 +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
Henrik Rydgård
efd29ab75e Merge pull request #181 from unknownbrackets/event-flags
Support WAITCLEARALL on event flag wait/poll
2012-12-15 10:27:43 -08:00
Henrik Rydgård
cca64e4603 Merge pull request #180 from tmaul/master
Fake enough of the on screen keyboard to make games work
2012-12-15 10:09:59 -08:00
Unknown W. Brackets
70cbf98a20 Support WAITCLEARALL on event flag wait/poll.
Thanks to @B1ackDaemon for catching this.
2012-12-15 10:06:56 -08:00
TMaul
ef836c6022 More Cleanup
Probably some more missing stuff from the Cmakelist but I don't have it
setup to test
2012-12-15 17:39:05 +00:00
TMaul
0414b072a4 Display OSK message
And some cleanup
2012-12-15 17:13:58 +00:00
TMaul
a2a4248381 Fake some of the on screen keyboard
Now games that use it assume the user has input "000000" which seems to
work for most games. Gets Pixel junk monsters deluxe and Worms battle
island in-game
2012-12-15 16:42:38 +00:00
KentuckyCompass
360738d366 tolerate prefix without path in current directory and quiet redundant 'starting with' message 2012-12-15 04:09:37 -08:00
KentuckyCompass
8f00757ceb remove simple current directory concatenation in favor of new relative path handling 2012-12-15 03:55:02 -08:00
KentuckyCompass
17d7e4acf5 invalid current directory should be ERROR_LOG 2012-12-15 03:48:47 -08:00
KentuckyCompass
0639abff6a more consistant messages and minor adjustments 2012-12-15 03:47:31 -08:00
KentuckyCompass
d0e8749aa1 replace host0 hack with proper relative path handling (not per thread yet) 2012-12-15 03:38:14 -08:00
Unknown W. Brackets
bb10140728 Oops, event flags weren't always deleting properly.
Added some comments to explain why removal from waitingThreads is
deferred.  Also had to move things around so the right outBitsPtr
is always written to on timeouts.
2012-12-15 01:36:53 -08:00
Unknown W. Brackets
d20b507796 Clarify these flags slightly. 2012-12-14 23:36:18 -08:00
Unknown W. Brackets
67f7f6b05d Oops, these flags can be or'd together of course. 2012-12-14 23:24:04 -08:00
Unknown W. Brackets
45258bb61f Cleanup behavior in sceKernel*EventFlag() funcs.
Biggest change is just that sceKernelSetEventFlag() rescheds.
2012-12-14 21:25:29 -08:00
Xele02
825e058c94 Correct date display with padding 2012-12-14 23:40:02 +01:00
Xele02
e785662747 Read PARAM.SFO for display save info
Display save modification date and time
2012-12-14 23:08:56 +01:00
Xele02
1697e1dd93 Save save snd file 2012-12-14 21:36:54 +01:00
Unknown W. Brackets
18bd6cdc98 Cleanup errors and timing for waiting on flags. 2012-12-14 12:05:16 -08:00
Unknown W. Brackets
eb22f6bb78 Wake threads when an event flag is deleted. 2012-12-14 12:05:15 -08:00
Unknown W. Brackets
2ea992f2c4 Validate attr for mutexes, semas, and events. 2012-12-14 12:05:15 -08:00
Unknown W. Brackets
d2d82196b7 Add timeouts for event flags.
Makes the threads/events/events test pass.

Still needs more tests, most likely several things are currently a
bit incorrect, like delete not waking threads.
2012-12-14 12:05:14 -08:00
Xele02
ab71c3d1d0 Save unencrypted PARAM.SFO 2012-12-14 20:55:57 +01:00
Xele02
1ea6fe7e4d Correct texture display in save dialog on Android. 2012-12-14 01:04:45 +01:00
Xele02
67c88d7b33 * Load and display save image in save/load menu
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
TMaul
b121749b39 Cleanup sceKernelModule 2012-12-13 11:40:56 +00:00
TMaul
f40177ada8 More stubs and clean up
From various games
2012-12-13 11:40:55 +00:00
TMaul
b21a89e56e Add sceRtcGetTime64_t
and define sceNetAdhocPollSocket
2012-12-13 11:40:54 +00:00
TMaul
6686849d35 sceNet stubs
Added from MGS peace walker
2012-12-13 11:40:53 +00:00
TMaul
8cc95d5640 sceUtil Cleanup
Some of these methods need implementing for some of the games though
2012-12-13 11:40:52 +00:00
TMaul
1c15b70277 Various Cleanups
Make some sceFont functions fill in (fake) error codes

sceGeListSync seems to want a return value (fat princess, others)

Another missing sceKernelModule method (killzone)
2012-12-13 11:40:50 +00:00