update sameboy to upstream fixes #3108
fix gpu viewer palettes, fixes #3150
This commit is contained in:
parent
655ed7949e
commit
e8e58f799e
Binary file not shown.
Binary file not shown.
|
@ -244,7 +244,7 @@ static void UpdatePal(biz_t* biz, bool bg)
|
|||
const GB_palette_t* rawPal = GB_get_palette(&biz->gb);
|
||||
for (u32 i = 0; i < 4; i++)
|
||||
{
|
||||
bgPal[i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
bgPal[3 - i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
}
|
||||
}
|
||||
u8 bgp = PeekIO(biz, GB_IO_BGP);
|
||||
|
@ -275,8 +275,8 @@ static void UpdatePal(biz_t* biz, bool bg)
|
|||
const GB_palette_t* rawPal = GB_get_palette(&biz->gb);
|
||||
for (u32 i = 0; i < 4; i++)
|
||||
{
|
||||
obj0Pal[i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
obj1Pal[i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
obj0Pal[3 - i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
obj1Pal[3 - i] = rgb_cb(&biz->gb, rawPal->colors[i].r, rawPal->colors[i].g, rawPal->colors[i].b);
|
||||
}
|
||||
}
|
||||
u8 obp0 = PeekIO(biz, GB_IO_OBP0);
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b7f03dea8dd98fa90ce5d7c7e8e05ff4cee81362
|
||||
Subproject commit 4c6bc91ded1b68de887986ff1495060690cd4172
|
Loading…
Reference in New Issue