From f83062018203fa0e967ead52dd1906fa95d6fe9f Mon Sep 17 00:00:00 2001 From: kamikawa Date: Mon, 8 Sep 2008 10:30:17 +0000 Subject: [PATCH] =?UTF-8?q?Rev2438=E3=81=A7=E3=81=AE=E3=82=B3=E3=83=9F?= =?UTF-8?q?=E3=83=83=E3=83=88=E3=81=97=E5=BF=98=E3=82=8C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2440 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- .../common/ARM9/include/common_utility.h | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 build/systemMenu_tools/common/ARM9/include/common_utility.h diff --git a/build/systemMenu_tools/common/ARM9/include/common_utility.h b/build/systemMenu_tools/common/ARM9/include/common_utility.h new file mode 100644 index 00000000..f1a03d77 --- /dev/null +++ b/build/systemMenu_tools/common/ARM9/include/common_utility.h @@ -0,0 +1,47 @@ +/*---------------------------------------------------------------------------* + Project: TwlIPL - Tools + File: common_utility.h + + Copyright 2008 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. + + $Date:: $ + $Rev$ + $Author$ + *---------------------------------------------------------------------------*/ +#ifndef COMMON_UTILITY_H_ +#define COMMON_UTILITY_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +/*---------------------------------------------------------------------------* + Name: MakeFullPathForSD + + Description: SDアーカイブ用のフルパスを作成します。 + + Arguments: + + Returns: None + *---------------------------------------------------------------------------*/ +static inline void MakeFullPathForSD(char* file_name, char* full_path) +{ + STD_CopyString( full_path, "sdmc:/" ); + STD_ConcatenateString( full_path, file_name ); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +#endif /* COMMON_UTILITY_H_ */ + +/*---------------------------------------------------------------------------* + End of file + *---------------------------------------------------------------------------*/