fixed compilation

This commit is contained in:
Stanislav Shwartsman 2021-04-28 17:57:57 +00:00
parent f174ce2b6f
commit d112ab9943

View File

@ -151,7 +151,7 @@ void BX_CPU_C::enter_system_management_mode(void)
#endif #endif
#if BX_CPU_LEVEL >= 5 #if BX_CPU_LEVEL >= 5
if (BX_CPU_THIS_PTR efer.get_SVME) if (BX_CPU_THIS_PTR efer.get_SVME())
BX_CPU_THIS_PTR efer.set32(BX_EFER_SVME_MASK); BX_CPU_THIS_PTR efer.set32(BX_EFER_SVME_MASK);
else else
BX_CPU_THIS_PTR efer.set32(0); BX_CPU_THIS_PTR efer.set32(0);