mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 19:23:47 +01:00
Add compat.ini setting for Sakura-Sou no Pet na Kanojo
See issue #15224
This commit is contained in:
1 parent
8e3daeb1e3
commit
c7546dfe8d
4 files changed
+7
-1
No files matched your search
@@ -83,6 +83,7 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "ClearToRAM", &flags_.ClearToRAM);
|
||||
CheckSetting(iniFile, gameID, "Force04154000Download", &flags_.Force04154000Download);
|
||||
CheckSetting(iniFile, gameID, "DrawSyncEatCycles", &flags_.DrawSyncEatCycles);
|
||||
CheckSetting(iniFile, gameID, "DrawSyncInstant", &flags_.DrawSyncInstant);
|
||||
CheckSetting(iniFile, gameID, "FakeMipmapChange", &flags_.FakeMipmapChange);
|
||||
CheckSetting(iniFile, gameID, "RequireBufferedRendering", &flags_.RequireBufferedRendering);
|
||||
CheckSetting(iniFile, gameID, "RequireBlockTransfer", &flags_.RequireBlockTransfer);
|
||||
|
||||
@@ -53,6 +53,7 @@ struct CompatFlags {
|
||||
bool ClearToRAM;
|
||||
bool Force04154000Download;
|
||||
bool DrawSyncEatCycles;
|
||||
bool DrawSyncInstant;
|
||||
bool FakeMipmapChange;
|
||||
bool RequireBufferedRendering;
|
||||
bool RequireBlockTransfer;
|
||||
|
||||
+1
-1
@@ -391,7 +391,7 @@ static u32 sceGeDrawSync(u32 mode) {
|
||||
//wait/check entire drawing state
|
||||
if (PSP_CoreParameter().compat.flags().DrawSyncEatCycles)
|
||||
hleEatCycles(500000); //HACK(?) : Potential fix for Crash Tag Team Racing and a few Gundam games
|
||||
else
|
||||
else if (!PSP_CoreParameter().compat.flags().DrawSyncInstant)
|
||||
hleEatCycles(1240);
|
||||
DEBUG_LOG(Log::sceGe, "sceGeDrawSync(mode=%d) (0=wait for completion, 1=peek)", mode);
|
||||
return gpu->DrawSync(mode);
|
||||
|
||||
@@ -264,6 +264,10 @@ ULJM06365 = true
|
||||
# ULJM05036 = true
|
||||
# ULUS10044 = true
|
||||
|
||||
[DrawSyncInstant]
|
||||
# Bizarre timing issue in Sakura-sou no Pet na Kanojo, see issue #15224. Note that an instant DrawSync is not logical.
|
||||
NPJH50745 = true
|
||||
|
||||
[FakeMipmapChange]
|
||||
# This hacks separates each mipmap to independent textures to display wrong-size mipmaps.
|
||||
# For example this requires games like Tactics Ogre(Japanese) to display multi bytes fonts stored in mipmaps.
|
||||
|
||||
Reference in new issue
Block a user