mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
fixed ramsize in preferences editor
This commit is contained in:
parent
700b57d758
commit
63fa75adf0
@ -143,8 +143,10 @@ static NSString *getStringFromPrefs(const char *key)
|
||||
[romFile setStringValue: getStringFromPrefs("rom") ];
|
||||
[unixRoot setStringValue: getStringFromPrefs("extfs") ];
|
||||
[disableCdrom setIntValue: PrefsFindBool("nocdrom") ];
|
||||
[ramSize setIntValue: PrefsFindInt32("ramsize") / (1024*1024) ];
|
||||
[ramSizeStepper setIntValue: PrefsFindInt32("ramsize") / (1024*1024) ];
|
||||
int ramsize = PrefsFindInt32("ramsize");
|
||||
if (ramsize > 1000) ramsize >>= 20;
|
||||
[ramSize setIntValue: ramsize ];
|
||||
[ramSizeStepper setIntValue: ramsize ];
|
||||
|
||||
int display_type = 0;
|
||||
int dis_width = 640;
|
||||
|
Loading…
Reference in New Issue
Block a user