Move LoadLibrary call into core

This commit is contained in:
mkrsym1 2023-08-12 02:16:19 +03:00
parent c80635fc71
commit c17cf00409
2 changed files with 0 additions and 6 deletions

Binary file not shown.

View File

@ -51,12 +51,6 @@ static void _run_game(struct game_data *game, wchar_t *txFile) {
}
static void _run_tx(struct game_data *game, wchar_t *txFile) {
// Load unpatched base module
HMODULE baseModule = LoadLibraryA(game->base_module_name);
if (!baseModule) {
msg_err_a("Failed to load base module: %s", game->base_module_name);
}
// ...more magic
size_t tableSize;
void *table = core_perform_tx(game, &tableSize);