Get rid of game_id

This commit is contained in:
mkrsym1
2023-08-04 23:00:42 +03:00
parent 400729a3dc
commit 6b9f9b6d93
4 changed files with 14 additions and 55 deletions

View File

@ -2,26 +2,11 @@
#include <windows.h>
enum game_id {
GAME_INVALID,
GAME_HI3_GLB,
GAME_HI3_SEA,
GAME_HI3_CN,
GAME_HI3_TW,
GAME_HI3_KR,
GAME_HI3_JP,
GAME_HSR_OS,
GAME_HSR_CN
};
#define INVOKE_CALLBACK(callback, ...) if (callback) { callback(__VA_ARGS__); }
typedef void (*unityplayer_callback_t)(HMODULE unityModule);
struct game_data {
enum game_id id; // Temporary
const char *base_module_name;
const char *assembly_name;
const char *txs_section_name;