mirror of https://github.com/AxioDL/metaforce.git
CIntElement: Initialize x14_holdVal in CIESampleAndHold
Provides a deterministic initial state upon construction, which makes for nicer debugging.
This commit is contained in:
parent
786675f307
commit
93622d9b4b
|
@ -137,7 +137,7 @@ class CIESampleAndHold : public CIntElement {
|
|||
mutable int x8_nextSampleFrame = 0;
|
||||
std::unique_ptr<CIntElement> xc_waitFramesMin;
|
||||
std::unique_ptr<CIntElement> x10_waitFramesMax;
|
||||
mutable int x14_holdVal;
|
||||
mutable int x14_holdVal = 0;
|
||||
|
||||
public:
|
||||
CIESampleAndHold(std::unique_ptr<CIntElement>&& a, std::unique_ptr<CIntElement>&& b, std::unique_ptr<CIntElement>&& c)
|
||||
|
|
Loading…
Reference in New Issue