mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-20 09:18:30 +00:00
cpu: Unicorn-ify the qemu_tcg_mttcg_enabled() macro
Gets rid of reliance on a non-existent variable
This commit is contained in:
parent
f41747c9ba
commit
72c18027a6
|
@ -357,8 +357,7 @@ static inline void cpu_tb_jmp_cache_clear(CPUState *cpu)
|
||||||
*
|
*
|
||||||
* Returns: %true if we are in MTTCG mode %false otherwise.
|
* Returns: %true if we are in MTTCG mode %false otherwise.
|
||||||
*/
|
*/
|
||||||
extern bool mttcg_enabled;
|
#define qemu_tcg_mttcg_enabled(uc) ((uc)->mttcg_enabled)
|
||||||
#define qemu_tcg_mttcg_enabled() (mttcg_enabled)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cpu_paging_enabled:
|
* cpu_paging_enabled:
|
||||||
|
|
Loading…
Reference in a new issue