From 591c047d59da7415234bb60b6cf651d54dbe7d9a Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Thu, 12 Jan 2017 16:45:33 -0300 Subject: Update graphics modes --- src/hardware_data/graphics/ppu_lr35902-sgb.lua | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/hardware_data/graphics/ppu_lr35902-sgb.lua') diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb.lua b/src/hardware_data/graphics/ppu_lr35902-sgb.lua index 240315e..921e17f 100644 --- a/src/hardware_data/graphics/ppu_lr35902-sgb.lua +++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua @@ -1,6 +1,6 @@ -- Information: -- -- PPU (Picture processing unit) -- --- LR35902 (SGBv1) without mapper -- +-- LR35902 (SGBv1) -- return { screen = { @@ -54,6 +54,7 @@ return { onScreen = 40, -- Limit sprites on line (scanline) without flickering -- onLine = 10, + unique = 256, transform = { move = true, rotate = false, @@ -105,9 +106,17 @@ return { pixels = 'screenSections', }, -- Total of tiles on VRAM -- - unique = false, - maximum = 256, - mirror = false, + unique = { + data = 192, + background = 256, + total = 448, + }, + maximum = 1024, + mirror = { + switchable = false, + nametables = 1, + 'custom', + }, screenSections = { main = { optional = false, -- cgit v1.2.3-54-g00ecf