summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/gba/gba_slot.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-16 08:04:20 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-16 08:04:20 +0000
commit67663501d7a646a5d4f43fc9c054d99bf3ce2544 (patch)
tree49beebd42271006da0c177515ecbf1f31a31b079 /src/emu/bus/gba/gba_slot.c
parent72d93bb509f7ba670c27850f58fe10ce09844a93 (diff)
Moved eminline and related files into /src/osd since it's system related (nw)
Moved delegates into /src/lib/util to enable usage of delegates in other project parts Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_* Changed mess.mak to display compilation of ymmu100.ppm nicely
Diffstat (limited to 'src/emu/bus/gba/gba_slot.c')
-rw-r--r--src/emu/bus/gba/gba_slot.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/bus/gba/gba_slot.c b/src/emu/bus/gba/gba_slot.c
index 6118f7ec097..480f40d7a02 100644
--- a/src/emu/bus/gba/gba_slot.c
+++ b/src/emu/bus/gba/gba_slot.c
@@ -188,7 +188,7 @@ bool gba_cart_slot_device::call_load()
//printf("Type: %s\n", gba_get_slot(m_type));
- mame_printf_info("GBA: Detected (XML) %s\n", pcb_name ? pcb_name : "NONE");
+ osd_printf_info("GBA: Detected (XML) %s\n", pcb_name ? pcb_name : "NONE");
}
if (m_type == GBA_SRAM)
@@ -301,7 +301,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
else if (!memcmp(&ROM[i], "SIIRTC_V", 8))
chip |= GBA_CHIP_RTC;
}
- mame_printf_info("GBA: Detected (ROM) %s\n", gba_chip_string(chip).cstr());
+ osd_printf_info("GBA: Detected (ROM) %s\n", gba_chip_string(chip).cstr());
// fix for games which return more than one kind of chip: either it is one of the known titles, or we default to no battery
if (gba_chip_has_conflict(chip))
@@ -312,7 +312,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
if (len >= 0xac + 4)
memcpy(game_code, ROM + 0xac, 4);
- mame_printf_info("GBA: Game Code \"%s\"\n", game_code);
+ osd_printf_info("GBA: Game Code \"%s\"\n", game_code);
chip &= ~(GBA_CHIP_EEPROM | GBA_CHIP_EEPROM_4K | GBA_CHIP_EEPROM_64K | GBA_CHIP_FLASH | GBA_CHIP_FLASH_1M | GBA_CHIP_FLASH_512 | GBA_CHIP_SRAM);
@@ -328,7 +328,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
}
}
if (!resolved)
- mame_printf_warning("GBA: NVRAM is disabled because multiple NVRAM chips were detected!\n");
+ osd_printf_warning("GBA: NVRAM is disabled because multiple NVRAM chips were detected!\n");
}
// fix for games which are known to require an eeprom with 14-bit addressing (64 kbit)
@@ -339,7 +339,7 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
if (len >= 0xac + 4)
memcpy(game_code, ROM + 0xac, 4);
- mame_printf_info("GBA: Game Code \"%s\"\n", game_code);
+ osd_printf_info("GBA: Game Code \"%s\"\n", game_code);
for (int i = 0; i < sizeof(gba_chip_fix_eeprom_list) / sizeof(gba_chip_fix_eeprom_item); i++)
{
@@ -354,11 +354,11 @@ int gba_cart_slot_device::get_cart_type(UINT8 *ROM, UINT32 len)
if (type & GBA_CHIP_RTC)
{
- mame_printf_verbose("game has RTC - not emulated at the moment\n");
+ osd_printf_verbose("game has RTC - not emulated at the moment\n");
chip &= ~GBA_CHIP_RTC;
}
- mame_printf_info("GBA: Emulate %s\n", gba_chip_string(chip).cstr());
+ osd_printf_info("GBA: Emulate %s\n", gba_chip_string(chip).cstr());
switch (chip)
{