2015-01-01 21:41:34 -08:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2015-05-05 22:42:43 -07:00
|
|
|
#include <cstring>
|
|
|
|
|
2015-02-13 07:40:07 -08:00
|
|
|
#include "core/hle/shared_page.h"
|
2015-01-01 21:41:34 -08:00
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
namespace SharedPage {
|
|
|
|
|
2015-05-12 19:29:24 -07:00
|
|
|
SharedPageDef shared_page;
|
2015-01-01 21:41:34 -08:00
|
|
|
|
2015-05-12 19:29:24 -07:00
|
|
|
void Init() {
|
2015-05-05 22:42:43 -07:00
|
|
|
std::memset(&shared_page, 0, sizeof(shared_page));
|
2015-04-27 19:45:43 -07:00
|
|
|
|
2015-01-01 21:41:34 -08:00
|
|
|
shared_page.running_hw = 0x1; // product
|
2016-03-29 12:29:57 -07:00
|
|
|
|
|
|
|
// Some games wait until this value becomes 0x1, before asking running_hw
|
|
|
|
shared_page.unknown_value = 0x1;
|
2015-01-01 21:41:34 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|