mirror of
https://github.com/rvtr/ctr_card_test.git
synced 2025-06-18 14:45:42 -04:00

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_card_test@8 ff8ce827-af98-4349-adb5-4c00699b5328
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
/*---------------------------------------------------------------------------*
|
|
Project: Horizon
|
|
File: main.cpp
|
|
|
|
Copyright (C)2009 Nintendo Co., Ltd. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Rev: 9608 $
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <nn/os.h>
|
|
#include <nn/dbg.h>
|
|
|
|
#ifdef INTEGRATION_TEST
|
|
#include <nn/os/os_DeviceMemory.h>
|
|
#endif
|
|
|
|
#include "nakayama.h"
|
|
#include "CtrCardTest.cpp"
|
|
|
|
using namespace nn::red::nakayama;
|
|
|
|
extern "C" void nnMain()
|
|
{
|
|
CtrCardTest program;
|
|
|
|
#ifdef INTEGRATION_TEST
|
|
// 連続したバッファの確保
|
|
nn::os::DeviceMemoryBlock* pDeviceMemoryBlock = new nn::os::DeviceMemoryBlock(BUFFER_SIZE, false);
|
|
|
|
// 確保したバッファを登録
|
|
program.card_test_buffer = pDeviceMemoryBlock->GetAddress();
|
|
#endif
|
|
|
|
program.Execute();
|
|
|
|
while(1){};
|
|
}
|