This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2015-01-02 05:41:34 +00:00
|
|
|
// 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"
|
2015-01-02 05:41:34 +00:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace SharedPage {
|
|
|
|
|
2015-05-13 02:29:24 +00:00
|
|
|
SharedPageDef shared_page;
|
2015-01-02 05:41:34 +00:00
|
|
|
|
2015-05-13 02:29:24 +00:00
|
|
|
void Init() {
|
2015-05-06 05:42:43 +00:00
|
|
|
std::memset(&shared_page, 0, sizeof(shared_page));
|
2015-04-28 02:45:43 +00:00
|
|
|
|
2015-01-02 05:41:34 +00:00
|
|
|
shared_page.running_hw = 0x1; // product
|
2016-03-29 19:29:57 +00:00
|
|
|
|
|
|
|
// Some games wait until this value becomes 0x1, before asking running_hw
|
|
|
|
shared_page.unknown_value = 0x1;
|
2015-01-02 05:41:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|