Revert "Fix initializing"

This reverts commit 0b09408ee8.
This commit is contained in:
tildearrow 2022-08-18 18:05:45 -05:00
parent aa1e34ffd3
commit 3f14625361

View file

@ -858,10 +858,6 @@ struct FurnaceGUISysCategory {
description(NULL) {}
};
static const char* dummyMode[1]={
NULL
};
struct FurnaceGUIMacroDesc {
DivInstrumentMacro* macro;
int min, max;
@ -874,7 +870,7 @@ struct FurnaceGUIMacroDesc {
bool isBitfield, blockMode, useMacroMode;
String (*hoverFunc)(int,float);
FurnaceGUIMacroDesc(const char* name, DivInstrumentMacro* m, int macroMin, int macroMax, float macroHeight, ImVec4 col=ImVec4(1.0f,1.0f,1.0f,1.0f), bool block=false, bool mMode=false, const char** mName=dummyMode, String (*hf)(int,float)=NULL, bool bitfield=false, const char** bfVal=NULL, unsigned int bitOff=0):
FurnaceGUIMacroDesc(const char* name, DivInstrumentMacro* m, int macroMin, int macroMax, float macroHeight, ImVec4 col=ImVec4(1.0f,1.0f,1.0f,1.0f), bool block=false, bool mMode=false, const char** mName={NULL}, String (*hf)(int,float)=NULL, bool bitfield=false, const char** bfVal=NULL, unsigned int bitOff=0):
macro(m),
height(macroHeight),
displayName(name),