citra/src/core/hle/shared_page.cpp

25 lines
588 B
C++
Raw Normal View History

// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
2015-05-06 05:42:43 +00:00
#include <cstring>
2015-02-13 15:40:07 +00:00
#include "core/hle/shared_page.h"
////////////////////////////////////////////////////////////////////////////////////////////////////
namespace SharedPage {
SharedPageDef shared_page;
void Init() {
2015-05-06 05:42:43 +00:00
std::memset(&shared_page, 0, sizeof(shared_page));
shared_page.running_hw = 0x1; // product
// Some games wait until this value becomes 0x1, before asking running_hw
shared_page.unknown_value = 0x1;
}
} // namespace