mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Yell at the user when they have an unsupported CPU.
This commit is contained in:
parent
51eeb4f039
commit
b9c341ebef
|
|
@ -89,8 +89,13 @@ X64Emitter::X64Emitter(X64Backend* backend, XbyakAllocator* allocator)
|
||||||
feature_flags_ |= cpu_.has(Xbyak::util::Cpu::tF16C) ? kX64EmitF16C : 0;
|
feature_flags_ |= cpu_.has(Xbyak::util::Cpu::tF16C) ? kX64EmitF16C : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need movbe.
|
if (!cpu_.has(Xbyak::util::Cpu::tAVX) ||
|
||||||
assert_true(cpu_.has(Xbyak::util::Cpu::tMOVBE));
|
!cpu_.has(Xbyak::util::Cpu::tMOVBE)) {
|
||||||
|
XEFATAL(
|
||||||
|
"Your CPU is too old to support Xenia. See the FAQ for system "
|
||||||
|
"requirements at http://xenia.jp");
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
X64Emitter::~X64Emitter() = default;
|
X64Emitter::~X64Emitter() = default;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue