From 92197bce9c913f3419b2379e0c745ae32ebbc9e7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Fri, 19 May 2017 20:19:30 -0500 Subject: [PATCH] Fix nostalgia-studio to build with OxFS changes --- src/nostalgia/studio/lib/project.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/studio/lib/project.cpp b/src/nostalgia/studio/lib/project.cpp index 75e4a612..aa4483b2 100644 --- a/src/nostalgia/studio/lib/project.cpp +++ b/src/nostalgia/studio/lib/project.cpp @@ -31,8 +31,8 @@ void Project::create() { QDir().mkpath(m_path); m_romBuff = QSharedPointer(new QByteArray(1024, 0)); - FileSystem32::format(m_romBuff->data(), m_romBuff->size(), true); - m_fs = createFileSystem(m_romBuff->data(), m_romBuff->size()); + FileSystem32::format((uint8_t*) m_romBuff->data(), m_romBuff->size(), true); + m_fs = createFileSystem((uint8_t*) m_romBuff->data(), m_romBuff->size()); QFile file(m_path + ROM_FILE); file.open(QIODevice::WriteOnly); @@ -46,7 +46,7 @@ int Project::open() { if (file.exists()) { file.open(QIODevice::ReadOnly); if (file.read(m_romBuff->data(), file.size()) > 0) { - m_fs = createFileSystem(m_romBuff->data(), m_romBuff->size()); + m_fs = createFileSystem((uint8_t*) m_romBuff->data(), m_romBuff->size()); return 0; } else { return 1;