(03-26-2018, 01:22 AM)JosJuice Wrote: If you've excluded the Core/Core/DSP/Jit/x64/ files from compilation, you should undo that. It's not ideal that Dolphin compiles the x64 DSP JIT even when it can't be used on the current CPU architecture, but that's how we're doing it for now.
Thanks! Indeed i did exclude these files. After i did put them back in i also had to put back in x64Emitter.cpp and x64ABI.cpp because DSPEmitter is derived from XEmitter (and is happily emitting x64 instructions).
From design point of view i assume it would be a good idea to have an abstract base class for DSPEmitter, which can be referenced in more generic code like DSPTables.cpp without generating too many host architecture related dependencies.
In any case linker errors are gone, the only issue left are references from Common.lib(WGL.obj) into opengl32.lib, which does not exist for ARM64.
I did disable the instantiation of the OGL backend as follows in VideoBackendBase.cpp
Code:
#if !defined _M_ARM_64 || !defined _WIN32
g_available_video_backends.push_back(std::make_unique<OGL::VideoBackend>());
#endif
#ifdef _WIN32
g_available_video_backends.push_back(std::make_unique<DX11::VideoBackend>());
#endif
#ifndef __APPLE__
g_available_video_backends.push_back(std::make_unique<Vulkan::VideoBackend>());
#endif
g_available_video_backends.push_back(std::make_unique<SW::VideoSoftware>());
g_available_video_backends.push_back(std::make_unique<Null::VideoBackend>());but that's not the whole story.
Again thanks a lot, the issues with DPSEmitter are gone

BR,
Gerdya
