--- trunk/src/devices/dev_pmagja.c 2007/10/08 16:18:31 11 +++ trunk/src/devices/dev_pmagja.c 2007/10/08 16:18:38 12 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_pmagja.c,v 1.13 2005/02/11 09:53:48 debug Exp $ + * $Id: dev_pmagja.c,v 1.15 2005/07/19 10:48:06 debug Exp $ * * TURBOchannel PMAG-JA graphics device. * @@ -216,13 +216,13 @@ d->irq_nr = irq_nr; - d->fb_mem = memory_new(XSIZE * YSIZE * 3); + d->fb_mem = memory_new(XSIZE * YSIZE * 3, machine->arch); if (d->fb_mem == NULL) { fprintf(stderr, "dev_pmagja_init(): out of memory (1)\n"); exit(1); } d->vfb_data = dev_fb_init(machine, d->fb_mem, 0, VFB_GENERIC, - XSIZE, YSIZE, XSIZE, YSIZE, 24, "PMAG-JA", 1); + XSIZE, YSIZE, XSIZE, YSIZE, 24, "PMAG-JA"); if (d->vfb_data == NULL) { fprintf(stderr, "dev_pmagja_init(): out of memory (2)\n"); exit(2);