mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +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
|