[uae] Re: Preventing the GUI window from popping up after closing the e-uae game window

  • From: Gary <gdanko@xxxxxxxxx>
  • To: uae@xxxxxxxxxxxxx
  • Date: Sat, 12 Jun 2010 21:33:07 -0700 (PDT)

Works either way.
I have tried it with the gui enabled or disabled. If the gui is enabled and I 
launch with my new binary, the GUI will appear which is okay. But when I close 
the window the gui exits as well.




________________________________
From: jaminJay <jaminjay@xxxxxxxxx>
To: uae@xxxxxxxxxxxxx
Sent: Sat, June 12, 2010 8:54:28 PM
Subject: [uae] Re: Preventing the GUI window from popping up after closing  the 
e-uae game window

Conditional on use_gui being false?



On Sun, Jun 13, 2010 at 13:35, Gary <gdanko@xxxxxxxxx> wrote:

On line 928 of main.c I changed:
>restart_program = 3; 
>
>
>to
>
>
>uae_quit ();
>
>
>That seems to have done the trick.
>
>
>
________________________________
From: Antonio Orefice <aorefice77@xxxxxxxxx>
>To: uae@xxxxxxxxxxxxx
>Sent: Sat, June 12, 2010 10:01:37 AM
>Subject: [uae] Re: Preventing the GUI window from popping up
> after closing  the e-uae game window
>
>>Wops, you're right.
>Still i'm almost sure it did the trick just before i posted (!?)
>
>
>
>2010/6/12 Gary Danko <gdanko@xxxxxxxxx>
>
>That doesn't do it. The GUI appears once I close the UAE window.
>>>>
>>
>>
>>On Jun 12, 2010, at 12:24 AM, Antonio Orefice <aorefice77@xxxxxxxxx> wrote:
>>
>>
>>>>
>>just using "-s use_gui=false" should be enough
>>>
>>>
>>>
>>>
>>>2010/6/12 Gary <gdanko@xxxxxxxxx>
>>>
>>>>>>>
>>>>I have e-uae built on Ubuntu Lucid 64 bit. I can launch a game with 
>>>>something like:
>>>>
>>>>>>>>uae -f /path/to/uaerc -r /path/to/rom -s floppy0=/path/to/adf
>>>>
>>>>>>>>I have in the uaerc file the switch to disable the GUI. The game comes 
>>>>>>>>up in a window, I play it, have fun, etc. When I am finished with my 
>>>>>>>>game and close it out, the GTK configuration GUI comes up.
>>>>
>>>>>>>>I'd like to build a version of e-uae that inhibits this behavior. I'm 
>>>>>>>>sure it's as simple as looking through the source and finding the 
>>>>>>>>routine that handles the closing of that window. I am sure a call to 
>>>>>>>>open the GUI is in there somewhere... but where? Can someone point me 
>>>>>>>>in the right direction?
>>>>
>>>>>>>>Thanks!
>>>>
>>>>>>>>_______________________________________________
>>>>>>>>UAE mailing list
>>>>//www.freelists.org/list/uae
>>>>
>>>>
>>>
>

Other related posts: