Correct some EightBit project analysis warnings.

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon
2020-04-06 23:11:21 +01:00
parent 7296ff7cce
commit 44c6a8c3d1
11 changed files with 18 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
EightBit::IntelProcessor::IntelProcessor(Bus& bus)
: LittleEndianProcessor(bus) {
for (int i = 0; i < 0x100; ++i)
m_decodedOpcodes[i] = i;
m_decodedOpcodes.at(i) = i;
LoweredHALT.connect([this](EventArgs) { --PC(); });
RaisedHALT.connect([this](EventArgs) { ++PC(); });