Fix exception in clang debug build: "Caught unhandled St8bad_cast exception: std::bad_cast" (nw)

Protected inheritance is a very dangerous game considering how MAME loves dynamic casts, and debug builds even more so.

This reverts 0a5fed2ece in part.
This commit is contained in:
AJR 2019-11-05 22:47:14 -05:00
parent 1ff468e97e
commit aca5870c9c
7 changed files with 7 additions and 7 deletions

View File

@ -83,7 +83,7 @@ Secret menu hack [totmejan only] (I couldn't find official way to enter, so it's
#include "tilemap.h"
class goodejan_state : public driver_device, protected seibu_sound_common
class goodejan_state : public driver_device, public seibu_sound_common
{
public:
goodejan_state(const machine_config &mconfig, device_type type, const char *tag) :

View File

@ -67,7 +67,7 @@ RSSENGO2.72 chr.
#include "tilemap.h"
class sengokmj_state : public driver_device, protected seibu_sound_common
class sengokmj_state : public driver_device, public seibu_sound_common
{
public:
sengokmj_state(const machine_config &mconfig, device_type type, const char *tag) :

View File

@ -11,7 +11,7 @@
#include "screen.h"
#include "tilemap.h"
class bloodbro_state : public driver_device, protected seibu_sound_common
class bloodbro_state : public driver_device, public seibu_sound_common
{
public:
bloodbro_state(const machine_config &mconfig, device_type type, const char *tag) :

View File

@ -9,7 +9,7 @@
#include "emupal.h"
#include "tilemap.h"
class dcon_state : public driver_device, protected seibu_sound_common
class dcon_state : public driver_device, public seibu_sound_common
{
public:
dcon_state(const machine_config &mconfig, device_type type, const char *tag) :

View File

@ -15,7 +15,7 @@
#include <algorithm>
class legionna_state : public driver_device, protected seibu_sound_common
class legionna_state : public driver_device, public seibu_sound_common
{
public:
legionna_state(const machine_config &mconfig, device_type type, const char *tag)

View File

@ -16,7 +16,7 @@
#include "screen.h"
#include "tilemap.h"
class nmk16_state : public driver_device, protected seibu_sound_common
class nmk16_state : public driver_device, public seibu_sound_common
{
public:
nmk16_state(const machine_config &mconfig, device_type type, const char *tag) :

View File

@ -15,7 +15,7 @@
#include "emupal.h"
#include "tilemap.h"
class raiden_state : public driver_device, protected seibu_sound_common
class raiden_state : public driver_device, public seibu_sound_common
{
public:
raiden_state(const machine_config &mconfig, device_type type, const char *tag) :