mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03: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
@ -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 { }
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user