mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
JitBase: Ensure JitOptions and JitState instances are consistently initialized
Ensures that upon construction of a JitBase instance, that all underlying members within the option and state structs are guaranteed to be initialized. This prevents potentially using a member uninitialized in some form.
This commit is contained in:
parent
f335790623
commit
51cfeb8c7d
@ -110,8 +110,8 @@ protected:
|
||||
|
||||
public:
|
||||
// This should probably be removed from public:
|
||||
JitOptions jo;
|
||||
JitState js;
|
||||
JitOptions jo{};
|
||||
JitState js{};
|
||||
|
||||
JitBase();
|
||||
~JitBase() override;
|
||||
|
Loading…
Reference in New Issue
Block a user