MCPcopy Create free account
hub / github.com/TASEmulators/fceux / loadMostRecentROM

Method loadMostRecentROM

src/drivers/Qt/ConsoleWindow.cpp:4505–4515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4503}
4504
4505void consoleWin_t::loadMostRecentROM(void)
4506{
4507 if ( romList.size() <= 0 )
4508 {
4509 return;
4510 }
4511 FCEU_WRAPPER_LOCK();
4512 CloseGame ();
4513 LoadGame ( (romList.back())->c_str() );
4514 FCEU_WRAPPER_UNLOCK();
4515}
4516
4517int consoleWin_t::getPeriodicInterval(void)
4518{

Callers

nothing calls this directly

Calls 3

CloseGameFunction · 0.70
LoadGameFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected