Previous 15994 Revisions Next

r3959 Tuesday 23rd December, 2008 at 10:34:25 UTC by Dirk Best
Debug build fixes
[src/mess/machine]zx8302.c
[src/mess/video]cdp1861.c cdp1862.c cdp1864.c crtc_ega.c zx8301.c

src/mess/video/cdp1862.c
r3958r3959
132132   assert(device != NULL);
133133   assert(device->tag != NULL);
134134   assert(strlen(device->tag) < 20);
135   assert(device->clock > 0);
135136
136137   cdp1862->intf = device->static_config;
137138
138139   assert(cdp1862->intf != NULL);
139   assert(cdp1862->intf->clock > 0);
140140
141141   /* get the screen device */
142142   cdp1862->screen = device_list_find_by_tag(device->machine->config->devicelist, VIDEO_SCREEN, cdp1862->intf->screen_tag);
src/mess/video/crtc_ega.c
r3958r3959
724724   assert(device != NULL);
725725   assert(device->tag != NULL);
726726   assert(strlen(device->tag) < 20);
727   assert(device->clock > 0);
727728
728729   crtc_ega->intf = device->static_config;
729730   crtc_ega->device_type = device_type;
730731
731732   if (crtc_ega->intf != NULL)
732733   {
733      assert(crtc_ega->intf->clock > 0);
734734      assert(crtc_ega->intf->hpixels_per_column > 0);
735735
736736      /* copy the initial parameters */
737      crtc_ega->clock = crtc_ega->clock;
738737      crtc_ega->hpixels_per_column = crtc_ega->intf->hpixels_per_column;
739738
740739      /* get the screen device */
src/mess/video/zx8301.c
r3958r3959
236236   assert(device != NULL);
237237   assert(device->tag != NULL);
238238   assert(strlen(device->tag) < 20);
239   assert(device->clock > 0);
239240
240241   zx8301->intf = device->static_config;
241242
242243   assert(zx8301->intf != NULL);
243   assert(zx8301->intf->clock > 0);
244244   assert(zx8301->intf->on_vsync_changed != NULL);
245245   assert(zx8301->intf->ram_r != NULL);
246246   assert(zx8301->intf->ram_w != NULL);
src/mess/video/cdp1864.c
r3958r3959
360360   assert(device != NULL);
361361   assert(device->tag != NULL);
362362   assert(strlen(device->tag) < 20);
363   assert(device->clock > 0);
363364
364365   cdp1864->intf = device->static_config;
365366
366367   assert(cdp1864->intf != NULL);
367   assert(cdp1864->intf->clock > 0);
368368   assert(cdp1864->intf->on_int_changed != NULL);
369369   assert(cdp1864->intf->on_dmao_changed != NULL);
370370   assert(cdp1864->intf->on_efx_changed != NULL);
src/mess/video/cdp1861.c
r3958r3959
192192   assert(device != NULL);
193193   assert(device->tag != NULL);
194194   assert(strlen(device->tag) < 20);
195   assert(device->clock > 0);
195196
196197   cdp1861->intf = device->static_config;
197198
198199   assert(cdp1861->intf != NULL);
199   assert(cdp1861->intf->clock > 0);
200200   assert(cdp1861->intf->on_int_changed != NULL);
201201   assert(cdp1861->intf->on_dmao_changed != NULL);
202202   assert(cdp1861->intf->on_efx_changed != NULL);
src/mess/machine/zx8302.c
r3958r3959
574574   assert(device != NULL);
575575   assert(device->tag != NULL);
576576   assert(strlen(device->tag) < 20);
577   assert(device->clock > 0);
577578
578579   zx8302->intf = device->static_config;
579580
580581   assert(zx8302->intf != NULL);
581   assert(zx8302->intf->clock > 0);
582582   assert(zx8302->intf->rtc_clock > 0);
583583   assert(zx8302->intf->comdata_w != NULL);
584584

Previous 15994 Revisions Next


© 1998-2018 The MESS Team