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
|
#else
|
||||||
size = image.byteCount();
|
size = image.byteCount();
|
||||||
#endif
|
#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) {
|
mCoreThreadRunFunction(&m_threadContext, [](mCoreThread* thread) {
|
||||||
|
|
Loading…
Reference in New Issue