📄 dsemu.cpp
字号:
/*************************************************************************** DSemu - The Next Generation ** Application entry point [dsemu.cpp] ** Copyright Imran Nazar, 2005; released under the BSD public licence. ***************************************************************************/#include "w32compile.h"#include "log.h"#include "err.h"#include "plugin.h"#include "plggui.h"// All the entry point does is load and call the GUI, and act as a// top-level receptacle for exceptions.#ifdef WIN32int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmd, int nShow)#elseint main()#endif { Logger::clean(); Logger::log("Main") << "Session started."; try { GUIPlugin *gui; gui = (GUIPlugin*)PluginRequest("UI"); gui->run(); PluginUnrequest("UI", 1); } catch(Exception &e) { e.Report(); return 1; } Logger::log("Main") << "Session ended.\n"; return 0;}/*** EOF: dsemu.cpp ******************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -