--- trunk/src/devices/dev_sgi_gbe.c 2007/10/08 16:19:37 22 +++ trunk/src/devices/dev_sgi_gbe.c 2007/10/08 16:19:56 24 @@ -25,7 +25,7 @@ * SUCH DAMAGE. * * - * $Id: dev_sgi_gbe.c,v 1.32 2006/01/01 13:17:17 debug Exp $ + * $Id: dev_sgi_gbe.c,v 1.34 2006/03/04 12:38:48 debug Exp $ * * SGI "gbe", graphics controller. Framebuffer. * Loosely inspired by Linux code. @@ -96,6 +96,8 @@ int tweaked = 1; #ifdef MTE_TEST +/* Actually just a return, but this fools the Compaq compiler... */ +if (cpu != NULL) return; #endif @@ -441,6 +443,6 @@ memory_device_register(mem, "sgi_gbe", baseaddr, DEV_SGI_GBE_LENGTH, dev_sgi_gbe_access, d, DM_DEFAULT, NULL); - machine_add_tickfunction(machine, dev_sgi_gbe_tick, d, 18); + machine_add_tickfunction(machine, dev_sgi_gbe_tick, d, 18, 0.0); }