CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!
Path: blob/master/Core/CoreParameter.h
Views: 1401
// Copyright (c) 2012- PPSSPP Project.12// This program is free software: you can redistribute it and/or modify3// it under the terms of the GNU General Public License as published by4// the Free Software Foundation, version 2.0 or later versions.56// This program is distributed in the hope that it will be useful,7// but WITHOUT ANY WARRANTY; without even the implied warranty of8// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9// GNU General Public License 2.0 for more details.1011// A copy of the GPL 2.0 should have been included with the program.12// If not, see http://www.gnu.org/licenses/1314// Official git repository and contact information can be found at15// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.1617#pragma once1819#include <string>2021#include "Common/File/Path.h"22#include "Core/Compatibility.h"2324enum GPUCore {25GPUCORE_GLES,26GPUCORE_SOFTWARE,27GPUCORE_DIRECTX9,28GPUCORE_DIRECTX11,29GPUCORE_VULKAN,30};3132enum class FPSLimit {33NORMAL = 0,34CUSTOM1 = 1,35CUSTOM2 = 2,36ANALOG = 3,37};3839class FileLoader;4041class GraphicsContext;42namespace Draw {43class DrawContext;44}4546enum class CPUCore;4748// PSP_CoreParameter()49struct CoreParameter {50CoreParameter() {}5152CPUCore cpuCore;53GPUCore gpuCore;5455GraphicsContext *graphicsContext = nullptr; // TODO: Find a better place.56bool enableSound; // there aren't multiple sound cores.5758Path fileToStart;59Path mountIso; // If non-empty, and fileToStart is an ELF or PBP, will mount this ISO in the background to umd1:.60Path mountRoot; // If non-empty, and fileToStart is an ELF or PBP, mount this as host0: / umd0:.61std::string errorString;6263bool startBreak;64std::string *collectDebugOutput = nullptr;65bool headLess; // Try to avoid messageboxes etc6667// Internal PSP rendering resolution and scale factor.68int renderScaleFactor = 1;69int renderWidth;70int renderHeight;7172// Actual output resolution in pixels.73int pixelWidth;74int pixelHeight;7576// Can be modified at runtime.77bool fastForward = false;78FPSLimit fpsLimit = FPSLimit::NORMAL;79int analogFpsLimit = 0;8081bool updateRecent = true;8283// Freeze-frame. For nvidia perfhud profiling. Developers only.84bool freezeNext = false;85bool frozen = false;8687FileLoader *mountIsoLoader = nullptr;8889Compatibility compat;90};919293