MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / overwrite

Method overwrite

gui/qt/debugger/hexwidget.cpp:288–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288void HexWidget::overwrite(int addr, char c) {
289 int address = addr / 2;
290 stack_entry_t entry{addr, m_data.mid(address, 1)};
291 m_stack.push(entry);
292 m_data[address] = c;
293 m_modified[address] = m_modified[address] + 1;
294}
295
296void HexWidget::overwrite(int addr, int len, const QByteArray &ba) {
297 int address = addr / 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected