mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-27 16:21:53 +00:00
Fixing throw string
This commit is contained in:
+2
-2
@@ -39,7 +39,7 @@ namespace ComSquare::APU
|
||||
case 0xFF:
|
||||
return this->_registers.counter2;
|
||||
default:
|
||||
throw InvalidAddress("APU Internal Registers read", addr);
|
||||
throw InvalidAddress("APU Registers read", addr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ namespace ComSquare::APU
|
||||
this->_registers.timer2 = data;
|
||||
break;
|
||||
default:
|
||||
throw InvalidAddress("APU Internal Registers write", addr);
|
||||
throw InvalidAddress("APU Registers write", addr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -222,7 +222,7 @@ namespace ComSquare::APU::DSP
|
||||
case 0x7F:
|
||||
return this->_registers.coeff[7];
|
||||
default:
|
||||
throw InvalidAddress("DSP Internal Registers read", addr);
|
||||
throw InvalidAddress("DSP Registers read", addr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -542,7 +542,7 @@ namespace ComSquare::APU::DSP
|
||||
this->_registers.coeff[7] = data;
|
||||
break;
|
||||
default:
|
||||
throw InvalidAddress("DSP Internal Registers write", addr);
|
||||
throw InvalidAddress("DSP Registers write", addr);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user