gint/ram: accelerate SPU RAM discovery by jumping 32 bytes

This commit is contained in:
Lephe 2020-10-21 14:29:58 +02:00
parent d03970f5ad
commit 2ed598fa2b
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ static uint32_t region_size(uint8_t volatile *mem, int *reason, int use_lword)
if(y) return size;
}
size += use_lword ? 4 : 1;
/* In PXYRAM, skip some longwords to go faster */
size += use_lword ? 32 : 1;
}
*reason = 3;