mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
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:
parent
1ff468e97e
commit
aca5870c9c
@ -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) :
|
||||
|
@ -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) :
|
||||
|
@ -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) :
|
||||
|
@ -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) :
|
||||
|
@ -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)
|
||||
|
@ -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) :
|
||||
|
@ -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) :
|
||||
|
Loading…
Reference in New Issue
Block a user