mirror of
https://github.com/holub/mame
synced 2025-06-06 12:53:46 +03:00
mpu4.cpp, nwk-tr.cpp: Use strcmp instead of core_stricmp for per-game hacks
This commit is contained in:
parent
ace544b2f1
commit
62d5213d39
@ -644,9 +644,9 @@ void nwktr_state::lanc2_w(offs_t offset, uint32_t data, uint32_t mem_mask)
|
||||
{
|
||||
// TODO: The data below would normally be present on the serialflash at 2G.
|
||||
|
||||
if (core_stricmp(machine().system().name, "thrilld") == 0 ||
|
||||
core_stricmp(machine().system().name, "thrilldb") == 0 ||
|
||||
core_stricmp(machine().system().name, "thrilldbe") == 0)
|
||||
if (strcmp(machine().system().name, "thrilld") == 0 ||
|
||||
strcmp(machine().system().name, "thrilldb") == 0 ||
|
||||
strcmp(machine().system().name, "thrilldbe") == 0)
|
||||
{
|
||||
m_work_ram[(0x3ffed0/4) + 0] = 0x472a3731; // G*71
|
||||
m_work_ram[(0x3ffed0/4) + 1] = 0x33202020; // 3
|
||||
@ -658,7 +658,7 @@ void nwktr_state::lanc2_w(offs_t offset, uint32_t data, uint32_t mem_mask)
|
||||
m_work_ram[(0x3fff40/4) + 2] = 0x19994a41; // JA
|
||||
m_work_ram[(0x3fff40/4) + 3] = 0x4100a9b1; // A
|
||||
}
|
||||
else if (core_stricmp(machine().system().name, "racingj2") == 0)
|
||||
else if (strcmp(machine().system().name, "racingj2") == 0)
|
||||
{
|
||||
m_work_ram[(0x3ffc80/4) + 0] = 0x47453838; // GE88
|
||||
m_work_ram[(0x3ffc80/4) + 1] = 0x38003030; // 8 00
|
||||
|
@ -925,7 +925,7 @@ void mpu4_state::pia_ic5_porta_w(uint8_t data)
|
||||
awp_draw_reel(machine(),"reel3", *m_reel[2]);
|
||||
}
|
||||
|
||||
if (core_stricmp(machine().system().name, "m4gambal") == 0)
|
||||
if (strcmp(machine().system().name, "m4gambal") == 0)
|
||||
{
|
||||
/* The 'Gamball' device is a unique piece of mechanical equipment, designed to
|
||||
provide a truly fair hi-lo gamble for an AWP. Functionally, it consists of
|
||||
|
Loading…
Reference in New Issue
Block a user