Skip to content

Commit

Permalink
Special hack of Dissidia Final Fantasy Chinese patch
Browse files Browse the repository at this point in the history
hrydgard#13204
No need turn off fast memory now.
Also it seems our sceKernelFindModuleByName is wrong
  • Loading branch information
sum2012 committed Oct 4, 2020
1 parent 1fb47d4 commit 55642f2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Core/HLE/sceKernelModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "zlib.h"

#include "base/stringutil.h"
#include "Common/Serialize/Serializer.h"
#include "Common/Serialize/SerializeFuncs.h"
#include "Common/Serialize/SerializeSet.h"
Expand Down Expand Up @@ -2375,7 +2376,11 @@ u32 sceKernelFindModuleByName(const char *name)
{
int index = GetModuleIndex(name);
u32 temp = index + 1;
INFO_LOG(SCEMODULE, "%d = sceKernelFindModuleByName(%s)", temp, name);
std::string id = g_paramSFO.GetValueString("DISC_ID");
if ((id == "ULJM05262") && (pspFileSystem.GetFileInfo("disc0:/PSP_GAME/CHN_FONT_SPL.pgf").exists) & (strcmp(name, "FFSTJP") == 0))
//temp = 0x83FFE00; //find by jpcsp emulator
temp = 0x881F7C3C; //find by real psp
INFO_LOG(SCEMODULE, "%d = Unimp sceKernelFindModuleByName(%s)", temp, name);
return temp;
}

Expand Down

0 comments on commit 55642f2

Please sign in to comment.