Commit Graph
14759 Commits
Author SHA1 Message Date
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 6b06494940 Oops, missed a c_str() conversion. 2014-01-26 01:56:28 -08:00
Unknown W. Brackets 983e195dd2 Fix possible module index overlap. 2014-01-26 00:02:01 -08:00
Unknown W. Brackets 76afb2a8d5 Avoid returning points from the symbol map.
Now that it uses a lookup, this is even more dangerous.  But, the maps
could be reordered while it's trying to print the pointer and cause that
data to become invalid.

This should be safe from race conditions.
2014-01-25 21:40:23 -08:00
Unknown W. Brackets b1af4f4911 Write symbol maps as ".ppmap" instead.
This has some benefits:
 * They are smaller, but zgrep/zcat etc. still work.
 * Since the format is slightly different, bisecting won't overwrite.
 * It avoids conflicts with .map file associations.
2014-01-25 21:12:16 -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
Unknown W. Brackets af411e6b1e Check for AV_NOPTS_VALUE from ffmpeg pts values.
Apparently it's returning this now.  If we don't have it, just increment.

Fixes #5217.
2014-01-25 14:59:28 -08:00
DanyalZia 251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
raven02 b2e62680e7 Build fix 2014-01-25 23:56:47 +08: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
Henrik Rydgård 4789c2412a Merge pull request #5196 from unknownbrackets/savedata
Handle fixed-length strings in savedata properly
2014-01-24 01:45:14 -08:00
Henrik Rydgård b27569277e Merge pull request #5194 from unknownbrackets/iso-fix
Support larger iso files (more than 2GB)
2014-01-24 01:38:51 -08:00
Henrik Rydgård 293c66199e Merge pull request #5195 from unknownbrackets/display-minor
Smooth out detected FPS changes
2014-01-24 01:38:14 -08:00
Unknown W. Brackets e00a244d1e Handled fixed-length strings in savedata properly. 2014-01-24 01:21:13 -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
Unknown W. Brackets 6bdfa5a13a Support larger iso files (more than 2GB.)
No actual PSP games are this big (a UMD can only go up to 1.8 GB), but it
can be convenient for combined multi-game discs.  Fixes #5169.
2014-01-23 22:00:15 -08:00
Henrik Rydgård b333e5b77f Comment the fallthroughs in SasAudio.cpp 2014-01-23 20:58:42 +01:00
Henrik Rydgård 6c5165e505 Revert "Merge pull request #5190 from raven02/patch-32"
This reverts commit aef180259a, reversing
changes made to d69f02dea0.
2014-01-23 20:57:39 +01:00
raven02 9965bbb43e Shouldn't voice.type == VOICETYPE_VAG/PCM 2014-01-24 00:28:53 +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