2638 Commits

Author SHA1 Message Date
Henrik Rydgård
60e44c40b6 Merge pull request #5245 from raven02/patch-8
Saving the current frame's status to initAddr
2014-01-29 01:56:14 -08:00
Unknown W. Brackets
c9b037815f Reschedule instead of switching to delayed threads.
This will hopefully take care of #5263, and might fix other issues too.
If a thread goes into a wait, it may reschedule right into an interrupt.

In this case, it would've been switched back to, and woken up early.
2014-01-28 22:10:28 -08:00
raven02
ee8b062687 Save the current frame's status to initAddr 2014-01-28 23:36:29 +08:00
raven02
e40c19a22a Add and wrap 3 new functions 2014-01-28 22:03:11 +08:00
raven02
3cf8437f24 Wrap few more sceMpeg() functions 2014-01-28 21:56:49 +08:00
sum2012
d37100b30a Correct scePsmfPlayerBreak psmfplayer status
Fix everybody stress buster
2014-01-28 19:13:59 +08:00
Henrik Rydgård
2c4ca13671 Merge pull request #5253 from unknownbrackets/struct-align
Clean up alarm struct alignment, don't set pad to anything
2014-01-28 01:39:20 -08:00
Henrik Rydgård
4811d7796a Merge pull request #5252 from sum2012/PATCH-1
Reduce sceKernelGetSystemTime log level
2014-01-28 01:39:09 -08:00
sum2012
3af056f459 Update scePsmfPlayerGetAudioOutSize log 2014-01-28 17:02:38 +08:00
Unknown W. Brackets
ba55315670 Add manual padding to NativeAlarm for alarm status.
Seems to matter on iOS.
2014-01-28 00:37:59 -08:00
sum2012
40fffd7d49 Reduce sceKernelGetSystemTime log level
spam in Pacman World 3
2014-01-28 12:38:14 +08:00
Henrik Rydgård
1268bbd489 Merge pull request #5247 from unknownbrackets/callbacks
Work around a callback issue and a strange debug-only crash
2014-01-27 08:03:25 -08:00
Unknown W. Brackets
21cdcb5c0d Force rescheduling within a callback.
Seems to fix #4914.  We already have a larger bug for callbacks.
2014-01-27 07:38:53 -08:00
Henrik Rydgård
269a8d413a Make a few of the Aac functions reporting. 2014-01-27 16:35:47 +01:00
Henrik Rydgård
4d6be60d93 Merge pull request #5244 from raven02/patch-7
Wrap sceAac()
2014-01-27 05:08:43 -08:00
Henrik Rydgård
169844cc8c MediaEngine/atrac: Initialize some variables, remove use of some deprecated functions 2014-01-27 14:08:05 +01:00
raven02
8fa51c19d1 Wrap sceAac() 2014-01-27 21:02:15 +08:00
Henrik Rydgård
a8eb92f395 Merge pull request #5237 from raven02/patch-6
Return without delay if voicesPlayingCount is zero
2014-01-27 04:16:48 -08:00
raven02
f381bfd0b4 Update comment 2014-01-27 17:22:01 +08:00
Henrik Rydgård
f7f9b3b8f7 Merge pull request #5239 from unknownbrackets/io-thread-fix
Fix glitch when a file is closed while its io thread operation is pending
2014-01-27 01:04:51 -08:00
Unknown W. Brackets
10f52fa2b0 Just in case, also clear results on shutdown. 2014-01-26 19:10:20 -08:00
Unknown W. Brackets
c03326eed4 Discard any pending result when closing a file. 2014-01-26 18:49:34 -08:00
Unknown W. Brackets
cb4e72058a Report usage if callback "injection."
These are generally giving incorrect results, but it will help to know
what games are triggering it.
2014-01-26 18:41:42 -08:00
raven02
75a49129a6 Return without delay if voicesPlayingCount is zero 2014-01-27 10:07:56 +08:00
Unknown W. Brackets
efa6640807 Report any missing wait type handling funcs. 2014-01-26 17:14:11 -08:00
Ced2911
075a960f7f [Core] scekernel endian fixes 2014-01-26 14:27:30 -08:00
Ced2911
2c522cda9a [core] fix some endian bugs 2014-01-26 14:26:27 -08:00
Ced2911
2941ec7227 [core] some endian fix try
Conflicts:
	Core/HLE/sceIo.cpp
2014-01-26 14:25:54 -08:00
Henrik Rydgård
241c78fb4c Merge pull request #5221 from unknownbrackets/debugger
Add module info to the symbol maps
2014-01-26 14:07:29 -08:00
Henrik Rydgård
289729f43c Merge pull request #5216 from DanyalZia/frameskip
Separates out auto-skip from frameskiping
2014-01-26 14:06:45 -08:00
Henrik Rydgård
5b355c4a64 Improve comment about the sas delay 2014-01-26 14:37:41 +01:00
raven02
7701784608 Not reschelding if voicesPlayingCount == 0 2014-01-26 19:52:31 +08:00
Unknown W. Brackets
a2fa53d5c4 Track modules in the symbol map.
This makes it so things don't overlap confusingly, and also so that we can
replace funcs more correctly and sanely.

This is unfortunately a bunch more complicated...
2014-01-25 20:59:53 -08:00
DanyalZia
251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
Henrik Rydgård
d4feb77cb3 Merge pull request #5206 from raven02/master
Implement sceMt19937Init() & sceMt19937Uinit()
2014-01-25 06:14:10 -08:00
raven02
3236625bf6 Revert #5044 and set ctx->avc.avcDecodeResult = 1 2014-01-25 21:29:37 +08:00
raven02
161d8b29fb Implement sceMt19937() 2014-01-25 20:17:53 +08:00
Unknown W. Brackets
10454654bf Ignore unreasonable timestep values.
This fixes #5202 (Crisis Core stuttering) and improves Mana Khemia's "Who
are you?" sound effect while loading savedata.  May also improve Monster
Hunter's similar issue.
2014-01-24 23:55:19 -08:00
Unknown W. Brackets
4541ec4b05 Smooth out detected FPS changes.
Helps reduce uneven FPS rates and sound effect glitches during transitions
(e.g. between a 30 fps scene and a 60 fps menu, or etc.)
2014-01-23 22:23:43 -08:00
Henrik Rydgård
a915472eb5 Merge pull request #5174 from unknownbrackets/intr-fix
Restore thread if there's no interrupt handler set
2014-01-22 23:24:32 -08:00
Henrik Rydgård
3700229d37 Merge pull request #5186 from unknownbrackets/savestates
Fix savestates from before v0.9.6-536-g62e9e42
2014-01-22 23:11:15 -08:00
Unknown W. Brackets
c5e11c63c0 Now umd0: size is in sectors, not bytes.
So we have to check based on that correctly.  Darn it.
2014-01-22 22:24:30 -08:00
Unknown W. Brackets
c2d2b25ced Fix savestates from before v0.9.6-536-g62e9e42.
Unfortunately, this breaks savestates made since then until this is
merged.  However, that's only a day or so.

Fixes #5183.
2014-01-22 21:49:18 -08:00
Unknown W. Brackets
f74e29977f Abort on a message dialog just moves to finished.
Still need to shutdown.  Fixes #5177.
2014-01-22 08:17:21 -08:00
Unknown W. Brackets
996d97a05e Properly savestate loaded modules.
May fix savestates in games that use modules heavily, like Yu-Gi-Oh, Metal
Gear Solid, Tales of Radiant Mythology, and Valkyrie Profile.
2014-01-22 01:06:59 -08:00
Unknown W. Brackets
4da08f4f6e Restore thread if there's no interrupt handler set.
If dispatch is disabled and we don't do this, it'll just hang, never
switching back to a thread that can re-enable dispatch.

Fixes #5172.
2014-01-21 22:47:18 -08:00
sum2012
62e9e42b2c Add LoadExecForKernel and SysMemForKernel
Find in chinese verison of Tales of Phantasia
sample log:https://gist.github.com/sum2012/5396a013391d9f7b6124
2014-01-21 22:02:07 +08:00
Unknown W. Brackets
f8883279b5 Eat some cycles when flipping the framebuffer. 2014-01-19 12:53:19 -08:00
Unknown W. Brackets
ab49de0331 Eat some cycles when getting the current thread id. 2014-01-19 12:44:55 -08:00
Unknown W. Brackets
8396cdf227 Eat cycles when enqueuing GE lists. 2014-01-19 12:44:55 -08:00