mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Minor fix disable G3D log
This commit is contained in:
parent
5ca532646c
commit
dde889d2e3
3 changed files with 8 additions and 0 deletions
|
@ -45,6 +45,7 @@ struct CoreParameter
|
|||
std::string mountIso; // If non-empty, and fileToStart is an ELF or PBP, will mount this ISO in the background.
|
||||
|
||||
bool startPaused;
|
||||
bool disableG3Dlog;
|
||||
bool enableDebugging; // enables breakpoints and other time-consuming debugger features
|
||||
bool printfEmuLog; // writes "emulator:" logging to stdout
|
||||
bool headLess; // Try to avoid messageboxes etc
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
#include "FileSystems/MetaFileSystem.h"
|
||||
#include "Loaders.h"
|
||||
#include "ELF/ParamSFO.h"
|
||||
#include "../Common/LogManager.h"
|
||||
|
||||
MetaFileSystem pspFileSystem;
|
||||
ParamSFOData g_paramSFO;
|
||||
|
@ -59,6 +60,11 @@ bool PSP_Init(const CoreParameter &coreParam, std::string *error_string)
|
|||
host->InitSound(mixer);
|
||||
}
|
||||
|
||||
if (coreParameter.disableG3Dlog)
|
||||
{
|
||||
LogManager::GetInstance()->SetEnable(LogTypes::G3D, false);
|
||||
}
|
||||
|
||||
// Init all the HLE modules
|
||||
HLEInit();
|
||||
|
||||
|
|
|
@ -79,6 +79,7 @@ DWORD TheThread(LPVOID x)
|
|||
coreParameter.pixelWidth = 480 * g_Config.iWindowZoom;
|
||||
coreParameter.pixelHeight = 272 * g_Config.iWindowZoom;
|
||||
coreParameter.startPaused = !g_Config.bAutoRun;
|
||||
coreParameter.disableG3Dlog = g_Config.bDisableG3DLog;
|
||||
coreParameter.useMediaEngine = false;
|
||||
|
||||
std::string error_string;
|
||||
|
|
Loading…
Add table
Reference in a new issue