mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 20:24:01 +01:00
Change hack names and edit comments based on feedback.
This commit is contained in:
1 parent
53baa89d3f
commit
5a06776999
5 files changed
+12
-13
No files matched your search
@@ -66,8 +66,8 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "YugiohSaveFix", &flags_.YugiohSaveFix);
|
||||
CheckSetting(iniFile, gameID, "ForceUMDDelay", &flags_.ForceUMDDelay);
|
||||
CheckSetting(iniFile, gameID, "ForceMax60FPS", &flags_.ForceMax60FPS);
|
||||
CheckSetting(iniFile, gameID, "Fixed60FPShack", &flags_.Fixed60FPShack);
|
||||
CheckSetting(iniFile, gameID, "Fixed30FPShack", &flags_.Fixed30FPShack);
|
||||
CheckSetting(iniFile, gameID, "GoWFramerateHack60", &flags_.GoWFramerateHack60);
|
||||
CheckSetting(iniFile, gameID, "GoWFramerateHack30", &flags_.GoWFramerateHack30);
|
||||
CheckSetting(iniFile, gameID, "JitInvalidationHack", &flags_.JitInvalidationHack);
|
||||
CheckSetting(iniFile, gameID, "HideISOFiles", &flags_.HideISOFiles);
|
||||
CheckSetting(iniFile, gameID, "MoreAccurateVMMUL", &flags_.MoreAccurateVMMUL);
|
||||
|
||||
@@ -65,8 +65,8 @@ struct CompatFlags {
|
||||
bool YugiohSaveFix;
|
||||
bool ForceUMDDelay;
|
||||
bool ForceMax60FPS;
|
||||
bool Fixed60FPShack;
|
||||
bool Fixed30FPShack;
|
||||
bool GoWFramerateHack60;
|
||||
bool GoWFramerateHack30;
|
||||
bool JitInvalidationHack;
|
||||
bool HideISOFiles;
|
||||
bool MoreAccurateVMMUL;
|
||||
|
||||
@@ -1341,8 +1341,8 @@ static int Hook_soltrigger_render_ucschar() {
|
||||
}
|
||||
|
||||
static int Hook_gow_fps_hack() {
|
||||
if (PSP_CoreParameter().compat.flags().Fixed60FPShack || PSP_CoreParameter().compat.flags().Fixed30FPShack) {
|
||||
if (PSP_CoreParameter().compat.flags().Fixed30FPShack) {
|
||||
if (PSP_CoreParameter().compat.flags().GoWFramerateHack60 || PSP_CoreParameter().compat.flags().GoWFramerateHack30) {
|
||||
if (PSP_CoreParameter().compat.flags().GoWFramerateHack30) {
|
||||
__DisplayWaitForVblanks("vblank start waited", 2);
|
||||
} else {
|
||||
__DisplayWaitForVblanks("vblank start waited", 1);
|
||||
@@ -1352,7 +1352,7 @@ static int Hook_gow_fps_hack() {
|
||||
}
|
||||
|
||||
static int Hook_gow_vortex_hack() {
|
||||
if (PSP_CoreParameter().compat.flags().Fixed60FPShack) {
|
||||
if (PSP_CoreParameter().compat.flags().GoWFramerateHack60) {
|
||||
//from my tests ==0x3F800000 takes around 1:50s, when != it's roughtly 2:50s and that seems more correct
|
||||
if (currentMIPS->r[MIPS_REG_S1] == 0 && currentMIPS->r[MIPS_REG_A0] == 0xC0 && currentMIPS->r[MIPS_REG_T4] != 0x3F800000) {
|
||||
currentMIPS->r[MIPS_REG_S1] = 1;
|
||||
|
||||
@@ -508,7 +508,7 @@ static const HardHashTableEntry hardcodedHashes[] = {
|
||||
{ 0xffc8f5f8f946152c, 192, "dl_write_light_color", },
|
||||
{ 0x249a3c5981c73480, 1472, "openseason_data_decode", }, // Open Season
|
||||
{ 0x795d940ad0a605f8, 40, "gow_fps_hack", }, // God of War (all)
|
||||
{ 0x4c75043b7b0c643b, 512, "gow_vortex_hack", } // God of War: Ghost of Sparta vortex timer hack, still wrong, but it's a start
|
||||
{ 0x4c75043b7b0c643b, 512, "gow_vortex_hack", } // God of War: Ghost of Sparta vortex timer hack, avoids softlock #8299
|
||||
};
|
||||
|
||||
namespace MIPSAnalyst {
|
||||
|
||||
+4
-5
@@ -802,10 +802,9 @@ ULJS00119 = true
|
||||
ULKS46167 = true
|
||||
NPJH50017 = true
|
||||
|
||||
[Fixed60FPShack]
|
||||
[GoWFramerateHack60]
|
||||
# Replaces ForceMax60FPS for GOW games, should provide smoother experience
|
||||
# Unfortunately just like the latter still causes softlock in GOW:GOS , see #8299
|
||||
# Worked around by another hack, but still have to work on that
|
||||
# Also works around softlock in GOW:GOS , see #8299
|
||||
# GOW : Ghost of Sparta
|
||||
UCUS98737 = true
|
||||
UCAS40323 = true
|
||||
@@ -839,8 +838,8 @@ UCUS98705 = true
|
||||
UCED00971 = true
|
||||
UCUS98713 = true
|
||||
|
||||
[Fixed30FPShack]
|
||||
# As the 60 fps version, but makes the GOW run on a potato,
|
||||
[GoWFramerateHack30]
|
||||
# As the 60 fps version, but makes GOW games run on a potato,
|
||||
# Doesn't suffer from softlock #8299
|
||||
# disabled by default since most people wouldn't need it
|
||||
# GOW : Ghost of Sparta
|
||||
|
||||
Reference in new issue
Block a user