From 4877509bbc81c398eb2ef2d699f51f374315809e Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Tue, 10 Jan 2017 22:14:36 -0300 Subject: Update graphics modes --- src/hardware_data/graphics/ppu_rp2c02+mmc5.lua | 39 +++++++++++++------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'src/hardware_data/graphics/ppu_rp2c02+mmc5.lua') diff --git a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua index e33013a..977dcbd 100644 --- a/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua +++ b/src/hardware_data/graphics/ppu_rp2c02+mmc5.lua @@ -13,8 +13,8 @@ return { y = -8, }, -- Total of unique texels, pixels and vertices on VRAM -- - pixels = 16785408, - texels = 65600, + pixels = 1081344, + texels = 16640, vertices = false, }, colours = { @@ -27,7 +27,7 @@ return { palettes = { { total = 1, - type = 'palettePerTexel', + type = 'perTexel', colours = 3, layers = false, }, @@ -45,7 +45,7 @@ return { physic = false, sprites = { -- Limit sprites on screen -- - onScreen = 64, + onScreen = 256, -- Limit sprites on line (scanline) without flickering -- onLine = 8, transform = { @@ -74,9 +74,9 @@ return { onVRAM = { screenSections = { all = { - Xtiles = 32, - Ytiles = 30, - tiles = 960, + Xtiles = 64, + Ytiles = 60, + tiles = 3840, pixels = 245760, }, }, @@ -89,9 +89,9 @@ return { -- On screen section with support scrolling X and/or Y, -- -- will be include one tile by axis -- all = { - Xtiles = 16+1, - Ytiles = 15+1, - tiles = 240+16+14+1, + Xtiles = 32+1, + Ytiles = 30+1, + tiles = 960+32+30+1, pixels = 61440, }, }, @@ -99,7 +99,8 @@ return { pixels = 'screenSections', }, -- Total of unique tiles on VRAM -- - unique = 65536, + unique = false, + maximum = 16384, screenSections = { main = { optional = false, @@ -115,8 +116,8 @@ return { }, size = { -- Tile size in pixels -- - width = 16, - height = 16, + width = 8, + height = 8, }, transform = { move = true, @@ -141,8 +142,8 @@ return { }, size = { -- Tile size in pixels -- - width = 16, - height = 16, + width = 8, + height = 8, }, transform = { move = false, @@ -167,8 +168,8 @@ return { }, size = { -- Tile size in pixels -- - width = 16, - height = 16, + width = 8, + height = 8, }, transform = { move = false, @@ -193,8 +194,8 @@ return { }, size = { -- Tile size in pixels -- - width = 16, - height = 16, + width = 8, + height = 8, }, transform = { move = false, -- cgit v1.2.3-54-g00ecf