[mednaffe] 24/99: Fix 'mednafen-09x.conf' generation on Windows
Stephen Kitt
skitt at moszumanska.debian.org
Tue Aug 2 21:00:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch master
in repository mednaffe.
commit fee1c1311b743f085d56f6e8c99321fb57d8ed51
Author: amatcoder at gmail.com <amatcoder at gmail.com@44025b82-9115-564b-7d03-7f3fc60b4744>
Date: Wed Nov 27 16:15:49 2013 +0000
Fix 'mednafen-09x.conf' generation on Windows
---
src/mednaffe.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/mednaffe.c b/src/mednaffe.c
index 5cf0c16..cfd1b69 100644
--- a/src/mednaffe.c
+++ b/src/mednaffe.c
@@ -523,10 +523,7 @@ int main(int argc, char **argv)
if (!cfg_path)
{
#ifdef G_OS_WIN32
- gchar *wincommand[2] = {gui.binpath, NULL};
- g_spawn_sync( NULL, wincommand, NULL,
- G_SPAWN_STDOUT_TO_DEV_NULL, NULL,
- NULL, NULL, NULL, NULL, NULL );
+ system(gui.binpath);
Sleep(1000); /* race condition? */
#else
g_spawn_command_line_sync(gui.binpath, NULL, NULL, NULL, NULL);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mednaffe.git
More information about the Pkg-games-commits
mailing list