mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
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:
parent
c4206a6867
commit
f89e137c57
2 changed files with 1 additions and 10 deletions
|
@ -1511,6 +1511,7 @@ end
|
|||
"-Wno-unused-but-set-variable",
|
||||
"-Wno-unused-function",
|
||||
"-Wno-unused-variable",
|
||||
"-Wno-tautological-compare",
|
||||
}
|
||||
|
||||
configuration { }
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
// 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)
|
||||
{
|
||||
case 0x00: LOG("ES5510: Host Read GPR latch[2]: %02x\n", (gpr_latch >> 16) & 0xff); return (gpr_latch >> 16) & 0xff;
|
||||
|
|
Loading…
Reference in a new issue