summaryrefslogblamecommitdiffstats
path: root/src/core/hle/shared_page.cpp
blob: 2a1caeaac49ce99de902fa236c8084c0114e291f (plain) (tree)
1
2
3
4
5
6
7



                                            

                  
                                 




                                                                                                    
                          
 
             
                                                      
 
                                            


                                                                             


              
// 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