mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-18 11:53:05 +00:00
24 lines
588 B
C++
24 lines
588 B
C++
// Copyright 2015 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#include <cstring>
|
|
|
|
#include "core/hle/shared_page.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
namespace SharedPage {
|
|
|
|
SharedPageDef shared_page;
|
|
|
|
void Init() {
|
|
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
|