mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix build on Qt < 5.10
This commit is contained in:
parent
75fa9a80fa
commit
12ae8ba949
|
@ -695,7 +695,7 @@ void CoreController::scanCard(const QString& path) {
|
|||
#else
|
||||
size = image.byteCount();
|
||||
#endif
|
||||
m_eReaderData.setRawData(reinterpret_cast<const char*>(bits), image.sizeInBytes());
|
||||
m_eReaderData.setRawData(reinterpret_cast<const char*>(bits), size);
|
||||
}
|
||||
|
||||
mCoreThreadRunFunction(&m_threadContext, [](mCoreThread* thread) {
|
||||
|
|
Loading…
Reference in New Issue