Previous 15994 Revisions Next

r11622 Sunday 22nd May, 2011 at 14:55:58 UTC by Curt Coder
Fixed some MSVC warnings. (nw)
[src/mess/video]ibm_vga.c isa_mda.c
[src/osd/windows]drawd3d.c

src/osd/windows/drawd3d.c
r11621r11622
21482148      (*d3dintf->effect.set_technique)(d3d->yiq_decode_effect, "DecodeTechnique");
21492149   }
21502150
2151   d3d_surface *backbuffer;
2151   d3d_surface *backbuffer = NULL;
21522152
21532153   // first remember the original render target in case we need to set a new one
21542154   if(d3d->hlsl_enable && d3dintf->post_fx_available)
src/mess/video/isa_mda.c
r11621r11622
205205
206206static SCREEN_UPDATE( mc6845_mda )
207207{
208   mc6845_device *mc6845 = screen->owner()->subdevice<mc6845_device>(MDA_MC6845_NAME);
208   mc6845_device *mc6845 = downcast<mc6845_device *>(screen->owner()->subdevice(MDA_MC6845_NAME));
209209   mc6845->update( bitmap, cliprect );
210210   return 0;
211211}
r11621r11622
444444 *************************************************************************/
445445WRITE8_DEVICE_HANDLER ( pc_MDA_w )
446446{
447   mc6845_device *mc6845 = device->subdevice<mc6845_device>(MDA_MC6845_NAME);
447   mc6845_device *mc6845 = downcast<mc6845_device *>(device->subdevice(MDA_MC6845_NAME));
448448   address_space *space = device->machine().device("maincpu")->memory().space(AS_PROGRAM);
449449   device_t *lpt = device->subdevice("lpt");
450450   switch( offset )
r11621r11622
467467 READ8_DEVICE_HANDLER ( pc_MDA_r )
468468{
469469   int data = 0xff;
470   mc6845_device *mc6845 = device->subdevice<mc6845_device>(MDA_MC6845_NAME);
470   mc6845_device *mc6845 = downcast<mc6845_device *>(device->subdevice(MDA_MC6845_NAME));
471471   address_space *space = device->machine().device("maincpu")->memory().space(AS_PROGRAM);
472472   device_t *lpt = device->subdevice("lpt");
473473   switch( offset )
r11621r11622
655655
656656static SCREEN_UPDATE( mc6845_hercules )
657657{
658   mc6845_device *mc6845 = screen->owner()->subdevice<mc6845_device>(HERCULES_MC6845_NAME);
658   mc6845_device *mc6845 = downcast<mc6845_device *>(screen->owner()->subdevice(HERCULES_MC6845_NAME));
659659
660660   mc6845->update( bitmap, cliprect );
661661   return 0;
r11621r11622
701701
702702static WRITE8_DEVICE_HANDLER ( hercules_w )
703703{
704   mc6845_device *mc6845 = device->subdevice<mc6845_device>(HERCULES_MC6845_NAME);
704   mc6845_device *mc6845 = downcast<mc6845_device *>(device->subdevice(HERCULES_MC6845_NAME));
705705   address_space *space = device->machine().device("maincpu")->memory().space(AS_PROGRAM);
706706   device_t *lpt = device->subdevice("lpt");
707707   switch( offset )
r11621r11622
746746static READ8_DEVICE_HANDLER ( hercules_r )
747747{
748748   int data = 0xff;
749   mc6845_device *mc6845 = device->subdevice<mc6845_device>(HERCULES_MC6845_NAME);
749   mc6845_device *mc6845 = downcast<mc6845_device *>(device->subdevice(HERCULES_MC6845_NAME));
750750   address_space *space = device->machine().device("maincpu")->memory().space(AS_PROGRAM);
751751   device_t *lpt = device->subdevice("lpt");
752752   switch( offset )
src/mess/video/ibm_vga.c
r11621r11622
221221
222222static SCREEN_UPDATE( mc6845_vga )
223223{
224   mc6845_device *mc6845 = screen->owner()->subdevice<mc6845_device>(VGA_MC6845_NAME);
224   mc6845_device *mc6845 = downcast<mc6845_device *>(screen->owner()->subdevice(VGA_MC6845_NAME));
225225   mc6845->update(bitmap, cliprect);
226226   return 0;
227227}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team