Commit Graph

2625 Commits

Author SHA1 Message Date
raven02
ee8b062687 Save the current frame's status to initAddr 2014-01-28 23:36:29 +08: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
Unknown W. Brackets
f258cb24c2 Eat some cycles when reading the button data. 2014-01-19 12:44:54 -08:00
Unknown W. Brackets
73d6accafc Eat a few cycles when checking callbacks.
Some games really spam this function.
2014-01-19 12:44:54 -08:00
Unknown W. Brackets
553990d5a0 Eat cycles when messing with the dispatch thread. 2014-01-19 12:44:53 -08:00
Unknown W. Brackets
afff20a642 Eat some cycles when working with event flags. 2014-01-19 12:44:53 -08:00
Unknown W. Brackets
d24668c9c3 Eat some cycles in suspend/resume interrupt funcs.
These are really common, hope this doesn't have ill effects...
2014-01-19 12:44:52 -08:00
Unknown W. Brackets
8aa9483cbf Eat some cycles in the Dcache invalidate funcs. 2014-01-19 12:44:51 -08:00
Henrik Rydgård
f9be841612 Merge pull request #5130 from unknownbrackets/mpeg-minor
Set return status in sceMpegAvcDecodeStopYCbCr()
2014-01-18 12:42:17 -08:00
Unknown W. Brackets
dfd480d13a Set return status in sceMpegAvcDecodeStopYCbCr().
Like the other Stop().  Fixes video end in Tales of Phantasia X.
2014-01-18 10:56:41 -08:00
Henrik Rydgård
f460f34a93 Merge pull request #5044 from raven02/patch-14
Fix corrupted keyframes in several games
2014-01-18 09:09:15 -08:00
Unknown W. Brackets
610b7f6e4c Fix cross-platform compat problem with savestates. 2014-01-15 08:03:37 -08:00
raven02
6e21b4eaf5 Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId() 2014-01-13 21:53:15 +08:00
Unknown W. Brackets
bf37e55b9f Don't return latched framebuf if not latched. 2014-01-12 23:29:03 -08:00
Henrik Rydgård
108d592461 Merge pull request #5092 from unknownbrackets/module-minor
Try to implement the unload/stop self module func
2014-01-12 13:56:19 -08:00