Resolved a few FIXME comments in Qt TAS editor.
This commit is contained in:
parent
c7bfb684ae
commit
fa748b0a41
|
@ -198,7 +198,8 @@ bool GREENZONE::clearSavestateOfFrame(unsigned int frame)
|
||||||
{
|
{
|
||||||
savestates[frame].resize(0);
|
savestates[frame].resize(0);
|
||||||
return true;
|
return true;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -207,9 +208,12 @@ bool GREENZONE::clearSavestateAndFreeMemory(unsigned int frame)
|
||||||
{
|
{
|
||||||
if (frame < savestates.size() && savestates[frame].size())
|
if (frame < savestates.size() && savestates[frame].size())
|
||||||
{
|
{
|
||||||
//savestates[frame].swap(std::vector<uint8_t>()); FIXME
|
//savestates[frame].swap(std::vector<uint8_t>()); //FIXME
|
||||||
|
savestates[frame].clear();
|
||||||
|
savestates[frame].shrink_to_fit();
|
||||||
return true;
|
return true;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -263,7 +263,7 @@ void SELECTION::jumpToFrame(int frame)
|
||||||
{
|
{
|
||||||
clearAllRowsSelection();
|
clearAllRowsSelection();
|
||||||
setRowSelection(frame);
|
setRowSelection(frame);
|
||||||
//pianoRoll.followSelection(); FIXME
|
tasWin->pianoRoll->followSelection();
|
||||||
}
|
}
|
||||||
// ----------------------------------------------------------
|
// ----------------------------------------------------------
|
||||||
void SELECTION::save(EMUFILE *os, bool really_save)
|
void SELECTION::save(EMUFILE *os, bool really_save)
|
||||||
|
|
Loading…
Reference in New Issue