mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-15 19:28:29 +12:00
Add all the files
This commit is contained in:
parent
e3db07a16a
commit
d60742f52b
1445 changed files with 430238 additions and 0 deletions
26
src/Cafe/OS/libs/nn_cmpt/nn_cmpt.cpp
Normal file
26
src/Cafe/OS/libs/nn_cmpt/nn_cmpt.cpp
Normal file
|
@ -0,0 +1,26 @@
|
|||
#include "Cafe/OS/common/OSCommon.h"
|
||||
#include "nn_cmpt.h"
|
||||
|
||||
namespace nn::cmpt
|
||||
{
|
||||
uint32 CMPTAcctGetPcConf(uint32be* pcConf)
|
||||
{
|
||||
forceLogDebug_printf("CMPTAcctGetPcConf() - todo");
|
||||
pcConf[0] = 0;
|
||||
pcConf[1] = 0;
|
||||
pcConf[2] = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32 CMPTGetDataSize(uint32be* sizeOut)
|
||||
{
|
||||
*sizeOut = 0xC0000;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void Initialize()
|
||||
{
|
||||
cafeExportRegister("nn_cmpt", CMPTAcctGetPcConf, LogType::Placeholder);
|
||||
cafeExportRegister("nn_cmpt", CMPTGetDataSize, LogType::Placeholder);
|
||||
}
|
||||
}
|
5
src/Cafe/OS/libs/nn_cmpt/nn_cmpt.h
Normal file
5
src/Cafe/OS/libs/nn_cmpt/nn_cmpt.h
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
namespace nn::cmpt
|
||||
{
|
||||
void Initialize();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue