2020-09-13 21:32:55 -04:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-22 22:30:12 -04:00
|
|
|
/*!
|
|
|
|
* @file runtime.h
|
|
|
|
* Setup and launcher for the runtime.
|
|
|
|
*/
|
|
|
|
|
2021-03-09 23:51:28 -05:00
|
|
|
#include <thread>
|
2020-08-22 22:30:12 -04:00
|
|
|
|
2022-04-30 14:55:13 -04:00
|
|
|
#include "common/common_types.h"
|
2022-06-26 18:17:11 -04:00
|
|
|
#include "common/versions.h"
|
2022-06-22 23:37:46 -04:00
|
|
|
|
2023-03-09 23:13:01 -05:00
|
|
|
#include "game/common/game_common_types.h"
|
2022-06-26 18:17:11 -04:00
|
|
|
#include "game/kernel/common/kboot.h"
|
2022-04-30 14:55:13 -04:00
|
|
|
|
2020-08-22 22:30:12 -04:00
|
|
|
extern u8* g_ee_main_mem;
|
2022-06-26 18:17:11 -04:00
|
|
|
extern GameVersion g_game_version;
|
2022-04-30 14:55:13 -04:00
|
|
|
|
2023-03-09 23:13:01 -05:00
|
|
|
RuntimeExitStatus exec_runtime(GameLaunchOptions game_options, int argc, char** argv);
|
2020-08-22 22:30:12 -04:00
|
|
|
|
2021-03-09 23:51:28 -05:00
|
|
|
extern std::thread::id g_main_thread_id;
|