mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
DispOwnerInfoがTwlSDKでもビルドが通るように修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2821 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
52325f1afa
commit
3d309a815d
@ -54,8 +54,8 @@ SUBDIRS = banner
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
TARGET_NEF = DebugForIPL2.nef
|
||||
TARGET_BIN = DebugForIPL2.srl
|
||||
TARGET_NEF = DispOwnerInfo.nef
|
||||
TARGET_BIN = DispOwnerInfo.srl
|
||||
|
||||
SRCS = main.c initFunc.c font.c data.c dispNCD.c myFunc.c myChar.c
|
||||
|
||||
@ -74,14 +74,13 @@ MAKEROM_ROMROOT = ./data
|
||||
MAKEROM_ROMFILES = *.bin
|
||||
|
||||
LINCLUDES += include
|
||||
LLIBRARY_DIRS += mlib/$(NITRO_LIBTYPE)
|
||||
LLIBRARIES += libfnt.a
|
||||
LLIBRARY_DIRS += mlib/$(NITRO_LIBTYPE) $(FONT_DIR)
|
||||
LLIBRARIES += libfnt.a $(FONTS:.dat=.o)
|
||||
|
||||
LDIRT_CLEAN = $(FONT_DIR)/*.o
|
||||
|
||||
include $(NITROSDK_ROOT)/build/buildtools/commondefs
|
||||
|
||||
CCFLAGS += -DSDK_NCD_LOCAL_USE -DD$(IPL2_VER)
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
@ -89,15 +88,10 @@ do-build: $(FONT_OBJS) $(TARGETS)
|
||||
|
||||
include $(NITROSDK_ROOT)/build/buildtools/modulerules
|
||||
|
||||
OBJS_STATIC += $(FONT_OBJS)
|
||||
|
||||
$(TARGETS) : $(MAKEROM_ARM7)
|
||||
|
||||
$(FONT_DIR)/%.o : $(FONT_DIR)/%.dat
|
||||
$(CW_BINDIR)/BinToElf.exe $< -aligndata 4 -endian little -output $@
|
||||
|
||||
release:
|
||||
updateReleasetime.plx src/mainMenu.c
|
||||
|
||||
|
||||
#===== End of Makefile =====
|
||||
|
||||
@ -62,7 +62,7 @@ $(TARGETS): $(BANNER_SPEC) $(BANNER_ICON)
|
||||
#----------------------------------------------------------------------------
|
||||
# test
|
||||
#----------------------------------------------------------------------------
|
||||
include $(NITROSDK_ROOT)/build/buildtools/commondefs.emtype.ISD
|
||||
#include $(NITROSDK_ROOT)/build/buildtools/commondefs.emtype.ISD
|
||||
|
||||
test: $(TARGETS)
|
||||
$(ADDBANNER) $(TARGETS) $(TARGETS:.bnr=.srl)
|
||||
|
||||
Binary file not shown.
19
build/tests/DispOwnerInfo/readme.txt
Normal file
19
build/tests/DispOwnerInfo/readme.txt
Normal file
@ -0,0 +1,19 @@
|
||||
コンポーネントの中韓対応情報
|
||||
|
||||
WW版のみ:rev.1より
|
||||
|
||||
サンプル NitroSDK 2.00 : rev.1.34
|
||||
|
||||
中国対応:rev.1.35より
|
||||
サンプル NitroSDK 2.01 : rev.1.38
|
||||
|
||||
韓国対応:rev.1.43より
|
||||
サンプル TwlSDK 5.1PR1 : rev.*
|
||||
|
||||
|
||||
|
||||
ビルド方法
|
||||
|
||||
NitroSDK2.00, 2.01は、CW1.00fcでビルドしてください。
|
||||
TwlSDK5.1PR1は、CW1.02でビルドしてください。また、TWLSDK_PLATFORM=NITROの環境でビルドしてください。
|
||||
|
||||
@ -167,7 +167,9 @@ void SEQ_DispNCD_init( void )
|
||||
|
||||
ClearAllStringSJIS();
|
||||
|
||||
(void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK]" );
|
||||
// (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 2.00 W]" );
|
||||
// (void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 2.01 WC]" );
|
||||
(void)DrawStringSJIS( 1, 0, YELLOW, (const u8 *)"Disp OwnerInfo [Use SDK 5.01 PR1 WCK]" );
|
||||
|
||||
DrawNCD_ElementName();
|
||||
DrawNCD_Element();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user