mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-01 04:10:30 +00:00
Make the bool a class member instead.
This commit is contained in:
parent
97a5382b50
commit
b58746816a
@ -188,7 +188,6 @@ void GenericListControl::Update()
|
|||||||
|
|
||||||
void GenericListControl::ResizeColumns()
|
void GenericListControl::ResizeColumns()
|
||||||
{
|
{
|
||||||
static volatile bool inResizeColumns = false;
|
|
||||||
if (inResizeColumns)
|
if (inResizeColumns)
|
||||||
return;
|
return;
|
||||||
inResizeColumns = true;
|
inResizeColumns = true;
|
||||||
|
@ -52,4 +52,6 @@ private:
|
|||||||
wchar_t stringBuffer[256];
|
wchar_t stringBuffer[256];
|
||||||
bool valid;
|
bool valid;
|
||||||
bool sendInvalidRows;
|
bool sendInvalidRows;
|
||||||
|
// Used for hacky workaround to fix a rare hang (see issue #5184)
|
||||||
|
volatile bool inResizeColumns;
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user