(emu_handle: Arc<Mutex<EmuHandle>>)
| 58 | } |
| 59 | |
| 60 | impl Disassembler { |
| 61 | pub fn new(emu_handle: Arc<Mutex<EmuHandle>>) -> Self { |
| 62 | Self { |
| 63 | emu_handle, |
| 64 | lines: VecDeque::with_capacity(MAX_DISPLAY_LINES), |
| 65 | display_text: String::with_capacity(MAX_DISPLAY_LINES * 50), |
| 66 | enabled: false, |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | /// Enable instruction pushing while the window is open, disable it when |
nothing calls this directly
no outgoing calls
no test coverage detected