dsemu.cpp
来自「一个任天堂掌上游戏机NDS的源代码」· C++ 代码 · 共 43 行
CPP
43 行
/*************************************************************************** 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 + =
减小字号Ctrl + -
显示快捷键?