Dont interpret IO as text
This fixes an issue with binary files being loaded incorrectly if something looks like a special character (\n, \lf, \cr etc.).
MODIFY
src/parser.cpp
src/parser.cpp
@@ -76,7 +76,7 @@ const QString& Parser::loadBinaryFile(QString fileName, bool disassembled) {
// memorys text segment
QFile file(fileName);
- if (file.open(QIODevice::ReadOnly | QIODevice::Text)) {
+ if (file.open(QIODevice::ReadOnly)) {
m_fileByteArray = file.readAll();
loadFromByteArray(m_fileByteArray);
file.close();

Dont interpret IO as text

This fixes an issue with binary files being loaded incorrectly if something looks like a special character (\n, \lf, \cr etc.).