MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / emuLoad

Method emuLoad

gui/qt/mainwindow.cpp:2356–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2354}
2355
2356void MainWindow::emuLoad(emu_data_t type) {
2357 guiEmuValid = false;
2358 QString path;
2359
2360 if (guiReceive) {
2361 varToggle();
2362 }
2363 if (guiDebugBasic) {
2364 debugBasic(false);
2365 }
2366 if (guiDebug) {
2367 debugToggle();
2368 }
2369
2370 switch (type) {
2371 case EMU_DATA_ROM:
2372 path = m_pathRom;
2373 break;
2374 case EMU_DATA_IMAGE:
2375 path = m_pathImage;
2376 break;
2377 case EMU_DATA_RAM:
2378 path = m_pathRam;
2379 break;
2380 }
2381
2382 emu.load(type, path);
2383}
2384
2385void MainWindow::disasmLine() {
2386 bool useLabel = false;

Callers 1

MainWindowMethod · 0.95

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected