mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2024-11-25 03:56:55 +01:00
New menus (looks - nothing implemented)
This commit is contained in:
parent
e54381a9bf
commit
c146a7cbd0
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include "sysconfig.h"
|
#include "sysconfig.h"
|
||||||
#include "sysdeps.h"
|
#include "sysdeps.h"
|
||||||
|
#include "savestate.h"
|
||||||
|
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
@ -21,14 +22,22 @@ static const char *main_menu_messages[] = {
|
|||||||
/*03*/ "^|Load|Save|Delete",
|
/*03*/ "^|Load|Save|Delete",
|
||||||
/*04*/ "#1-------------------------------------",
|
/*04*/ "#1-------------------------------------",
|
||||||
/*05*/ "Reset UAE",
|
/*05*/ "Reset UAE",
|
||||||
/*06*/ "Memory options",
|
/*06*/ "Amiga model",
|
||||||
/*07*/ "CPU/Chipset options",
|
/*07*/ "Options",
|
||||||
/*08*/ "Other options",
|
/*08*/ "Advanced options",
|
||||||
/*09*/ "Help",
|
/*09*/ "Help",
|
||||||
/*10*/ "Quit",
|
/*10*/ "Quit",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const char *amiga_model_messages[] = {
|
||||||
|
/*00*/ "Amiga model",
|
||||||
|
/*01*/ "^|A500|A500(max mem)|A1200|Custom",
|
||||||
|
/*02*/ "Emulation accuracy",
|
||||||
|
/*03*/ "^|Fast|Accurate",
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
static const char *memory_messages[] = {
|
static const char *memory_messages[] = {
|
||||||
/*00*/ "Chip mem",
|
/*00*/ "Chip mem",
|
||||||
/*01*/ "^|512K|1M|2M|4M|8M",
|
/*01*/ "^|512K|1M|2M|4M|8M",
|
||||||
@ -216,10 +225,22 @@ static void cpu_options(void)
|
|||||||
prefs_has_changed = 1;
|
prefs_has_changed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void other_options(void)
|
static void general_options(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void amiga_model_options(void)
|
||||||
|
{
|
||||||
|
int submenus[2];
|
||||||
|
int opt;
|
||||||
|
|
||||||
|
memset(submenus, 0, sizeof(submenus));
|
||||||
|
opt = menu_select_title("Amiga model menu",
|
||||||
|
amiga_model_messages, submenus);
|
||||||
|
if (opt < 0)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
static void save_load_state(int which)
|
static void save_load_state(int which)
|
||||||
{
|
{
|
||||||
const char *dir = prefs_get_attr("savestate_path");
|
const char *dir = prefs_get_attr("savestate_path");
|
||||||
@ -283,13 +304,13 @@ void gui_display(int shortcut)
|
|||||||
uae_reset(1);
|
uae_reset(1);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
memory_options();
|
amiga_model_options();
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
cpu_options();
|
general_options();
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
other_options();
|
//other_options();
|
||||||
break;
|
break;
|
||||||
case 10:
|
case 10:
|
||||||
uae_quit();
|
uae_quit();
|
||||||
|
Loading…
Reference in New Issue
Block a user