Increased maximum Z3 RAM to 512 MB #390

This commit is contained in:
Dimitris Panokostas 2019-10-01 19:42:55 +02:00
parent 9deeed16a2
commit 7f11f6dbfa
2 changed files with 5 additions and 5 deletions

View file

@ -21,7 +21,7 @@ uae_u32 max_z3fastmem;
static uae_u8* additional_mem = static_cast<uae_u8*>(MAP_FAILED);
#define MAX_RTG_MEM 128
#define ADDITIONAL_MEMSIZE ((256 + MAX_RTG_MEM) * 1024 * 1024)
#define ADDITIONAL_MEMSIZE ((512 + MAX_RTG_MEM) * 1024 * 1024)
static uae_u8* a3000_mem = static_cast<uae_u8*>(MAP_FAILED);
static unsigned int a3000_totalsize = 0;

View file

@ -21,9 +21,9 @@ static const char* ChipMem_list[] = { "512 K", "1 MB", "2 MB", "4 MB", "8 MB" };
static unsigned int ChipMem_values[] = { 0x080000, 0x100000, 0x200000, 0x400000, 0x800000 };
static const char* SlowMem_list[] = { "None", "512 K", "1 MB", "1.5 MB", "1.8 MB" };
static unsigned int SlowMem_values[] = { 0x000000, 0x080000, 0x100000, 0x180000, 0x1c0000 };
static const char* FastMem_list[] = { "None", "1 MB", "2 MB", "4 MB", "8 MB", "16 MB", "32 MB", "64 MB", "128 MB" };
static const char* FastMem_list[] = { "None", "1 MB", "2 MB", "4 MB", "8 MB", "16 MB", "32 MB", "64 MB", "128 MB", "256 MB", "512 MB" };
static unsigned int FastMem_values[] = {
0x000000, 0x100000, 0x200000, 0x400000, 0x800000, 0x1000000, 0x2000000, 0x4000000, 0x8000000
0x000000, 0x100000, 0x200000, 0x400000, 0x800000, 0x1000000, 0x2000000, 0x4000000, 0x8000000, 0x10000000, 0x20000000
};
static const char* A3000LowMem_list[] = { "None", "8 MB", "16 MB" };
static unsigned int A3000LowMem_values[] = { 0x080000, 0x800000, 0x1000000 };
@ -156,7 +156,7 @@ void InitPanelRAM(const struct _ConfigCategory& category)
lblFastsize = new gcn::Label("None ");
lblZ3mem = new gcn::Label("Z3 fast:");
sldZ3mem = new gcn::Slider(0, 8);
sldZ3mem = new gcn::Slider(0, 10);
sldZ3mem->setSize(sldWidth, SLIDER_HEIGHT);
sldZ3mem->setBaseColor(gui_baseCol);
sldZ3mem->setMarkerLength(markerLength);
@ -306,7 +306,7 @@ void RefreshPanelRAM()
}
}
for (i = 0; i < 9; ++i)
for (i = 0; i < 11; ++i)
{
if (changed_prefs.z3fastmem[0].size == FastMem_values[i])
{