ppsspp/Core/HLE
Unknown W. Brackets 87a07d7355 Workaround bug in Kurohyou 2 (uninitialized data.)
The game calls scePsmfGetEPWithTimestamp(), but without any chapters.
This means nothing is written to its pointer.  But it takes the value
there anyway.

It happens that the value there is 0, but only because something wrote it
to the stack before the call.  It seems like scePsmfVerifyPsmf() is the
one writing it, since it has a different value shortly before that call.

So, as a workaround, just write some 0s into the stack.  Games without
bugs should not care.  Hard to predict what will happen to another buggy
game.
2014-03-02 01:22:25 -08:00
..
__sceAudio.cpp
__sceAudio.h
FunctionWrappers.h
HLE.cpp
HLE.h
HLETables.cpp
HLETables.h
KernelWaitHelpers.h
proAdhoc.cpp
proAdhoc.h
ReplaceTables.cpp
ReplaceTables.h
sceAtrac.cpp
sceAtrac.h
sceAudio.cpp
sceAudio.h
sceAudiocodec.cpp
sceAudiocodec.h
sceCcc.cpp
sceCcc.h
sceChnnlsv.cpp
sceChnnlsv.h
sceCtrl.cpp
sceCtrl.h
sceDeflt.cpp
sceDeflt.h
sceDisplay.cpp
sceDisplay.h
sceDmac.cpp
sceDmac.h
sceFont.cpp
sceFont.h
sceGameUpdate.cpp
sceGameUpdate.h
sceGe.cpp
sceGe.h
sceHeap.cpp
sceHeap.h
sceHprm.cpp
sceHprm.h
sceHttp.cpp
sceHttp.h
sceImpose.cpp
sceImpose.h
sceIo.cpp
sceIo.h
sceJpeg.cpp
sceJpeg.h
sceKernel.cpp
sceKernel.h
sceKernelAlarm.cpp
sceKernelAlarm.h
sceKernelEventFlag.cpp
sceKernelEventFlag.h
sceKernelInterrupt.cpp
sceKernelInterrupt.h
sceKernelMbx.cpp
sceKernelMbx.h
sceKernelMemory.cpp
sceKernelMemory.h
sceKernelModule.cpp Workaround bug in Kurohyou 2 (uninitialized data.) 2014-03-02 01:22:25 -08:00
sceKernelModule.h
sceKernelMsgPipe.cpp
sceKernelMsgPipe.h
sceKernelMutex.cpp
sceKernelMutex.h
sceKernelSemaphore.cpp
sceKernelSemaphore.h
sceKernelThread.cpp
sceKernelThread.h
sceKernelTime.cpp
sceKernelTime.h
sceKernelVTimer.cpp
sceKernelVTimer.h
sceMd5.cpp
sceMd5.h
sceMp3.cpp
sceMp3.h
sceMp4.cpp
sceMp4.h
sceMpeg.cpp
sceMpeg.h
sceMt19937.cpp
sceMt19937.h
sceNet.cpp
sceNet.h
sceNetAdhoc.cpp
sceNetAdhoc.h
sceNp.cpp
sceNp.h
sceOpenPSID.cpp
sceOpenPSID.h
sceP3da.cpp
sceP3da.h
sceParseHttp.cpp
sceParseHttp.h
sceParseUri.cpp
sceParseUri.h
scePauth.cpp
scePauth.h
scePower.cpp
scePower.h
scePsmf.cpp Workaround bug in Kurohyou 2 (uninitialized data.) 2014-03-02 01:22:25 -08:00
scePsmf.h
scePspNpDrm_user.cpp
scePspNpDrm_user.h
sceRtc.cpp
sceRtc.h
sceSas.cpp
sceSas.h
sceSsl.cpp
sceSsl.h
sceUmd.cpp
sceUmd.h
sceUsb.cpp
sceUsb.h
sceUtility.cpp
sceUtility.h
sceVaudio.cpp
sceVaudio.h