/*---------------------------------------------------------------------------* Project: Revolution oslog Demo File: oslogdemo.c Copyright 2008-2009 Nintendo. 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. *---------------------------------------------------------------------------*/ #include #include #define NUM_TEST 4 void main() { int i; s32 ret; // ------------------------------------------------- // // 1. Write to NAND // ------------------------------------------------- // // Set output destination to NAND ret = OSReportDestination( OS_REPORT_NAND ); if(ret != OSLOG_RESULT_OK) { OSReport("Can not set destination of OSReport.\n"); // If output destination was not switched appropriately } // Actually output an OSReport for(i=0; i