summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/awboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/awboard.cpp')
-rw-r--r--src/mame/machine/awboard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/awboard.cpp b/src/mame/machine/awboard.cpp
index 29c2bd44960..2e80cb8bf04 100644
--- a/src/mame/machine/awboard.cpp
+++ b/src/mame/machine/awboard.cpp
@@ -164,7 +164,7 @@ DEVICE_ADDRESS_MAP_START(submap, 16, aw_rom_board)
AM_RANGE(0x40, 0x41) AM_READWRITE(pio_r, pio_w)
ADDRESS_MAP_END
-aw_rom_board::aw_rom_board(const machine_config &mconfig, std::string tag, device_t *owner, UINT32 clock)
+aw_rom_board::aw_rom_board(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: naomi_g1_device(mconfig, AW_ROM_BOARD, "Sammy Atomiswave ROM Board", tag, owner, clock, "aw_rom_board", __FILE__)
{
keyregion = nullptr;
@@ -256,7 +256,7 @@ UINT16 aw_rom_board::decrypt(UINT16 cipherText, UINT32 address, const UINT32 key
void aw_rom_board::set_key()
{
if(!m_region)
- throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag().c_str());
+ throw emu_fatalerror("AW-ROM-BOARD: region %s is missing\n", tag());
if(!keyregion)
return;