TwlToolsRED/build/tools/MasterEditor/RomFilenameDecoderTWL/RomFilenameDecoderTWL/rfd_util.h
nishikawa_takeshi d0c2672f63 ROMファイルデコーダ:初版。マスターROMファイル名からリマスターバージョンと提出バージョンを取得するプログラム。
perlのほうが楽だけど、cygwin入れるの嫌がられるのでVCで作成。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@107 7061adef-622a-194b-ae81-725974e89856
2009-01-08 10:53:45 +00:00

26 lines
803 B
C++

#pragma once
#include <twl/types.h>
#include <twl/os/common/format_rom.h>
namespace RomFilenameDecoderTWL
{
// ------------------------------------------------------------------
// ROMヘッダの読み込み
// ------------------------------------------------------------------
System::Boolean readRomHeader( System::String ^srlfile, ROM_Header *rh );
// ------------------------------------------------------------------
// String を char 配列に格納
// ------------------------------------------------------------------
// @arg [out] 格納先
// @arg [in] 格納元
// @arg [in] 文字列長
// @arg [in] 余りを埋める padding
void setStringToChars( char *pDst, System::String ^hSrc,
const System::Int32 nMax, const System::SByte pad );
} //namespace RomFilenameDecoderTWL