summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/cuda.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-03-26 15:18:37 +0000
commit051011971f9cce5ce1d99a9bfcf691bcf7975448 (patch)
tree7553b5907c3e67e02e4fd0a20f9f07e21a6c08ca /src/mess/machine/cuda.c
parentffbe9bdcca43cb1f645cc0387f0835523471b97a (diff)
Expanded device_t constructor with parameters for short name and source file location [Miodrag Milanovic]
Diffstat (limited to 'src/mess/machine/cuda.c')
-rw-r--r--src/mess/machine/cuda.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mess/machine/cuda.c b/src/mess/machine/cuda.c
index f978c051707..71d7db38065 100644
--- a/src/mess/machine/cuda.c
+++ b/src/mess/machine/cuda.c
@@ -381,7 +381,7 @@ WRITE8_MEMBER( cuda_device::pram_w )
//-------------------------------------------------
cuda_device::cuda_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock),
+ : device_t(mconfig, CUDA, "Apple Cuda", tag, owner, clock, "cuda", __FILE__),
device_nvram_interface(mconfig, *this),
m_maincpu(*this, CUDA_CPU_TAG)
{
@@ -507,8 +507,6 @@ void cuda_device::device_timer(emu_timer &timer, device_timer_id id, int param,
void cuda_device::device_config_complete()
{
- m_shortname = "cuda";
-
// inherit a copy of the static data
const cuda_interface *intf = reinterpret_cast<const cuda_interface *>(static_config());
if (intf != NULL)