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
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
Unknown W. Brackets
3d75b4e918
Try to implement the unload/stop self module func.
...
A game might call this when it uses multiple modules in a normal, not
crashing, sort of situation.
This may help Killzone Liberation or Resistance.
2014-01-12 13:51:43 -08:00
Henrik Rydgård
b9a2e94c26
Merge pull request #5091 from thedax/fixPeaceWalkerHang
...
Win32: Fix infinite loading on Peace Walker
2014-01-12 12:36:44 -08:00
The Dax
f9348b96b7
Add more WLAN off behaviour. Without these, Peace Walker loads forever on subsequent missions on Windows.
2014-01-12 15:33:29 -05:00
raven02
e757559cbc
Remove duplicate
2014-01-12 23:29:49 +08:00
Unknown W. Brackets
4f585fd7a6
Fix a few minor typos.
2014-01-11 22:59:52 -08:00
Unknown W. Brackets
79864a5ee0
Fix some initialization order warnings.
2014-01-10 22:21:24 -08:00
Unknown W. Brackets
a651e09de7
Fix a bad comparison (&& and || without parens.)
...
I thinks this is what's inteded. I still think it's bad to guess at errors without testing.
2014-01-10 22:12:00 -08:00
Unknown W. Brackets
4a4f89eeac
Correctly read the epmap from the right place.
2014-01-10 12:57:40 -08:00
raven02
23704e9940
Return PSP_ERROR_MPEG_NO_DATA when audio end reach
2014-01-10 23:41:32 +08:00
raven02
c2e6f77a2f
Check EPMap and return ERROR_PSMF_NOT_FOUND if empty
2014-01-10 19:15:35 +08:00
Unknown W. Brackets
1a38f6fa7d
Properly remove terminated thread from ready queue.
...
If we change the priority first, we'll remove from the wrong priority
level, oops. Gotta change afterward.
Should improve Darkstalkers Chronicle: The Chaos Tower.
2014-01-09 22:05:04 -08:00
raven02
898964e415
Typo fix
2014-01-09 22:34:02 +08:00
raven02
451797af92
Add ERROR_LOG for invalid id and timestamps
2014-01-09 21:37:01 +08:00
raven02
9ac8c63d96
Make more sense to use return as ERROR_PSMF_INVALID_ID
2014-01-09 21:30:49 +08:00
Henrik Rydgård
c176d09ba6
Fix a few range checks in scePsmf. See #5051
2014-01-08 14:20:20 +01:00
Unknown W. Brackets
079d770ce2
Revert the gp struct member in mpegs for now.
...
Unlikely to be used, even though seen in tests, and could be
causing #5045 (just a guess.)
2014-01-08 00:07:25 -08:00
raven02
4c26b839f4
Fix corrupted frames in Dainiji_Super_Robot_Taisen_Z_Hakaihen
2014-01-08 05:40:37 +08:00
Henrik Rydgard
eea5b07e1a
Prevent function replacer from replacing asinf and acosf, they seem to have colliding hashes in some games
2014-01-07 12:03:59 +01:00
Unknown W. Brackets
40745e727c
Correct errors in sceMpegRingbufferAvailableSize().
2014-01-05 23:12:16 -08:00
Unknown W. Brackets
a896877449
Fix mpeg struct header.
2014-01-05 23:03:17 -08:00
Unknown W. Brackets
e16602641c
Improve errors in sceMpegRingbufferConstruct().
...
And also make Destruct() not actually null out the ringbuffer, per tests.
2014-01-05 22:34:11 -08:00
Henrik Rydgård
cb28d332d3
Merge pull request #5021 from unknownbrackets/mbx-fix
...
Remove weird 991 mbx check (fixes #2927 )
2014-01-05 08:14:09 -08:00
Unknown W. Brackets
116f86a8e8
Remove weird 991 mbx check (fixes #2927.)
2014-01-05 08:10:36 -08:00
raven02
1e3ec469fd
Typo fix
2014-01-05 08:46:50 +08:00
Henrik Rydgård
4d477f0076
Merge pull request #4997 from raven02/patch-4
...
sceMpeg: Add all missing invalid memory check and cleanup format
2014-01-04 07:59:52 -08:00
Jeferson Rodrigues da Silva
4284290463
Fix for not updating local port information after bind in PtpOpen
2014-01-04 12:57:08 -02:00
raven02
54d97824e0
Apply hleDelayResult to sceMpegAvcCsc
2014-01-04 22:47:34 +08:00
Unknown W. Brackets
936f34a6b7
Check the audio buffer size just in case.
...
This way we definitely won't overfill it.
2014-01-04 01:25:42 -08:00
Unknown W. Brackets
f095ac656b
Don't completely fill the psmf ringbuffer at once.
...
It takes more time (slowing the start of the video), and gets us closer to
overflowing buffers and stuff.
2014-01-04 01:23:44 -08:00
raven02
b28f224fe2
sceMpeg: Add all missing invalid memory check and cleanup format
2014-01-04 16:55:20 +08:00
Henrik Rydgard
0de71f27cb
Optimize the VAGADPCM decoder.
2014-01-04 01:59:20 +01:00
raven02
14e79f8151
Lowering the log level of sceNET
2014-01-04 02:32:59 +08:00