int fill_sram = 0;\r
\r
memset(&Pico.sv, 0, sizeof(Pico.sv));\r
- if (Pico.rom[0x1B1] == 'R' && Pico.rom[0x1B0] == 'A')\r
+ if (Pico.rom[MEM_BE2(0x1B0)] == 'R' && Pico.rom[MEM_BE2(0x1B1)] == 'A')\r
{\r
Pico.sv.start = rom_read32(0x1B4) & ~0xff000001; // align\r
Pico.sv.end = (rom_read32(0x1B8) & ~0xff000000) | 1;\r
- if (Pico.rom[0x1B2] & 0x40)\r
+ if (Pico.rom[MEM_BE2(0x1B3)] & 0x40)\r
// EEPROM\r
Pico.sv.flags |= SRF_EEPROM;\r
Pico.sv.flags |= SRF_ENABLED;\r