Previous 15994 Revisions Next

r11633 Monday 23rd May, 2011 at 10:40:50 UTC by Miodrag Milanović
this should fix some msvc warnings (no whatsnew)
[src/mess/video]isa_mda.c

src/mess/video/isa_mda.c
r11632r11633
205205
206206static SCREEN_UPDATE( mc6845_mda )
207207{
208   mc6845_device *mc6845 = downcast<mc6845_device *>(screen->owner()->subdevice(MDA_MC6845_NAME));
208   mc6845_device *mc6845 = screen->owner()->subdevice<mc6845_device>(MDA_MC6845_NAME);
209209   mc6845->update( bitmap, cliprect );
210210   return 0;
211211}
r11632r11633
444444 *************************************************************************/
445445WRITE8_DEVICE_HANDLER ( pc_MDA_w )
446446{
447   mc6845_device *mc6845 = downcast<mc6845_device *>(device->subdevice(MDA_MC6845_NAME));
447   mc6845_device *mc6845 = device->subdevice<mc6845_device>(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 )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team