|
dwarfd.c and gfx_decode
#92301 - 11/05/06 07:02 AM
|
|
|
What in the hell does this mean? I want to fix it (spare time!) but I can't figure out what the hell any of this means, but I can turn the graphics from red to blue!
Code:
/* Wrong! */ static const gfx_layout tiles8x8_layout = { 16,8, RGN_FRAC(1,1), 4, { 0,1,2,3 }, { 8, 16, 24, 32, 40, 48, 56, 64 }, { 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64 }, 16*64 };
static const gfx_decode gfxdecodeinfo[] = { { REGION_GFX1, 0, &tiles8x8_layout, 0, 8 }, { REGION_GFX2, 0, &tiles8x8_layout, 0, 8 }, { REGION_GFX3, 0, &tiles8x8_layout, 0, 8 }, { REGION_GFX4, 0, &tiles8x8_layout, 0, 8 },
{ -1 } };
|
|
|
|
Re: dwarfd.c and gfx_decode
[Re: Luigi30]
#92326 - 11/05/06 12:15 PM
|
|
|
It means it's wrong.
Dox is working on the driver anyway, afaik he already has a working gfx decode. It's a very old, very strange piece of hardware which seems more like a computer terminal hacked to run an arcade game than anything else.
> What in the hell does this mean? I want to fix it (spare time!) but I can't figure > out what the hell any of this means, but I can turn the graphics from red to blue! > > /* Wrong! */ > static const gfx_layout tiles8x8_layout = > { > 16,8, > RGN_FRAC(1,1), > 4, > { 0,1,2,3 }, > { 8, 16, 24, 32, 40, 48, 56, 64 }, > { 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64 }, > 16*64 > }; > > static const gfx_decode gfxdecodeinfo[] = > { > { REGION_GFX1, 0, &tiles8x8_layout, 0, 8 }, > { REGION_GFX2, 0, &tiles8x8_layout, 0, 8 }, > { REGION_GFX3, 0, &tiles8x8_layout, 0, 8 }, > { REGION_GFX4, 0, &tiles8x8_layout, 0, 8 }, > > { -1 } > };
|
|
|
|