mirror of https://github.com/PCSX2/pcsx2.git
DEV9: Remove old settings/log directory functions
This commit is contained in:
parent
5d2bcfaa38
commit
6df50992c4
|
@ -89,9 +89,6 @@ int hEeprom;
|
||||||
int mapping;
|
int mapping;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
std::string s_strIniPath = "inis";
|
|
||||||
std::string s_strLogPath = "logs";
|
|
||||||
|
|
||||||
bool isRunning = false;
|
bool isRunning = false;
|
||||||
|
|
||||||
fs::path GetHDDPath()
|
fs::path GetHDDPath()
|
||||||
|
@ -1065,21 +1062,6 @@ void DEV9async(u32 cycles)
|
||||||
dev9.ata->Async(cycles);
|
dev9.ata->Async(cycles);
|
||||||
}
|
}
|
||||||
|
|
||||||
// extended funcs
|
|
||||||
|
|
||||||
void DEV9setSettingsDir(const char* dir)
|
|
||||||
{
|
|
||||||
// Grab the ini directory.
|
|
||||||
// TODO: Use
|
|
||||||
s_strIniPath = (dir == NULL) ? "inis" : dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DEV9setLogDir(const char* dir)
|
|
||||||
{
|
|
||||||
// Get the path to the log directory.
|
|
||||||
s_strLogPath = (dir == NULL) ? "logs" : dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ApplyConfigIfRunning(ConfigDEV9 oldConfig)
|
void ApplyConfigIfRunning(ConfigDEV9 oldConfig)
|
||||||
{
|
{
|
||||||
if (!isRunning)
|
if (!isRunning)
|
||||||
|
|
|
@ -156,10 +156,6 @@ EXTERN dev9Struct dev9;
|
||||||
|
|
||||||
EXTERN int ThreadRun;
|
EXTERN int ThreadRun;
|
||||||
|
|
||||||
//Yes these are meant to be a lowercase extern
|
|
||||||
extern std::string s_strIniPath;
|
|
||||||
extern std::string s_strLogPath;
|
|
||||||
|
|
||||||
#define DEV9_R_REV 0x1f80146e
|
#define DEV9_R_REV 0x1f80146e
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue