| Previous | 15994 Revisions | Next |
| r2350 Thursday 10th April, 2008 at 01:54:05 UTC by Justin Kerk |
|---|
| [GMASTER] Fix aspect ratio |
| [src/mess] | mess.mak |
| [src/mess/drivers] | gmaster.c |
| [src/mess/layout] | gmaster.lay* |
| r0 | r2350 | |
|---|---|---|
| 1 | <?xml version="1.0"?> | |
| 2 | <mamelayout version="2"> | |
| 3 | <view name="LCD with square pixels"> | |
| 4 | <screen index="0"> | |
| 5 | <bounds left="0" top="0" right="61" bottom="64" /> | |
| 6 | </screen> | |
| 7 | </view> | |
| 8 | </mamelayout> |
| r2349 | r2350 | |
|---|---|---|
| 1230 | 1230 | $(MESS_DRIVERS)/gamepock.o: $(MESS_LAYOUT)/gamepock.lh |
| 1231 | 1231 | $(MESS_DRIVERS)/gb.o: $(MESS_LAYOUT)/gb.lh |
| 1232 | 1232 | $(MESS_DRIVERS)/glasgow.o: $(MESS_LAYOUT)/glasgow.lh |
| 1233 | $(MESS_DRIVERS)/gmaster.o: $(MESS_LAYOUT)/gmaster.lh | |
| 1233 | 1234 | $(MESS_DRIVERS)/mephisto.o: $(MESS_LAYOUT)/mephisto.lh |
| 1234 | 1235 | $(MESS_DRIVERS)/mk1.o: $(MESS_LAYOUT)/mk1.lh |
| 1235 | 1236 | $(MESS_DRIVERS)/mk2.o: $(MESS_LAYOUT)/mk2.lh |
| r2349 | r2350 | |
|---|---|---|
| 9 | 9 | #include "devices/cartslot.h" |
| 10 | 10 | |
| 11 | 11 | #include "includes/gmaster.h" |
| 12 | #include "gmaster.lh" | |
| 12 | 13 | |
| 13 | 14 | #define MAIN_XTAL 12000000 |
| 14 | 15 | |
| r2349 | r2350 | |
| 152 | 153 | static unsigned char gmaster_palette[2][3] = |
| 153 | 154 | { |
| 154 | 155 | #if 1 |
| 155 | // ziemlich schwierig den lcd touch r�berzubringen | |
| 156 | // es ist haupts�chlich die das fleckige gr�nlich, bl�uliche | |
| 156 | // ziemlich schwierig den lcd touch rüberzubringen | |
| 157 | // es ist hauptsächlich die das fleckige grünlich, bläuliche | |
| 157 | 158 | { 130, 159, 166 }, |
| 158 | 159 | { 45,45,43 } |
| 159 | 160 | #else |
| r2349 | r2350 | |
| 231 | 232 | MDRV_PALETTE_LENGTH(sizeof(gmaster_palette)/sizeof(gmaster_palette[0])) |
| 232 | 233 | MDRV_VIDEO_UPDATE(gmaster) |
| 233 | 234 | MDRV_PALETTE_INIT(gmaster) |
| 235 | MDRV_DEFAULT_LAYOUT(layout_gmaster) | |
| 234 | 236 | |
| 235 | 237 | MDRV_SPEAKER_STANDARD_MONO("gmaster") |
| 236 | 238 | MDRV_SOUND_ADD(CUSTOM, 0) |
| Previous | 15994 Revisions | Next |