adlib.c (c3ab4c9cf24ec9efb9c6d82b6027c0587d3081fa) adlib.c (125ee0ed9cad04307498ac2b7b0d51ad8a807360)
1/*
2 * QEMU Proxy for OPL2/3 emulation by MAME team
3 *
4 * Copyright (c) 2004-2005 Vassili Karpov (malc)
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 350 unchanged lines hidden (view full) ---

359 DEFINE_PROP_END_OF_LIST (),
360};
361
362static void adlib_class_initfn (ObjectClass *klass, void *data)
363{
364 DeviceClass *dc = DEVICE_CLASS (klass);
365
366 dc->realize = adlib_realizefn;
1/*
2 * QEMU Proxy for OPL2/3 emulation by MAME team
3 *
4 * Copyright (c) 2004-2005 Vassili Karpov (malc)
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to deal
8 * in the Software without restriction, including without limitation the rights

--- 350 unchanged lines hidden (view full) ---

359 DEFINE_PROP_END_OF_LIST (),
360};
361
362static void adlib_class_initfn (ObjectClass *klass, void *data)
363{
364 DeviceClass *dc = DEVICE_CLASS (klass);
365
366 dc->realize = adlib_realizefn;
367 set_bit(DEVICE_CATEGORY_SOUND, dc->categories);
367 dc->desc = ADLIB_DESC;
368 dc->props = adlib_properties;
369}
370
371static const TypeInfo adlib_info = {
372 .name = TYPE_ADLIB,
373 .parent = TYPE_ISA_DEVICE,
374 .instance_size = sizeof (AdlibState),

--- 16 unchanged lines hidden ---
368 dc->desc = ADLIB_DESC;
369 dc->props = adlib_properties;
370}
371
372static const TypeInfo adlib_info = {
373 .name = TYPE_ADLIB,
374 .parent = TYPE_ISA_DEVICE,
375 .instance_size = sizeof (AdlibState),

--- 16 unchanged lines hidden ---