Making xenia-test run on Windows.

This commit is contained in:
Ben Vanik
2013-05-25 05:20:28 -07:00
parent edb3aabdd4
commit bd8376e231
3 changed files with 64 additions and 13 deletions

View File

@@ -36,8 +36,6 @@ X64JIT::~X64JIT() {
int X64JIT::Setup() {
int result_code = 1;
XELOGCPU("Initializing x64 JIT backend...");
// Check processor for support.
result_code = CheckProcessor();
if (result_code) {
@@ -97,6 +95,8 @@ static const BitDescription x86Features[] = {
int X64JIT::CheckProcessor() {
const CpuInfo* cpu = CpuInfo::getGlobal();
const X86CpuInfo* x86Cpu = static_cast<const X86CpuInfo*>(cpu);
#if 0
XELOGCPU("Processor Info:");
XELOGCPU(" Vendor string : %s", cpu->getVendorString());
XELOGCPU(" Brand string : %s", cpu->getBrandString());
@@ -118,6 +118,7 @@ int X64JIT::CheckProcessor() {
XELOGCPU(" %s", d->description);
}
}
#endif
// TODO(benvanik): ensure features we want are supported.