Commit Graph
5276 Commits
Author SHA1 Message Date
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 f19d8d2eae Handle alternating video streams a lot better. 2014-01-21 01:16:16 -08:00
Unknown W. Brackets 4de20258eb Don't bother writing an empty symbol map.
For example, when accidentally opening an invalid file.
2014-01-19 21:34:16 -08:00
Unknown W. Brackets a73b15b963 In multithreadead, load the game async.
This way if it takes time to load, things aren't frozen while it's doing
that.  This allows us to show any sort of loading animation or etc. we
want.

Before, it might show a odd looking game select screen while loading, and
then finally go to black.  Now it immediately goes to black.

Fixes #2030.
2014-01-19 14:41:01 -08:00
Unknown W. Brackets 0fa371ccbf windows: Check PSP_IsInited() in more places.
This prevents showing buttons as clickable, etc. in the debugger mainly.
2014-01-19 14:25:12 -08:00
Henrik Rydgård 5361b9b4f6 Merge pull request #5147 from unknownbrackets/perf
Eat some cycles in a few minor places
2014-01-19 13:40:13 -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
sum2012 588d67ac64 Fixed cwcheat 0x0 > 0x80000000 bug
Thanks @Kingcom
2014-01-19 23:55:42 +08:00
sum2012 9dbadb6b41 oop 2014-01-19 21:13:51 +08:00
sum2012 290d1b2159 Correctly auto detect arg for 8,16,32 bit on 0x0 2014-01-19 20:49:08 +08:00
sum2012 4a4514120b oop 2014-01-19 13:47:35 +08:00
sum2012 9eaec5be58 cwcheat fix
Fix Criminal girls Money cheat
_S NPJH-50316
_G CRIMINALGIRLS
_C1 MONEY
_L 0x01693FF8 0x000AAE60
2014-01-19 13:41:16 +08:00
Unknown W. Brackets 091ddd9f3f Android/Linux buildfix.
Arg, why?
2014-01-18 14:05:32 -08:00
Henrik Rydgård 34d2ffc6ff Merge pull request #5128 from unknownbrackets/jit-minor
Cut down on void * casts within jit
2014-01-18 12:45:50 -08:00
Henrik Rydgård 6c4a416456 Merge pull request #5129 from unknownbrackets/savestates
Use simple delta compression for rewind savestates.
2014-01-18 12:45:11 -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
Unknown W. Brackets cfc635f071 Use simple delta compression for rewind savestates.
This makes it reasonable to keep a bunch more around, since they are
generally < 10% the size when compressed like this (often smaller.)
2014-01-18 10:18:47 -08:00
Unknown W. Brackets 648c0f6685 Avoid an infinite loop on bad stack walk.
If the address is wrong, it'll re-trigger debug mode, which will re-walk
the stack, which will continue ad infinitum.
2014-01-18 09:58:48 -08:00
Unknown W. Brackets 2347498667 x86jit: Use templates to avoid some void * casts.
Makes it a bit cleaner and potentially safer.
2014-01-18 09:57:13 -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
Henrik Rydgård 2b63c48041 Fix bug where SmallScreen setting wouldn't save right. 2014-01-16 10:03:48 +01:00
Henrik Rydgard c55578367f Add option "Small Display", useful for large tablets to avoid overlapping touch controls with the screen.
Will later replace with a multiselect of different sizes, or something more advanced
like multitouch drag & zoom of the screen to get it exactly where you want it.
2014-01-16 00:22:39 +01:00
Henrik Rydgård 737ef1c805 Merge pull request #5111 from unknownbrackets/savestates
Fix cross-platform compat problem with savestates
2014-01-15 08:07:14 -08:00
Unknown W. Brackets 610b7f6e4c Fix cross-platform compat problem with savestates. 2014-01-15 08:03:37 -08:00
sum2012 3bf2fcacf0 Make Log display Windows 32 or 64 bit
Some games have problem in windows 64 bit
2014-01-15 22:02:47 +08:00
Henrik Rydgard ef56298ab6 Revert "Merge pull request #5106 from shenweip/patch-1"
This reverts commit 91a355b642, reversing
changes made to 82395001ec.
2014-01-14 19:31:09 +01:00
shenweip 1fc52a321d Fix savestate. 2014-01-15 00:32:14 +08:00
shenweip 4af78a3164 Don't change video/audio streams in sceMpegGet *AU. 2014-01-15 00:24:22 +08:00
shenweip a55771e643 Fix typo. 2014-01-15 00:17:36 +08:00
shenweip 3773122316 Tell media engine to change channel when psmf specifi stream. 2014-01-15 00:17:00 +08:00
Henrik Rydgård 278224f89d Merge pull request #5100 from unknownbrackets/sas-minor
Key off the envelope when the VAG/etc. ends
2014-01-14 00:45:04 -08:00
Unknown W. Brackets 4102e649d5 Key off the envelope when the VAG/etc. ends.
Fixes Yu-Gi-Oh Tag Force GX 3 hanging in some places.
2014-01-13 21:42:42 -08:00
Henrik Rydgård 194a5f98a1 Merge pull request #5096 from raven02/patch-25
Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId()
2014-01-13 07:47:53 -08:00
Henrik Rydgård 56a1787510 Merge pull request #5097 from shenweip/patch-19
Fix buffer queue again.
2014-01-13 06:57:54 -08:00
raven02 6e21b4eaf5 Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId() 2014-01-13 21:53:15 +08:00
shenweip dc0d221900 Fix buffer queue. 2014-01-13 21:44:05 +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