mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Set Auto rotation to default, move more settings around.
This commit is contained in:
1 parent
3eaae508da
commit
3aec770b22
7 files changed
+145
-132
No files matched your search
@@ -40,7 +40,6 @@
|
||||
#include "Common/UI/View.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/ConfigValues.h"
|
||||
#include "Core/HLE/sceUsbCam.h"
|
||||
#include "Core/HLE/sceUtility.h"
|
||||
#include "Core/Reporting.h"
|
||||
#include "Core/System.h"
|
||||
@@ -270,39 +269,16 @@ void BuildSystemSettings(SettingsPage *page, SystemPageState *state) {
|
||||
});
|
||||
page->Setting(&g_Config.bIgnoreBadMemAccess);
|
||||
|
||||
if (System_GetPropertyBool(SYSPROP_ENOUGH_RAM_FOR_FULL_ISO)) {
|
||||
page->Setting(&g_Config.bCacheFullIsoInRam).EnabledFunc([] {
|
||||
return !PSP_IsInited();
|
||||
});
|
||||
}
|
||||
|
||||
page->Setting(&g_Config.iIOTimingMethod);
|
||||
page->Setting(&g_Config.bForceLagSync).Disabled(&g_Config.bAutoFrameSkip);
|
||||
page->Setting(&g_Config.iLockedCPUSpeed);
|
||||
|
||||
page->Header({ I18NCat::SAVEDATA, "Save states" }); // Borrow this string from the savedata manager
|
||||
|
||||
page->Setting(&g_Config.bEnableStateUndo);
|
||||
page->Setting(&g_Config.bConfirmLoadState);
|
||||
|
||||
page->Setting(&g_Config.iSaveStateSlotCount);
|
||||
|
||||
// NOTE: We will soon support more states, but we'll keep this niche feature limited to the first five.
|
||||
page->Setting(&g_Config.iAutoLoadSaveState).Setup([](View *view) {
|
||||
if (g_Config.iAutoLoadSaveState != 1) {
|
||||
static_cast<PopupMultiChoice *>(view)->HideChoice(1); // Hide "Oldest Save" if not using that mode. It doesn't make sense.
|
||||
}
|
||||
});
|
||||
|
||||
page->Setting(&g_Config.iRewindSnapshotInterval);
|
||||
|
||||
std::vector<std::string> cameraList = Camera::getDeviceList();
|
||||
if (cameraList.size() >= 1) {
|
||||
page->Header({ I18NCat::GRAPHICS, "Camera" });
|
||||
page->Setting(&g_Config.sCameraDevice, std::move(cameraList));
|
||||
#if PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP)
|
||||
page->Setting(&g_Config.bCameraMirrorHorizontal);
|
||||
#endif
|
||||
}
|
||||
|
||||
page->Header("Cheats");
|
||||
page->Setting(&g_Config.bEnableCheats);
|
||||
page->Setting(&g_Config.bEnablePlugins);
|
||||
|
||||
#if defined(_WIN32)
|
||||
page->Header("Recording");
|
||||
page->Setting(&g_Config.bDumpFrames);
|
||||
|
||||
Reference in new issue
Block a user