Qt: Fix reversed arguments to m_core->rawWriteX functions (#373)

This commit is contained in:
Dwayne Slater 2016-09-04 16:13:15 -04:00 committed by endrift
parent 8f12a51344
commit 7e9f43a9c9
1 changed files with 3 additions and 3 deletions

View File

@ -434,13 +434,13 @@ void MemoryModel::keyPressEvent(QKeyEvent* event) {
if (m_bufferedNybbles == m_align * 2) {
switch (m_align) {
case 1:
m_core->rawWrite8(m_core, m_selection.first, m_buffer, m_currentBank);
m_core->rawWrite8(m_core, m_selection.first, m_currentBank, m_buffer);
break;
case 2:
m_core->rawWrite16(m_core, m_selection.first, m_buffer, m_currentBank);
m_core->rawWrite16(m_core, m_selection.first, m_currentBank, m_buffer);
break;
case 4:
m_core->rawWrite32(m_core, m_selection.first, m_buffer, m_currentBank);
m_core->rawWrite32(m_core, m_selection.first, m_currentBank, m_buffer);
break;
}
m_bufferedNybbles = 0;