mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Prevent config dialog from being opened twice.
Fixed #2158 Project 64 Crashes if you open GlideN64 Video Settings when they are already open.
This commit is contained in:
parent
e676dafb7a
commit
c823047f99
|
@ -11,6 +11,9 @@ Config config;
|
||||||
|
|
||||||
void Config_DoConfig(/*HWND hParent*/)
|
void Config_DoConfig(/*HWND hParent*/)
|
||||||
{
|
{
|
||||||
|
if (ConfigOpen)
|
||||||
|
return;
|
||||||
|
|
||||||
wchar_t strIniFolderPath[PLUGIN_PATH_SIZE];
|
wchar_t strIniFolderPath[PLUGIN_PATH_SIZE];
|
||||||
api().FindPluginPath(strIniFolderPath);
|
api().FindPluginPath(strIniFolderPath);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user