mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 03:47:51 +00:00
added core initialization to app entry point
This commit is contained in:
parent
a658419946
commit
9a248afb5a
1 changed files with 3 additions and 5 deletions
|
@ -26,9 +26,7 @@
|
||||||
#include "log_manager.h"
|
#include "log_manager.h"
|
||||||
#include "file_util.h"
|
#include "file_util.h"
|
||||||
|
|
||||||
//#if EMU_PLATFORM == PLATFORM_LINUX
|
#include "core.h"
|
||||||
//#include <unistd.h>
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
#include "emu_window/emu_window_glfw.h"
|
#include "emu_window/emu_window_glfw.h"
|
||||||
|
|
||||||
|
@ -46,9 +44,9 @@ int __cdecl main(int argc, char **argv) {
|
||||||
|
|
||||||
LogManager::Init();
|
LogManager::Init();
|
||||||
|
|
||||||
NOTICE_LOG(ARM11, "Test\n");
|
EmuWindow_GLFW* emu_window = new EmuWindow_GLFW;
|
||||||
|
|
||||||
//EmuWindow_GLFW* emu_window = new EmuWindow_GLFW;
|
Core::Init(emu_window);
|
||||||
|
|
||||||
//if (E_OK != core::Init(emu_window)) {
|
//if (E_OK != core::Init(emu_window)) {
|
||||||
// LOG_ERROR(TMASTER, "core initialization failed, exiting...");
|
// LOG_ERROR(TMASTER, "core initialization failed, exiting...");
|
||||||
|
|
Loading…
Reference in a new issue