mirror of
https://github.com/TomHarte/CLK.git
synced 2025-10-04 23:17:01 +00:00
Works 68000 mk2 into the comparative tests.
... revealing that I've leant a little too hard on __LINE__.
This commit is contained in:
@@ -102,8 +102,8 @@ void Executor<model, BusHandler>::run_for_instructions(int count) {
|
||||
}
|
||||
|
||||
template <Model model, typename BusHandler>
|
||||
typename Executor<model, BusHandler>::Registers Executor<model, BusHandler>::get_state() {
|
||||
Registers result;
|
||||
RegisterSet Executor<model, BusHandler>::get_state() {
|
||||
RegisterSet result;
|
||||
|
||||
for(int c = 0; c < 8; c++) {
|
||||
result.data[c] = Dn(c).l;
|
||||
@@ -122,7 +122,7 @@ typename Executor<model, BusHandler>::Registers Executor<model, BusHandler>::get
|
||||
}
|
||||
|
||||
template <Model model, typename BusHandler>
|
||||
void Executor<model, BusHandler>::set_state(const Registers &state) {
|
||||
void Executor<model, BusHandler>::set_state(const RegisterSet &state) {
|
||||
for(int c = 0; c < 8; c++) {
|
||||
Dn(c).l = state.data[c];
|
||||
}
|
||||
|
Reference in New Issue
Block a user