MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetHDDPath

Function GetHDDPath

pcsx2/DEV9/DEV9.cpp:83–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81bool isRunning = false;
82
83std::string GetHDDPath()
84{
85 //GHC uses UTF8 on all platforms
86 std::string hddPath(EmuConfig.DEV9.HddFile);
87
88 if (hddPath.empty())
89 EmuConfig.DEV9.HddEnable = false;
90
91 if (!Path::IsAbsolute(hddPath))
92 hddPath = Path::Combine(EmuFolders::Settings, hddPath);
93
94 return hddPath;
95}
96
97s32 DEV9init()
98{

Callers 2

DEV9openFunction · 0.85
DEV9CheckChangesFunction · 0.85

Calls 2

CombineFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected