mirror of
https://github.com/libretro/Play-.git
synced 2025-02-24 21:50:58 +00:00
Use defines for memory card path preference names.
This commit is contained in:
parent
7cf7507264
commit
e6fa642913
@ -2,6 +2,7 @@
|
||||
#include <stdio.h>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include "../AppConfig.h"
|
||||
#include "../PS2VM_Preferences.h"
|
||||
#include "../Log.h"
|
||||
#include "Iop_McServ.h"
|
||||
|
||||
@ -12,8 +13,8 @@ namespace filesystem = boost::filesystem;
|
||||
|
||||
const char* CMcServ::m_mcPathPreference[2] =
|
||||
{
|
||||
"ps2.mc0.directory",
|
||||
"ps2.mc1.directory",
|
||||
PREF_PS2_MC0_DIRECTORY,
|
||||
PREF_PS2_MC1_DIRECTORY,
|
||||
};
|
||||
|
||||
CMcServ::CMcServ(CSifMan& sif)
|
||||
|
@ -9,6 +9,7 @@
|
||||
#include "StdStreamUtils.h"
|
||||
#include "McManagerWnd.h"
|
||||
#include "../AppConfig.h"
|
||||
#include "../PS2VM_Preferences.h"
|
||||
#include "../AppDef.h"
|
||||
|
||||
#define CLSNAME _T("CMcManagerWnd")
|
||||
@ -20,8 +21,8 @@ namespace filesystem = boost::filesystem;
|
||||
|
||||
CMcManagerWnd::CMcManagerWnd(HWND hParent)
|
||||
: CModalWindow(hParent)
|
||||
, m_MemoryCard0(CAppConfig::GetInstance().GetPreferenceString("ps2.mc0.directory"))
|
||||
, m_MemoryCard1(CAppConfig::GetInstance().GetPreferenceString("ps2.mc1.directory"))
|
||||
, m_MemoryCard0(CAppConfig::GetInstance().GetPreferenceString(PREF_PS2_MC0_DIRECTORY))
|
||||
, m_MemoryCard1(CAppConfig::GetInstance().GetPreferenceString(PREF_PS2_MC1_DIRECTORY))
|
||||
{
|
||||
m_pImportButton = NULL;
|
||||
m_pCloseButton = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user