Add 1GB item to GUI

This commit is contained in:
gbeauche 2006-05-14 16:14:29 +00:00
parent ab1565ced2
commit c512377a12
3 changed files with 4 additions and 1 deletions

View File

@ -1295,9 +1295,10 @@ static void create_memory_pane(GtkWidget *top)
STR_RAMSIZE_128MB_LAB,
STR_RAMSIZE_256MB_LAB,
STR_RAMSIZE_512MB_LAB,
STR_RAMSIZE_1024MB_LAB,
0
};
char default_ramsize[10];
char default_ramsize[16];
sprintf(default_ramsize, "%d", PrefsFindInt32("ramsize") >> 20);
w_ramsize = table_make_combobox(table, 0, STR_RAMSIZE_CTRL, default_ramsize, options);

View File

@ -151,6 +151,7 @@ enum {
STR_RAMSIZE_128MB_LAB,
STR_RAMSIZE_256MB_LAB,
STR_RAMSIZE_512MB_LAB,
STR_RAMSIZE_1024MB_LAB,
STR_RAMSIZE_SLIDER,
STR_RAMSIZE_FMT,
STR_IGNORESEGV_CTRL,

View File

@ -159,6 +159,7 @@ user_string_def common_strings[] = {
{STR_RAMSIZE_128MB_LAB, "128"},
{STR_RAMSIZE_256MB_LAB, "256"},
{STR_RAMSIZE_512MB_LAB, "512"},
{STR_RAMSIZE_1024MB_LAB, "1024"},
{STR_RAMSIZE_SLIDER, "MacOS RAM Size:"},
{STR_RAMSIZE_FMT, "%d MB"},
{STR_IGNORESEGV_CTRL, "Ignore Illegal Memory Accesses"},