| 5 | using ae = machine::AccessEffects; // For enum values, the type is obvious from context. |
| 6 | |
| 7 | ProgramModel::ProgramModel(QObject *parent) : Super(parent), data_font("Monospace") { |
| 8 | index0_offset = machine::Address::null(); |
| 9 | data_font.setStyleHint(QFont::TypeWriter); |
| 10 | machine = nullptr; |
| 11 | memory_change_counter = 0; |
| 12 | cache_program_change_counter = 0; |
| 13 | for (auto &i : stage_addr) { |
| 14 | i = machine::STAGEADDR_NONE; |
| 15 | } |
| 16 | stages_need_update = false; |
| 17 | } |
| 18 | |
| 19 | const machine::FrontendMemory *ProgramModel::mem_access() const { |
| 20 | if (machine == nullptr) { return nullptr; } |
nothing calls this directly
no outgoing calls
no test coverage detected