summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-20 09:40:48 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-12-20 09:40:48 -0300
commit9a95440c611372f3d8ce4f58ef17a0aa32324cc7 (patch)
treefbfd7e2782ba183034679d452bbc7dcabfee6db8
parentd5ae0c858475fd657e39f4deb431503e60b6bfc3 (diff)
Update graphics modes
-rw-r--r--src/hardware_data/graphics/ppu_rp2c0x+mmcx.lua34
-rw-r--r--src/hardware_data/graphics/ppu_rp2c0x.lua38
2 files changed, 38 insertions, 34 deletions
diff --git a/src/hardware_data/graphics/ppu_rp2c0x+mmcx.lua b/src/hardware_data/graphics/ppu_rp2c0x+mmcx.lua
index 8de8ff0..0c9b4cf 100644
--- a/src/hardware_data/graphics/ppu_rp2c0x+mmcx.lua
+++ b/src/hardware_data/graphics/ppu_rp2c0x+mmcx.lua
@@ -1,6 +1,6 @@
return {
screen = {
- ntsc = {
+ ntsc = {
width = 256,
height = 224,
refresh = 60.0988,
@@ -9,7 +9,7 @@ return {
y = -8,
},
},
- pal = {
+ pal = {
width = 256,
height = 240,
refresh = 50.0070,
@@ -18,7 +18,7 @@ return {
y = 0,
},
},
- ntsc-vs = {
+ ntscVS = {
width = 256,
height = 224,
refresh = 60.0985,
@@ -30,7 +30,6 @@ return {
pixels = 139264,
texels = 576,
vertices = false,
- vram = 253952,
},
colours = {
total = 64,
@@ -95,18 +94,18 @@ return {
tiles = {
layers = {
{
+ screenSections = true,
total = {
x = 32,
y = 30,
960,
},
onScreen = {
- ntsc = 255,
- pal = 272,
- ntsc-vs = 255,
- }
+ ntsc = 255,
+ pal = 272,
+ ntscVS = 255,
+ },
unique = 512,
- independent = false,
palettes = {
specify = true,
{
@@ -136,14 +135,17 @@ return {
},
mirror = true,
transform = {
- individual = true,
- move = {
- true,
+ {
+ independent = false,
+ move = {
+ true,
+ },
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ size = false,
},
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
},
sizes = {
{
diff --git a/src/hardware_data/graphics/ppu_rp2c0x.lua b/src/hardware_data/graphics/ppu_rp2c0x.lua
index e61667e..7ba69fa 100644
--- a/src/hardware_data/graphics/ppu_rp2c0x.lua
+++ b/src/hardware_data/graphics/ppu_rp2c0x.lua
@@ -1,6 +1,6 @@
return {
screen = {
- ntsc = {
+ ntsc = {
width = 256,
height = 224,
refresh = 60.0988,
@@ -9,7 +9,7 @@ return {
y = -8,
},
},
- pal = {
+ pal = {
width = 256,
height = 240,
refresh = 50.0070,
@@ -18,7 +18,7 @@ return {
y = 0,
},
},
- ntsc-vs = {
+ ntscVS = {
width = 256,
height = 224,
refresh = 60.0985,
@@ -27,10 +27,9 @@ return {
y = -8,
},
},
- pixels = 73728,
- texels = 320,
+ pixels = 73728,
+ texels = 320,
vertices = false,
- vram = 253952,
},
colours = {
total = 64,
@@ -95,18 +94,18 @@ return {
tiles = {
layers = {
{
+ screenSections = true,
total = {
x = 32,
y = 30,
960,
},
onScreen = {
- ntsc = 255,
- pal = 272,
- ntsc-vs = 255,
- }
+ ntsc = 255,
+ pal = 272,
+ ntscVS = 255,
+ },
unique = 256,
- independent = false,
palettes = {
specify = true,
{
@@ -136,14 +135,17 @@ return {
},
mirror = true,
transform = {
- individual = true,
- move = {
- true,
+ {
+ independent = false,
+ move = {
+ true,
+ },
+ rotate = false,
+ scale = false,
+ shear = false,
+ affine = false,
+ size = false,
},
- rotate = false,
- scale = false,
- shear = false,
- affine = false,
},
sizes = {
{