mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 17:16:57 +02:00
Further work on support for cheats
Cheats can now be enabled/disabled and games can be launched with cheats
This commit is contained in:
@@ -84,6 +84,7 @@ public:
|
||||
|
||||
u32 AllocRow(const IPalette& palette, int yStart, int yEnd) override
|
||||
{
|
||||
yEnd++; // avoid back to back allocation
|
||||
return AllocRowInternal(_rows[_curSet], palette, yStart, yEnd);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,10 @@ void RecyclerView::SetAdapter(const RecyclerAdapter* adapter, int initialSelecte
|
||||
_viewPool.reset();
|
||||
_viewPoolFreeCount = 0;
|
||||
_viewPoolTotalCount = 0;
|
||||
_xOffset = 0;
|
||||
_yOffset = 0;
|
||||
_curRangeStart = 0;
|
||||
_curRangeLength = 0;
|
||||
}
|
||||
_adapter = adapter;
|
||||
_adapter->GetViewSize(_itemWidth, _itemHeight);
|
||||
|
||||
Reference in New Issue
Block a user