static void ms4plus_descramble()
{
unsigned int sec[16]={
0x08, 0x06, 0x04, 0x0c, 0x0a, 0x01, 0x0e, 0x02,
0x0d, 0x05, 0x09, 0x0f, 0x0b, 0x03, 0x07, 0x00
};
unsigned char *dst = (unsigned char*)malloc(0x100000);
if (dst)
{
memcpy(dst, Neo68KROM, 0x100000);
for(int i = 0; i < 16; i++)
{
memcpy(Neo68KROM + i * 0x10000, dst + sec[i] * 0x10000, 0x10000);
}
free(dst);
}
}