diff options
author | 2021-06-21 14:00:45 +0200 | |
---|---|---|
committer | 2021-06-21 14:00:58 +0200 | |
commit | 20a03efe41b7d02ec80c1d711a2116f0dbaf1dec (patch) | |
tree | d2c2b7e3803d69f1cc858557b6b3c7d20120e557 /src/devices/bus/saitek_osa | |
parent | f23084f1d0167fff368748a33b99b672e6a4a87a (diff) |
New working software list additions
-----------------------------------
lk3000: Calculator, Electronic Notebook [hap, Sean Riddle]
New NOT_WORKING software list additions
---------------------------------------
lk3000: English-German [hap, Sean Riddle]
Diffstat (limited to 'src/devices/bus/saitek_osa')
-rw-r--r-- | src/devices/bus/saitek_osa/expansion.cpp | 16 | ||||
-rw-r--r-- | src/devices/bus/saitek_osa/expansion.h | 6 | ||||
-rw-r--r-- | src/devices/bus/saitek_osa/modules.cpp | 22 | ||||
-rw-r--r-- | src/devices/bus/saitek_osa/modules.h | 16 |
4 files changed, 19 insertions, 41 deletions
diff --git a/src/devices/bus/saitek_osa/expansion.cpp b/src/devices/bus/saitek_osa/expansion.cpp index bae1dfe0eb5..0c7e6be78bc 100644 --- a/src/devices/bus/saitek_osa/expansion.cpp +++ b/src/devices/bus/saitek_osa/expansion.cpp @@ -11,6 +11,10 @@ Used by Saitek(SciSys) chess computers Leonardo, Galileo, Renaissance. #include "emu.h" #include "expansion.h" +#include "maestro.h" +#include "maestroa.h" +#include "sparc.h" + //************************************************************************** // DEVICE DEFINITIONS @@ -153,3 +157,15 @@ device_saitekosa_expansion_interface::device_saitekosa_expansion_interface(const device_saitekosa_expansion_interface::~device_saitekosa_expansion_interface() { } + +//------------------------------------------------- +// module list +//------------------------------------------------- + +void saitekosa_expansion_modules(device_slot_interface &device) +{ + device.option_add("analyst", OSA_ANALYST); + device.option_add("maestro", OSA_MAESTRO); + device.option_add("maestroa", OSA_MAESTROA); + device.option_add("sparc", OSA_SPARC); +} diff --git a/src/devices/bus/saitek_osa/expansion.h b/src/devices/bus/saitek_osa/expansion.h index 2c245ada301..cb513bf2f4e 100644 --- a/src/devices/bus/saitek_osa/expansion.h +++ b/src/devices/bus/saitek_osa/expansion.h @@ -119,10 +119,10 @@ protected: saitekosa_expansion_device *m_expansion; }; +void saitekosa_expansion_modules(device_slot_interface &device); + + // device type definition DECLARE_DEVICE_TYPE(SAITEKOSA_EXPANSION, saitekosa_expansion_device) -// include here so drivers don't need to -#include "modules.h" - #endif // MAME_BUS_SAITEKOSA_EXPANSION_H diff --git a/src/devices/bus/saitek_osa/modules.cpp b/src/devices/bus/saitek_osa/modules.cpp deleted file mode 100644 index 19b7af1ff13..00000000000 --- a/src/devices/bus/saitek_osa/modules.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:hap -/*************************************************************************** - - Saitek OSA Expansion Slot modules - -***************************************************************************/ - -#include "emu.h" -#include "modules.h" - -#include "maestro.h" -#include "maestroa.h" -#include "sparc.h" - -void saitekosa_expansion_modules(device_slot_interface &device) -{ - device.option_add("analyst", OSA_ANALYST); - device.option_add("maestro", OSA_MAESTRO); - device.option_add("maestroa", OSA_MAESTROA); - device.option_add("sparc", OSA_SPARC); -} diff --git a/src/devices/bus/saitek_osa/modules.h b/src/devices/bus/saitek_osa/modules.h deleted file mode 100644 index 009daf69cec..00000000000 --- a/src/devices/bus/saitek_osa/modules.h +++ /dev/null @@ -1,16 +0,0 @@ -// license:BSD-3-Clause -// copyright-holders:hap -/*************************************************************************** - - Saitek OSA Expansion Slot modules - -***************************************************************************/ - -#ifndef MAME_BUS_SAITEKOSA_MODULES_H -#define MAME_BUS_SAITEKOSA_MODULES_H - -#pragma once - -void saitekosa_expansion_modules(device_slot_interface &device); - -#endif // MAME_BUS_SAITEKOSA_MODULES_H |