diff options
author | malc <av1474@comtv.ru> | 2011-10-09 19:04:16 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2011-10-09 19:04:16 +0400 |
commit | 8acbc9b21d757a6be4f8492e547b8159703a0547 (patch) | |
tree | 8ae75a52237540593f50d978a7457a1ab51cade4 /hw/gus.c | |
parent | df2921d326d0903ff684759ac8508f87396b7018 (diff) |
Restore consistent formatting
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/gus.c')
-rw-r--r-- | hw/gus.c | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -234,7 +234,7 @@ static const VMStateDescription vmstate_gus = { static int gus_initfn (ISADevice *dev) { - GUSState *s = DO_UPCAST(GUSState, dev, dev); + GUSState *s = DO_UPCAST (GUSState, dev, dev); struct audsettings as; AUD_register_card ("gus", &s->card); @@ -264,24 +264,23 @@ static int gus_initfn (ISADevice *dev) register_ioport_write (s->port, 1, 1, gus_writeb, s); register_ioport_write (s->port, 1, 2, gus_writew, s); - isa_init_ioport_range(dev, s->port, 2); + isa_init_ioport_range (dev, s->port, 2); register_ioport_read ((s->port + 0x100) & 0xf00, 1, 1, gus_readb, s); register_ioport_read ((s->port + 0x100) & 0xf00, 1, 2, gus_readw, s); - isa_init_ioport_range(dev, (s->port + 0x100) & 0xf00, 2); + isa_init_ioport_range (dev, (s->port + 0x100) & 0xf00, 2); register_ioport_write (s->port + 6, 10, 1, gus_writeb, s); register_ioport_write (s->port + 6, 10, 2, gus_writew, s); register_ioport_read (s->port + 6, 10, 1, gus_readb, s); register_ioport_read (s->port + 6, 10, 2, gus_readw, s); - isa_init_ioport_range(dev, s->port + 6, 10); - + isa_init_ioport_range (dev, s->port + 6, 10); register_ioport_write (s->port + 0x100, 8, 1, gus_writeb, s); register_ioport_write (s->port + 0x100, 8, 2, gus_writew, s); register_ioport_read (s->port + 0x100, 8, 1, gus_readb, s); register_ioport_read (s->port + 0x100, 8, 2, gus_readw, s); - isa_init_ioport_range(dev, s->port + 0x100, 8); + isa_init_ioport_range (dev, s->port + 0x100, 8); DMA_register_channel (s->emu.gusdma, GUS_read_DMA, s); s->emu.himemaddr = s->himem; |