summaryrefslogtreecommitdiff
path: root/src/hardware_data/graphics/ppu_lr35902-cgb.lua
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-18 23:27:45 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-18 23:27:45 -0300
commit34e9853606049734956c9b79265e96ab0cb4f79e (patch)
treea103939a0d8ddd528da484bb3d311e17cc4ad332 /src/hardware_data/graphics/ppu_lr35902-cgb.lua
parent84e94cf9bf3ba364b1268d3040942c8458d823cc (diff)
Update graphics modes
Diffstat (limited to 'src/hardware_data/graphics/ppu_lr35902-cgb.lua')
-rw-r--r--src/hardware_data/graphics/ppu_lr35902-cgb.lua68
1 files changed, 32 insertions, 36 deletions
diff --git a/src/hardware_data/graphics/ppu_lr35902-cgb.lua b/src/hardware_data/graphics/ppu_lr35902-cgb.lua
index 6ca179e..5e9e346 100644
--- a/src/hardware_data/graphics/ppu_lr35902-cgb.lua
+++ b/src/hardware_data/graphics/ppu_lr35902-cgb.lua
@@ -1,28 +1,19 @@
return {
screen = {
- ntsc = {
- width = 160,
- height = 144,
- fps = 29.97,
- origin = {
- x = 0,
- y = -8,
- },
- },
- pal = {
- width = 160,
- height = 144,
- fps = 25,
- origin = {
- x = 0,
- y = 0,
+ {
+ width = 160,
+ height = 144,
+ refresh = 59.73,
+ origin = {
+ x = 0,
+ y = 0,
},
},
},
colours = {
total = '15bpp',
- limit = 49,
- background = true,
+ limit = 56,
+ background = false,
transparent = 'colourKey',
},
meshes = false,
@@ -102,51 +93,56 @@ return {
tiles = {
layers = {
{
- total = 399,
- limit = 384,
+ total = {
+ x = 32,
+ y = 32,
+ 1024,
+ },
+ onScreen = 399,
+ limit = false,
unique = true,
independent = false,
palettes = {
specify = true,
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
{
total = 4,
- limit = 3,
- keys = 1,
+ limit = false,
+ keys = false,
},
},
mirror = true,