Commit ccf2bc3d authored by Sergio Costas's avatar Sergio Costas

Fixed "value not handled in switch"

parent 05a0df62
......@@ -133,6 +133,9 @@ int save_z80(char *filename) {
case JOYSTICK_SINCLAIR2:
value |= 192;
break;
default:
break;
}
fprintf(fichero, "%c", value);
......
......@@ -40,7 +40,6 @@
class computer *ordenador;
computer::computer() {
this->dblscan = false;
this->bw = false;
......@@ -159,6 +158,9 @@ void computer::do_contention(bool io, uint16_t addr) {
return;
}
break;
default:
break;
}
}
if ((addr & 0xC000) == 0x4000) {
......@@ -174,7 +176,6 @@ void computer::do_contention(bool io, uint16_t addr) {
// resets the computer and loads the right ROMs
void ResetComputer() {
Z80free_reset(&procesador);
load_rom(ordenador->current_mode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment