Move LoadLibrary call into core
This commit is contained in:
parent
c80635fc71
commit
c17cf00409
Binary file not shown.
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user