Commit Graph
5237 Commits
Author SHA1 Message Date
Unknown W. Brackets e00a244d1e Handled fixed-length strings in savedata properly. 2014-01-24 01:21:13 -08:00
Unknown W. Brackets 05ad9721d9 Allow msgdialog override of ok/cancel button text.
Per tests, and hints from JPCSP.
2014-01-23 01:02:41 -08:00
Unknown W. Brackets bcdcd528b2 Validate options in MsgDialog v3 per tests. 2014-01-23 00:41:42 -08:00
Unknown W. Brackets fa1c5e0f87 Oops, only reset MsgDialog result on success. 2014-01-23 00:41:26 -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 278359b208 Set msgdialog result to 0 after displayed.
This might fix anything checking the result code without zeroing it first.
2014-01-22 08:18:56 -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 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