1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Actually apply video divider.

This commit is contained in:
Thomas Harte 2024-03-22 10:24:24 -04:00
parent de7b7818f4
commit fb5fdc9f10

View File

@ -122,7 +122,7 @@ class ConcreteMachine:
} }
void update_clock_rates() { void update_clock_rates() {
printf(""); video_divider_ = executor_.bus.video().clock_divider();
} }
private: private:
@ -176,7 +176,7 @@ class ConcreteMachine:
printf("At %08x; after last PC %08x and %zu ago was %08x\n", executor_.pc(), pc_history[(pc_history_ptr - 2 + pc_history.size()) % pc_history.size()], pc_history.size(), pc_history[pc_history_ptr]); printf("At %08x; after last PC %08x and %zu ago was %08x\n", executor_.pc(), pc_history[(pc_history_ptr - 2 + pc_history.size()) % pc_history.size()], pc_history.size(), pc_history[pc_history_ptr]);
} }
log = executor_.pc() == 0x03810bd8; log = executor_.pc() == 0x03808de0;
if(log) { if(log) {
InstructionSet::ARM::Disassembler<arm_model> disassembler; InstructionSet::ARM::Disassembler<arm_model> disassembler;