Merge pull request #1073 from lemondrops/bugfix/compile_warnings
Fix several compilation warnings
This commit is contained in:
@@ -183,7 +183,6 @@ static void
|
|||||||
via_apollo_host_bridge_write(int func, int addr, uint8_t val, void *priv)
|
via_apollo_host_bridge_write(int func, int addr, uint8_t val, void *priv)
|
||||||
{
|
{
|
||||||
via_apollo_t *dev = (via_apollo_t *) priv;
|
via_apollo_t *dev = (via_apollo_t *) priv;
|
||||||
pclog("%02x: %02x\n", addr, val);
|
|
||||||
if (func)
|
if (func)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ static x86seg *codegen_generate_ea_16_long(ir_data_t *ir, x86seg *op_ea_seg, uin
|
|||||||
|
|
||||||
switch (cpu_rm & 7)
|
switch (cpu_rm & 7)
|
||||||
{
|
{
|
||||||
case 0: case 1: case 7:
|
case 0: case 1: case 7: default:
|
||||||
base_reg = IREG_EBX;
|
base_reg = IREG_EBX;
|
||||||
break;
|
break;
|
||||||
case 2: case 3: case 6:
|
case 2: case 3: case 6:
|
||||||
@@ -705,7 +705,7 @@ generate_call:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
codegen_skip:
|
// codegen_skip:
|
||||||
if ((op_table == x86_dynarec_opcodes_REPNE || op_table == x86_dynarec_opcodes_REPE) && !op_table[opcode | op_32])
|
if ((op_table == x86_dynarec_opcodes_REPNE || op_table == x86_dynarec_opcodes_REPE) && !op_table[opcode | op_32])
|
||||||
{
|
{
|
||||||
op_table = (OpFn *) x86_dynarec_opcodes;
|
op_table = (OpFn *) x86_dynarec_opcodes;
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ machine_init_ex(int m)
|
|||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (!bios_only) {
|
if (!bios_only) {
|
||||||
machine_log("Initializing as \"%s\"\n", machine_getname_ex(m));
|
machine_log("Initializing as \"%s\"\n", machine_getname());
|
||||||
|
|
||||||
is_vpc = 0;
|
is_vpc = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -789,7 +789,7 @@ static const device_t access_bus_device = {
|
|||||||
0,
|
0,
|
||||||
0x03,
|
0x03,
|
||||||
access_bus_init, access_bus_close, NULL,
|
access_bus_init, access_bus_close, NULL,
|
||||||
{ NULL }, NULL, NULL,
|
NULL, NULL, NULL,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user