}
return 1;
}
- if (i > 0)
+ if (i > 0) {
_stprintf(tmp, _T("gfxcard%d_type"), i + 1);
- else
+ } else {
_tcscpy(tmp, _T("gfxcard_type"));
+ }
if (cfgfile_string(option, value, tmp, tmpbuf, sizeof tmpbuf / sizeof(TCHAR))) {
rbc->rtgmem_type = 0;
rbc->rtg_index = i;
p->bogomem.chipramtiming = true;
for (int i = 0; i < MAX_RTG_BOARDS; i++) {
p->rtgboards[i].rtg_index = i;
+ p->rtgboards[i].autoswitch = true;
}
p->rtgboards[0].rtgmem_size = 0x00000000;
p->rtgboards[0].rtgmem_type = GFXBOARD_UAE_Z3;