mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Add an escape route from DisableHLE for headless (testing).
May later be turned into developer settings, too.
This commit is contained in:
1 parent
96275ec844
commit
740f885277
3 files changed
+5
No files matched your search
@@ -140,6 +140,7 @@ public:
|
||||
int iAskForExitConfirmationAfterSeconds;
|
||||
int iUIScaleFactor; // In 8ths of powers of two.
|
||||
int iDisableHLE;
|
||||
int iForceEnableHLE; // This is the opposite of DisableHLE but can force on HLE even when we've made it permanently off. Only used in tests, not hooked up to the ini file yet.
|
||||
|
||||
int iScreenRotation; // The rotation angle of the PPSSPP UI. Only supported on Android and possibly other mobile platforms.
|
||||
int iInternalScreenRotation; // The internal screen rotation angle. Useful for vertical SHMUPs and similar.
|
||||
|
||||
@@ -201,6 +201,8 @@ static DisableHLEFlags GetDisableHLEFlags() {
|
||||
if (PSP_CoreParameter().compat.flags().DisableHLESceFont) {
|
||||
flags |= DisableHLEFlags::sceFont;
|
||||
}
|
||||
|
||||
flags &= ~(DisableHLEFlags)g_Config.iForceEnableHLE;
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
|
||||
// Headless version of PPSSPP, for testing using http://code.google.com/p/pspautotests/ .
|
||||
// See headless.txt.
|
||||
// To build on non-windows systems, just run CMake in the SDL directory, it will build both a normal ppsspp and the headless version.
|
||||
@@ -537,6 +538,7 @@ int main(int argc, const char* argv[])
|
||||
g_Config.iReverbVolume = VOLUMEHI_FULL;
|
||||
g_Config.internalDataDirectory.clear();
|
||||
g_Config.bUseOldAtrac = oldAtrac;
|
||||
g_Config.iForceEnableHLE = 0xFFFFFFFF; // Run all modules as HLE. We don't have anything to load in this context.
|
||||
|
||||
Path exePath = File::GetExeDirectory();
|
||||
g_Config.flash0Directory = exePath / "assets/flash0";
|
||||
|
||||
Reference in new issue
Block a user