mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-05 06:47:45 -04:00
more Pandora porting work
git-svn-id: file:///home/notaz/opt/svn/PicoDrive/platform@560 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
fe01739339
commit
492d353af9
6 changed files with 1070 additions and 237 deletions
|
@ -18,7 +18,6 @@
|
|||
#include "../gp2x/version.h"
|
||||
|
||||
|
||||
extern char *ext_menu, *ext_state;
|
||||
extern int select_exits;
|
||||
extern char *PicoConfigFile;
|
||||
int mmuhack_status = 0; // TODO rm
|
||||
|
@ -32,13 +31,7 @@ void parse_cmd_line(int argc, char *argv[])
|
|||
{
|
||||
if(argv[x][0] == '-')
|
||||
{
|
||||
if(strcasecmp(argv[x], "-menu") == 0) {
|
||||
if(x+1 < argc) { ++x; ext_menu = argv[x]; } /* External Frontend: Program Name */
|
||||
}
|
||||
else if(strcasecmp(argv[x], "-state") == 0) {
|
||||
if(x+1 < argc) { ++x; ext_state = argv[x]; } /* External Frontend: Arguments */
|
||||
}
|
||||
else if(strcasecmp(argv[x], "-config") == 0) {
|
||||
if(strcasecmp(argv[x], "-config") == 0) {
|
||||
if(x+1 < argc) { ++x; PicoConfigFile = argv[x]; }
|
||||
}
|
||||
else if(strcasecmp(argv[x], "-selectexit") == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue