mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-25 07:10:00 -06:00
Add stubs for NDS::IsJITEnabled
and SetJITArgs
for when the JIT is excluded
This commit is contained in:

committed by
Nadia Holmquist Pedersen

parent
f4377e4f0f
commit
644d190e98
@ -437,6 +437,9 @@ public:
|
||||
#ifdef JIT_ENABLED
|
||||
[[nodiscard]] bool IsJITEnabled() const noexcept { return EnableJIT; }
|
||||
void SetJITArgs(std::optional<JITArgs> args) noexcept;
|
||||
#else
|
||||
[[nodiscard]] bool IsJITEnabled() const noexcept { return false; }
|
||||
void SetJITArgs(std::optional<JITArgs> args) noexcept {}
|
||||
#endif
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user