mgba: fix build
This commit is contained in:
parent
9db12996c8
commit
4e24745c6a
1 changed files with 11 additions and 0 deletions
11
srcpkgs/mgba/patches/fix-build.patch
Normal file
11
srcpkgs/mgba/patches/fix-build.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/platform/qt/MemoryModel.cpp.orig
|
||||
+++ src/platform/qt/MemoryModel.cpp
|
||||
@@ -99,7 +99,7 @@
|
||||
m_top = 0;
|
||||
m_base = base;
|
||||
m_size = size;
|
||||
- m_regionName = name;
|
||||
+ m_regionName = QStaticText(name);
|
||||
m_regionName.prepare(QTransform(), m_font);
|
||||
m_currentBank = segment;
|
||||
verticalScrollBar()->setRange(0, (size >> 4) + 1 - viewport()->size().height() / m_cellHeight);
|
Loading…
Reference in a new issue