fix gpgx pattern cache invalidation, resolves #3363

This commit is contained in:
CasualPokePlayer 2022-08-27 18:49:00 -07:00
parent 14f470a9a7
commit 13069d08f4
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -219,7 +219,7 @@ void flush_vram_cache(void)
void vdp_invalidate_full_cache(void)
{
bg_list_index = 0x800;
bg_list_index = (reg[1] & 0x04) ? 0x800 : 0x200;
for (int i=0;i<bg_list_index;i++)
{
bg_name_list[i] = i;