summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/ppu_lr35902-dmg.lua
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-11 18:09:17 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2017-01-11 18:09:17 -0300
commitf92584c7a74c277a707ea2799a07b07ffe406647 (patch)
treef223fca0250f8513d3216513ebdb8ea8adfe16d9 /src/hardware_data/graphics/ppu_lr35902-dmg.lua
parent9ff3e63fc8f4005aaeacf07fb58e002539e704d2 (diff)
Update graphics modes
Diffstat (limited to 'src/hardware_data/graphics/ppu_lr35902-dmg.lua')
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-dmg.lua30
1 files changed, 28 insertions, 2 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg.lua b/src/hardware_data/graphics/ppu_lr35902-dmg.lua
index 2ae3121..6aa9b53 100644
--- a/src/hardware_data/graphics/ppu_lr35902-dmg.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-dmg.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,
+ },
+ },
+ },
},
},
},