summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/ppu_lr35902-sgb.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware_data/graphics/ppu_lr35902-sgb.lua')
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-sgb.lua30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-sgb.lua b/src/hardware_data/graphics/ppu_lr35902-sgb.lua
index 6df6cfc..240315e 100644
--- a/src/hardware_data/graphics/ppu_lr35902-sgb.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-sgb.lua
@@ -33,7 +33,7 @@ return {
},
{
total = 1,
- type = 'tilePerPalette',
+ type = 'tilePerPaletteBySeccion',
colours = 4,
layers = false,
},
@@ -109,7 +109,7 @@ return {
maximum = 256,
mirror = false,
screenSections = {
- main = {
+ main = {
optional = false,
moveSection = false,
{
@@ -135,6 +135,32 @@ return {
},
},
},
+ overlay0 = {
+ optional = true,
+ moveSection = true,
+ {
+ startSection = {
+ x = 'free',
+ y = 'free',
+ },
+ endSection = {
+ x = 'free',
+ y = 'free',
+ },
+ size = {
+ -- Tile size in pixels --
+ width = 8,
+ height = 8,
+ },
+ transform = {
+ move = false,
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ },
+ },
+ },
},
},
},