Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 169780 Details for
Bug 192370
fakenes-0.5.9_beta3.ebuild (Update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add "-nogui" commandline parameter
fakenes-0.5.9_beta3-nogui.patch (text/plain), 960 bytes, created by
Jeff Simpson
on 2008-10-25 06:15:10 UTC
(
hide
)
Description:
add "-nogui" commandline parameter
Filename:
MIME Type:
Creator:
Jeff Simpson
Created:
2008-10-25 06:15:10 UTC
Size:
960 bytes
patch
obsolete
>--- src/main.c 2008-10-25 02:02:09.000000000 -0400 >+++ src.new/main.c 2008-10-25 02:04:46.000000000 -0400 >@@ -137,8 +137,10 @@ > int main (int argc, char *argv[]) > { > int result; >+ int argument; > BOOL want_exit = FALSE; > BOOL enter_gui = TRUE; >+ BOOL no_gui = FALSE; > > /* Clear the console. */ > console_clear (); >@@ -184,7 +186,15 @@ > > if (argc >= 2) > { >- if (load_rom (argv[1], &global_rom) != 0) >+ for (argument = 0; argument < argc; argument++) >+ { >+ if (!strcmp(argv[argument], "-nogui")) >+ { >+ printf("No Gui!\n"); >+ no_gui = TRUE; >+ } >+ } >+ if (load_rom (argv[argc-1], &global_rom) != 0) > { > WARN("Failed to load ROM (bad format?)"); > >@@ -264,7 +274,8 @@ > { > if (enter_gui) > { >- want_exit = show_gui (first_run); >+ if (no_gui) { want_exit = TRUE; } >+ else { want_exit = show_gui (first_run); } > > if (first_run) > first_run = FALSE;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192370
:
130775
|
169778
| 169780 |
169782