1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-02 20:30:00 +00:00

Corrects stacked program bank during native-mode exceptions.

This commit is contained in:
Thomas Harte 2020-10-30 20:11:39 -04:00
parent 0d562699a2
commit 7f3f6c339f

View File

@ -445,7 +445,7 @@ template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler,
data_buffer_.size = 3;
++next_op_;
} else {
data_buffer_.value |= registers_.program_bank << 24;
data_buffer_.value |= registers_.program_bank << 8;
data_buffer_.size = 4;
registers_.program_bank = 0;
}