From 1792f46b0c7a7b197b82b0e7a262f2a92c920da7 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 12 Apr 2016 04:24:32 -0400 Subject: [PATCH] another out-of-order declaration fixed --- main/win/main_win.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/main/win/main_win.c b/main/win/main_win.c index 32cf0a2..df5bd7c 100755 --- a/main/win/main_win.c +++ b/main/win/main_win.c @@ -454,12 +454,13 @@ void exec_config(char *name) { HMODULE handle; PLUGIN_INFO PluginInfo; - handle = get_handle(liste_plugins, name); int i ; - if (emu_launched&&!emu_paused) { - pauseEmu(); - }; - + + handle = get_handle(liste_plugins, name); + if (emu_launched && !emu_paused) { + pauseEmu(); + }; + if (handle) { getDllInfo = (void(__cdecl*)(PLUGIN_INFO *PluginInfo))GetProcAddress(handle, "GetDllInfo");