mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-19 07:04:45 +00:00
Add config setting
This commit is contained in:
parent
54f5405b4f
commit
2dfa63bb1c
@ -239,6 +239,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename)
|
||||
debugConfig->Get("FontWidth", &iFontWidth, 8);
|
||||
debugConfig->Get("FontHeight", &iFontHeight, 12);
|
||||
debugConfig->Get("DisplayStatusBar", &bDisplayStatusBar, true);
|
||||
debugConfig->Get("ShowBottomTabTitles",&bShowBottomTabTitles,true);
|
||||
debugConfig->Get("ShowDeveloperMenu", &bShowDeveloperMenu, false);
|
||||
|
||||
IniFile::Section *gleshacks = iniFile.GetOrCreateSection("GLESHacks");
|
||||
@ -395,6 +396,7 @@ void Config::Save() {
|
||||
debugConfig->Set("FontWidth", iFontWidth);
|
||||
debugConfig->Set("FontHeight", iFontHeight);
|
||||
debugConfig->Set("DisplayStatusBar", bDisplayStatusBar);
|
||||
debugConfig->Set("ShowBottomTabTitles",bShowBottomTabTitles);
|
||||
debugConfig->Set("ShowDeveloperMenu", bShowDeveloperMenu);
|
||||
|
||||
if (!iniFile.Save(iniFilename_.c_str())) {
|
||||
|
@ -166,6 +166,7 @@ public:
|
||||
int iFontWidth;
|
||||
int iFontHeight;
|
||||
bool bDisplayStatusBar;
|
||||
bool bShowBottomTabTitles;
|
||||
bool bShowDeveloperMenu;
|
||||
|
||||
std::string currentDirectory;
|
||||
|
@ -135,6 +135,7 @@ CDisasm::CDisasm(HINSTANCE _hInstance, HWND _hParent, DebugInterface *_cpu) : Di
|
||||
stackTraceView->loadStackTrace();
|
||||
bottomTabs->AddTab(stackTraceView->GetHandle(),L"Stack frames");
|
||||
|
||||
bottomTabs->SetShowTabTitles(g_Config.bShowBottomTabTitles);
|
||||
bottomTabs->ShowTab(memHandle);
|
||||
|
||||
// init status bar
|
||||
|
Loading…
x
Reference in New Issue
Block a user