Fix compilation warnings.

This commit is contained in:
Alexander Babikov
2020-11-14 05:46:57 +05:00
parent 50533a466d
commit 53bb559446
3 changed files with 4 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ static x86seg *codegen_generate_ea_16_long(ir_data_t *ir, x86seg *op_ea_seg, uin
switch (cpu_rm & 7)
{
case 0: case 1: case 7:
case 0: case 1: case 7: default:
base_reg = IREG_EBX;
break;
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])
{
op_table = (OpFn *) x86_dynarec_opcodes;

View File

@@ -71,7 +71,7 @@ machine_init_ex(int m)
int ret = 0;
if (!bios_only) {
machine_log("Initializing as \"%s\"\n", machine_getname_ex(m));
machine_log("Initializing as \"%s\"\n", machine_getname());
is_vpc = 0;

View File

@@ -789,7 +789,7 @@ static const device_t access_bus_device = {
0,
0x03,
access_bus_init, access_bus_close, NULL,
{ NULL }, NULL, NULL,
NULL, NULL, NULL,
NULL
};