diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-12 16:45:33 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2017-01-12 16:45:33 -0300 |
commit | 591c047d59da7415234bb60b6cf651d54dbe7d9a (patch) | |
tree | 477073205d6db04d444b428c48f3053b4ede7a3d /src/hardware_data/graphics/ppu_lr35902-sgb2.lua | |
parent | f92584c7a74c277a707ea2799a07b07ffe406647 (diff) |
Update graphics modes
Diffstat (limited to 'src/hardware_data/graphics/ppu_lr35902-sgb2.lua')
-rw-r--r-- | src/hardware_data/graphics/ppu_lr35902-sgb2.lua | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb2.lua b/src/hardware_data/graphics/ppu_lr35902-sgb2.lua index 7e3ad17..53f71aa 100644 --- a/src/hardware_data/graphics/ppu_lr35902-sgb2.lua +++ b/src/hardware_data/graphics/ppu_lr35902-sgb2.lua @@ -1,6 +1,6 @@ -- Information: -- -- PPU (Picture processing unit) -- --- LR35902 (SGBv2) without mapper -- +-- LR35902 (SGBv2) -- 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, |