scripts/3rdparty.lua: Enabled -Wno-tautological-compare for BGFX in order to evaluate turning it off for MAME. [R. Belmont]

cpu/es5510: Removed hack that never could possibly have worked, comparing a uint8_t to a 24-bit constant. [R. Belmont]
This commit is contained in:
arbee 2024-10-26 15:17:31 -04:00
parent c4206a6867
commit f89e137c57
2 changed files with 1 additions and 10 deletions

View File

@ -1511,6 +1511,7 @@ end
"-Wno-unused-but-set-variable", "-Wno-unused-but-set-variable",
"-Wno-unused-function", "-Wno-unused-function",
"-Wno-unused-variable", "-Wno-unused-variable",
"-Wno-tautological-compare",
} }
configuration { } configuration { }

View File

@ -340,16 +340,6 @@ static inline char * DESCRIBE_INSTR(char *s, uint64_t instr, uint32_t gpr, const
uint8_t es5510_device::host_r(address_space &space, offs_t offset) uint8_t es5510_device::host_r(address_space &space, offs_t offset)
{ {
// printf("%06x: DSP read offset %04x (data is %04x)\n",pc(),offset,dsp_ram[offset]); // printf("%06x: DSP read offset %04x (data is %04x)\n",pc(),offset,dsp_ram[offset]);
// VFX hack (FIXME: this is disgusting)
if (core_stricmp(machine().system().name, "vfx") == 0)
{
if (pc == 0xc091f0)
{
return downcast<m68000_base_device &>(space.device()).state_int(M68K_D2);
}
}
switch(offset) switch(offset)
{ {
case 0x00: LOG("ES5510: Host Read GPR latch[2]: %02x\n", (gpr_latch >> 16) & 0xff); return (gpr_latch >> 16) & 0xff; case 0x00: LOG("ES5510: Host Read GPR latch[2]: %02x\n", (gpr_latch >> 16) & 0xff); return (gpr_latch >> 16) & 0xff;