for(int i = 0; i < sizeof(myROM)/4; i++) {
for(unsigned int i = 0; i < sizeof(myROM)/4; i++) {
void CPUInit(const char *biosFileName, bool useBiosFile){#ifdef WORDS_BIGENDIAN  if(!cpuBiosSwapped) {    for(int i = 0; i < sizeof(myROM)/4; i++) {      WRITE32LE(&myROM[i], myROM[i]);    }    cpuBiosSwapped = true;  }#endif  gbaSaveType = 0;  eepromInUse = 0;  saveType = 0;  useBios = false;    if(useBiosFile) {    int size = 0x4000;    if(utilLoad(biosFileName,                CPUIsGBABios,                bios,                size)) {      if(size == 0x4000)        useBios = true;      else        systemMessage(MSG_INVALID_BIOS_FILE_SIZE, "Invalid BIOS file size");    }  }    if(!useBios) {    memcpy(bios, myROM, sizeof(myROM));  }  int i = 0;  biosProtected[0] = 0x00;  biosProtected[1] = 0xf0;  biosProtected[2] = 0x29;  biosProtected[3] = 0xe1;  for(i = 0; i < 256; i++) {    int count = 0;    int j;    for(j = 0; j < 8; j++)      if(i & (1 << j))        count++;    cpuBitsSet[i] = count;        for(j = 0; j < 8; j++)      if(i & (1 << j))        break;    cpuLowestBitSet[i] = j;  }  for(i = 0; i < 0x400; i++)    ioReadable[i] = true;  for(i = 0x10; i < 0x48; i++)    ioReadable[i] = false;  for(i = 0x4c; i < 0x50; i++)    ioReadable[i] = false;  for(i = 0x54; i < 0x60; i++)    ioReadable[i] = false;  for(i = 0x8c; i < 0x90; i++)    ioReadable[i] = false;  for(i = 0xa0; i < 0xb8; i++)    ioReadable[i] = false;  for(i = 0xbc; i < 0xc4; i++)    ioReadable[i] = false;  for(i = 0xc8; i < 0xd0; i++)    ioReadable[i] = false;  for(i = 0xd4; i < 0xdc; i++)    ioReadable[i] = false;  for(i = 0xe0; i < 0x100; i++)    ioReadable[i] = false;  for(i = 0x110; i < 0x120; i++)    ioReadable[i] = false;  for(i = 0x12c; i < 0x130; i++)    ioReadable[i] = false;  for(i = 0x138; i < 0x140; i++)    ioReadable[i] = false;  for(i = 0x144; i < 0x150; i++)    ioReadable[i] = false;  for(i = 0x15c; i < 0x200; i++)    ioReadable[i] = false;  for(i = 0x20c; i < 0x300; i++)    ioReadable[i] = false;  for(i = 0x304; i < 0x400; i++)    ioReadable[i] = false;  *((u16 *)&rom[0x1fe209c]) = 0xdffa; // SWI 0xFA  *((u16 *)&rom[0x1fe209e]) = 0x4770; // BX LR}