MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / System_Open

Function System_Open

Source/System/System.cpp:249–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249bool System_Open(const char * filename)
250{
251 strcpy(g_ROM.mFileName, filename);
252 for(u32 i = 0; i < ARRAYSIZE(gRomInitTable); i++)
253 {
254 const RomEntityEntry & entry = gRomInitTable[i];
255
256 if (entry.open == NULL)
257 continue;
258 #ifdef DAEDALUS_DEBUG_CONSOLE
259 DBGConsole_Msg(0, "==>Open %s", entry.name);
260 #endif
261 if (!entry.open())
262 {
263 #ifdef DAEDALUS_DEBUG_CONSOLE
264 DBGConsole_Msg(0, "==>Open %s [RFAILED]", entry.name);
265 #endif
266 return false;
267 }
268 }
269
270 return true;
271}
272
273void System_Close()
274{

Callers 7

mainFunction · 0.85
OnSavestateSelectedMethod · 0.85
OnStartEmulationMethod · 0.85
mainFunction · 0.85
BatchTestMainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

BatchTestMainFunction · 0.68