Commit graph

6076 commits

Author SHA1 Message Date
Unknown W. Brackets
d09be5a4bc Update PC before going into a replacement func.
This way we can report the PC properly on errors, and the replacement func
can even look at PC.
2014-05-31 10:03:01 -07:00
Unknown W. Brackets
f489694515 Add the option to hook, rather than replace, funcs.
This can be useful for debugging or developing translations/game hacks,
and also gives us options when dealing with GLES incompatibilities.
2014-05-31 10:03:00 -07:00
Unknown W. Brackets
72eb15f282 Speed up debug build hashfunc lookup. 2014-05-31 10:03:00 -07:00
Henrik Rydgård
c2778d9a2a Merge pull request #6184 from daniel229/patch_04
World Neverland Qukria Kingdom Stories Chinese translate bypass EBOOT
2014-05-30 09:55:58 +02:00
Unknown W. Brackets
a5fc0c49bc Look at the right bytes for screenshot mode.
Although, there's a bunch more needed to make this work properly.
2014-05-29 23:28:27 -07:00
daniel229
7aa75e6e81 World Neverland Qukria Kingdom Stories Chinese translate bypass EBOOT 2014-05-30 12:28:27 +08:00
Henrik Rydgård
770d0d7adb Merge pull request #6178 from unknownbrackets/audiocodec-fix
Cleanup sceAudiocodec some
2014-05-29 20:04:25 +02:00
Henrik Rydgård
018468d9e0 Merge pull request #6180 from sum2012/log
Remove sceUtilityLoadAvModule report
2014-05-29 20:03:26 +02:00
sum2012
38844ac0e7 Remove sceUtilityLoadAvModule report
Now no need
2014-05-29 23:36:36 +08:00
sum2012
bf0f0b87d6 Small improve scemp4 part 1 2014-05-29 23:33:17 +08:00
Unknown W. Brackets
95414d6727 Get rid of some duplicate code. 2014-05-29 08:30:00 -07:00
Unknown W. Brackets
4bb6709eb2 More cleanup in sceAudiocodec. 2014-05-29 08:19:26 -07:00
Unknown W. Brackets
0b59cc4c35 Use a std::map in sceAudiocodec. 2014-05-29 08:16:47 -07:00
Unknown W. Brackets
a09f1fd80f Clean up a leak in sceAudiocodec load state. 2014-05-29 08:11:00 -07:00
Unknown W. Brackets
77b5cb7629 Reset decodePos in lowlevel decode.
FFmpeg was smart enough to do this for us, but not when we loaded a
savestate.  This is because without a savestate, we returned an initial
small header packet of this size, which gave FFmpeg the idea that seeking
there might help.

But, since we're forcing the decode at a certain position the better thing
is to seek ourselves.
2014-05-29 00:38:20 -07:00
Unknown W. Brackets
f29233386c Initialize some variables. 2014-05-29 00:16:16 -07:00
Unknown W. Brackets
a229593105 Erp, forgot to amend, sorry. 2014-05-28 22:49:49 -07:00
Unknown W. Brackets
63bb52bc42 Use the correct size in sceAudioCodec savestates.
ARRAY_SIZE(ptr) ain't gonna work.  Fixes #6173, thanks Lioncash.
2014-05-28 22:45:51 -07:00
Sacha
f787a1cbe1 Fix Windows build. 2014-05-29 10:33:02 +10:00
Sacha
9b7ab3816f Clean up MemArena and MemMap. Remove Symbian from MemArena (shouldn't have more ifdefs than code) 2014-05-29 03:30:23 +10:00
Lioncash
c54b7c1ec4 Get rid of unnecessary c_str calls in VirtualDiscFileSystem.cpp 2014-05-27 21:57:10 -04:00
Unknown W. Brackets
29a9ff369e Make a note when we need to reset the shader.
Hmm, not sure this is the cleanest way.
2014-05-27 22:12:25 +02:00
Henrik Rydgård
585050de27 Fix crash in block cache 2014-05-27 22:02:20 +02:00
Henrik Rydgård
ca01313715 Merge pull request #6160 from xsacha/master
Symbian: Over allocate VRAM (x4) in attempt to solve crash
2014-05-27 19:58:25 +02:00
Sacha
f94f28fb4a Symbian: Over allocate VRAM (x4) in attempt to solve crash caused by 0.9.8-601. This brings allocation to the same as before the commit. See #6103 2014-05-28 01:52:38 +10:00
Henrik Rydgård
94810e2451 Merge pull request #6159 from sum2012/sceio
sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
2014-05-27 17:44:00 +02:00
Unknown W. Brackets
0de41cd028 Don't savestate replacement funcs.
This makes it so we can reorder them as we like, which is nicer, and also
makes sure there won't be weird compatibility problems or etc.
2014-05-27 08:02:41 -07:00
Unknown W. Brackets
8dcc09c9e1 Use a separate func for gpu memset(). 2014-05-27 07:50:01 -07:00
sum2012
a24b1cf024 sceio:Remove fix Buzz Ultimate Music Quiz Crash Sporadically code
Now no need the code.
link #4497
2014-05-27 22:47:28 +08:00
Unknown W. Brackets
b73c575418 Support swizzled framebuffer downloads.
Used in God Eater 2 when showing the load save screen.
2014-05-27 01:17:09 -07:00
Unknown W. Brackets
64f6012dba Support memsets of framebuffers as uploads.
Technically should clear stencil too... maybe it'd be better to handle
separately.
2014-05-27 01:17:09 -07:00
Henrik Rydgård
3836871af7 Merge pull request #6155 from unknownbrackets/ui-tweaks
Allow jit and fast memory to be reconfigured at runtime
2014-05-27 09:37:12 +02:00
Unknown W. Brackets
bd31b776c7 Report GHA phase shifting. 2014-05-27 00:03:28 -07:00
Unknown W. Brackets
a70b5abfb9 Allow jit to be enabled/disabled at runtime. 2014-05-27 00:02:51 -07:00
Unknown W. Brackets
8afd1f028c Add a couple more memcpy() variants. 2014-05-26 11:20:34 -07:00
Henrik Rydgård
2275c3a457 Merge pull request #6142 from unknownbrackets/psmfplayer
End the video when we run out of packets
2014-05-26 10:56:33 +02:00
Unknown W. Brackets
8275f613ce UpdateMemory() now returns whether to skip the cpy.
This way it can do it itself as necessary in the right order.
2014-05-25 21:48:41 -07:00
Unknown W. Brackets
df22d0609f End the video when we run out of packets.
If there are no audio or video packets left, even if we haven't hit the
pts, the video is over.
Fixes #6135, hanging in Chinese translation of Clannad.
2014-05-25 18:45:31 -07:00
Henrik Rydgard
90f2d06697 Add setting to enable/disable GPU block transfer 2014-05-25 10:18:14 +02:00
Henrik Rydgård
270fc2daf7 Merge pull request #6079 from sum2012/log
Report sceUtilityLoadAvModule
2014-05-25 09:24:57 +02:00
Henrik Rydgård
95c95d07a4 Merge pull request #6131 from sum2012/Net
Small improve of sceNetAdhocMatching*
2014-05-25 09:24:32 +02:00
Henrik Rydgård
cc8ae194da Merge pull request #6132 from unknownbrackets/module-ver
Report devkit for blacklisted modules too
2014-05-25 09:23:53 +02:00
Unknown W. Brackets
27f8eb6d8a Call gpu->UpdateMemory() from memcpy() funcs. 2014-05-24 21:59:25 -07:00
Unknown W. Brackets
0248b0ba09 Add memchecks to replaced functions. 2014-05-24 21:53:42 -07:00
sum2012
1d36836d2d Add some constant 2014-05-25 10:51:00 +08:00
Unknown W. Brackets
c1fdb5fc5b Might as well allow imports to blacklisted.
If someone's trying to read their code.
2014-05-24 17:15:25 -07:00
Unknown W. Brackets
8ef00232d3 Parse exports of blacklisted modules.
But ignore them.  This allows us to get the devkit version and other
potentially useful information.
2014-05-24 17:13:26 -07:00
sum2012
b8e0fc8fa7 Small improve of sceNetAdhocMatching*
Now Metal Slug XX can display online screen.
2014-05-25 07:57:02 +08:00
Unknown W. Brackets
213646b218 Correct errors in minor psmfplayer funcs. 2014-05-24 15:35:51 -07:00
Unknown W. Brackets
68bccebdeb Clear the psmfplayer handle on delete. 2014-05-24 14:13:18 -07:00