mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 08:13:34 +01:00
Add HD Remaster support. It's a HUGE hack right now, and needs to be properly rewritten so that allocation and stuff work better. This is based off the work of BlackDaemon, and I added in the auto check to switch the code on/off depending on if the game is a remaster or not. It does not affect or break any games that I know of.
This commit is contained in:
1 parent
c743e02851
commit
f8d309ec99
9 files changed
+111
-4
No files matched your search
+10
-1
@@ -63,9 +63,18 @@ bool Load_PSP_ISO(const char *filename, std::string *error_string)
|
||||
if (g_paramSFO.ReadSFO(paramsfo, (size_t)fileInfo.size))
|
||||
{
|
||||
char title[1024];
|
||||
sprintf(title, "%s : %s", g_paramSFO.GetValueString("DISC_ID").c_str(), g_paramSFO.GetValueString("TITLE").c_str());
|
||||
std::string gameID = g_paramSFO.GetValueString("DISC_ID");
|
||||
sprintf(title, "%s : %s", gameID.c_str(), g_paramSFO.GetValueString("TITLE").c_str());
|
||||
INFO_LOG(LOADER, "%s", title);
|
||||
host->SetWindowTitle(title);
|
||||
g_RemasterMode = false;
|
||||
for(int i = 0; i < REMASTER_COUNT; i++) {
|
||||
if(g_RemastersGameIDs[i] == gameID) {
|
||||
g_RemasterMode = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
DEBUG_LOG(LOADER, "HDRemaster mode is %s", g_RemasterMode? "true": "false");
|
||||
}
|
||||
delete [] paramsfo;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user