Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/xenia/base/main_init_win.cc b/src/xenia/base/main_init_win.cc
- index a0065aac6..e2e7c8b85 100644
- --- a/src/xenia/base/main_init_win.cc
- +++ b/src/xenia/base/main_init_win.cc
- @@ -21,9 +21,8 @@ class StartupCpuFeatureCheck {
- const char* error_message = nullptr;
- if (!cpu.has(Xbyak::util::Cpu::tAVX)) {
- error_message =
- - "Your CPU does not support AVX, which is required by Xenia. See "
- - "the "
- - "FAQ for system requirements at https://xenia.jp";
- + "Your CPU does not advertise AVX support, which is required by Xenia. "
- + "If running on Apple Silicon (Sequoia), this is fine.";
- }
- if (error_message == nullptr) {
- return;
- @@ -31,7 +30,7 @@ class StartupCpuFeatureCheck {
- // TODO(gibbed): detect app type and printf instead, if needed?
- MessageBoxA(nullptr, error_message, "Xenia Error",
- MB_OK | MB_ICONERROR | MB_SETFOREGROUND);
- - ExitProcess(static_cast<uint32_t>(-1));
- + // ExitProcess(static_cast<uint32_t>(-1));
- }
- }
- };
- diff --git a/src/xenia/cpu/backend/x64/x64_backend.cc b/src/xenia/cpu/backend/x64/x64_backend.cc
- index 5125feb4d..a87215a05 100644
- --- a/src/xenia/cpu/backend/x64/x64_backend.cc
- +++ b/src/xenia/cpu/backend/x64/x64_backend.cc
- @@ -225,8 +225,9 @@ bool X64Backend::Initialize(Processor* processor) {
- Xbyak::util::Cpu cpu;
- if (!cpu.has(Xbyak::util::Cpu::tAVX)) {
- - XELOGE("This CPU does not support AVX. The emulator will now crash.");
- - return false;
- + // XELOGE("This CPU does not support AVX. The emulator will now crash.");
- + XELOGE("This CPU does not advertise AVX support. The emulator will crash if AVX is missing");
- + // return false;
- }
- // Need movbe to do advanced LOAD/STORE tricks.
- diff --git a/src/xenia/cpu/backend/x64/x64_emitter.cc b/src/xenia/cpu/backend/x64/x64_emitter.cc
- index 720ed9781..d04995b15 100644
- --- a/src/xenia/cpu/backend/x64/x64_emitter.cc
- +++ b/src/xenia/cpu/backend/x64/x64_emitter.cc
- @@ -92,12 +92,12 @@ X64Emitter::X64Emitter(X64Backend* backend, XbyakAllocator* allocator)
- backend_(backend),
- code_cache_(backend->code_cache()),
- allocator_(allocator) {
- - if (!cpu_.has(Xbyak::util::Cpu::tAVX)) {
- - xe::FatalError(
- - "Your CPU does not support AVX, which is required by Xenia. See the "
- - "FAQ for system requirements at https://xenia.jp");
- - return;
- - }
- + // if (!cpu_.has(Xbyak::util::Cpu::tAVX)) {
- + // xe::FatalError(
- + // "Your CPU does not support AVX, which is required by Xenia. See the "
- + // "FAQ for system requirements at https://xenia.jp");
- + // return;
- + // }
- feature_flags_ = amd64::GetFeatureFlags();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement