DEV9: Remove old settings/log directory functions

This commit is contained in:
TheLastRar 2022-02-07 20:06:17 +00:00 committed by lightningterror
parent 5d2bcfaa38
commit 6df50992c4
2 changed files with 0 additions and 22 deletions

View File

@ -89,9 +89,6 @@ int hEeprom;
int mapping;
#endif
std::string s_strIniPath = "inis";
std::string s_strLogPath = "logs";
bool isRunning = false;
fs::path GetHDDPath()
@ -1065,21 +1062,6 @@ void DEV9async(u32 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)
{
if (!isRunning)

View File

@ -156,10 +156,6 @@ EXTERN dev9Struct dev9;
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