From 84e94cf9bf3ba364b1268d3040942c8458d823cc Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 18 Dec 2016 21:37:31 -0300 Subject: Rename some graphics modes --- src/hardware_data/graphics/ppu_lr35902-dmg.lua | 106 +++++++++++++++++++++++++ 1 file changed, 106 insertions(+) create mode 100644 src/hardware_data/graphics/ppu_lr35902-dmg.lua (limited to 'src/hardware_data/graphics/ppu_lr35902-dmg.lua') diff --git a/src/hardware_data/graphics/ppu_lr35902-dmg.lua b/src/hardware_data/graphics/ppu_lr35902-dmg.lua new file mode 100644 index 0000000..c07da7e --- /dev/null +++ b/src/hardware_data/graphics/ppu_lr35902-dmg.lua @@ -0,0 +1,106 @@ +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, + }, + }, + }, + colours = { + total = 4, + limit = false, + background = true, + transparent = 'colourKey', + }, + meshes = false, + shaders = { + api = false, + version = false, + fragment = false, + vectex = false, + geometry = false, + tessellation = false, + }, + physic = false, + sprites = { + onScreen = 40, + onLine = 10, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + transform = { + move = true, + rotate = false, + scale = 'flip', + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + { + width = 8, + height = 16, + }, + }, + }, + tiles = { + layers = { + { + total = 399, + limit = 192, + unique = true, + independent = false, + palettes = { + specify = true, + { + total = 4, + limit = 3, + keys = 1, + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = false, + scale = false, + shear = false, + affine = false, + }, + sizes = { + { + width = 8, + height = 8, + }, + }, + map = false, + }, + }, + }, +} -- cgit v1.2.3-54-g00ecf