mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -110,8 +110,8 @@ protected:
|
||||
|
||||
public:
|
||||
// This should probably be removed from public:
|
||||
JitOptions jo;
|
||||
JitState js;
|
||||
JitOptions jo{};
|
||||
JitState js{};
|
||||
|
||||
JitBase();
|
||||
~JitBase() override;
|
||||
|
Reference in New Issue
Block a user