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

Function DEV9open

pcsx2/DEV9/DEV9.cpp:182–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182s32 DEV9open()
183{
184 DevCon.WriteLn("DEV9: DEV9open");
185
186 std::string hddPath(GetHDDPath());
187
188 if (EmuConfig.DEV9.HddEnable)
189 {
190 if (dev9.ata->Open(hddPath) != 0)
191 EmuConfig.DEV9.HddEnable = false;
192 }
193
194 if (EmuConfig.DEV9.EthEnable)
195 InitNet();
196
197 isRunning = true;
198 return 0;
199}
200
201void DEV9close()
202{

Callers 1

InitializeMethod · 0.85

Calls 4

GetHDDPathFunction · 0.85
InitNetFunction · 0.85
WriteLnMethod · 0.45
OpenMethod · 0.45

Tested by

no test coverage detected