mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-08 06:47:23 -04:00
Further console fixups
This commit is contained in:
parent
62ef0198c5
commit
c440ff84cc
@ -4,14 +4,31 @@ else
|
||||
ROOTDIR = /opt/toolchains/sega
|
||||
endif
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
#---------------------------------------------------------------------------------
|
||||
TARGET = ClassiCube-32x
|
||||
BUILD_DIR = build/32x
|
||||
SOURCE_DIRS = src src/32x misc/32x
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
C_FILES = $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
S_FILES = misc/32x/sh2_crt0.s
|
||||
OBJS = $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o) $(S_FILES:%.s=%.o)))
|
||||
|
||||
LDSCRIPTSDIR = $(ROOTDIR)/ldscripts
|
||||
LIBS = $(LIBPATH) -lc -lgcc -lgcc-Os-4-200 -lnosys
|
||||
|
||||
LIBPATH = -L$(ROOTDIR)/sh-elf/lib -L$(ROOTDIR)/sh-elf/lib/gcc/sh-elf/4.6.2 -L$(ROOTDIR)/sh-elf/sh-elf/lib
|
||||
INCPATH = -I. -I../include -I$(ROOTDIR)/sh-elf/include -I$(ROOTDIR)/sh-elf/sh-elf/include
|
||||
INCPATH = -I$(ROOTDIR)/sh-elf/include -I$(ROOTDIR)/sh-elf/sh-elf/include
|
||||
|
||||
SHCCFLAGS = -m2 -mb -Ofast -Wall -g -c -fomit-frame-pointer -DPLAT_32X -ffunction-sections -fdata-sections
|
||||
SHHWFLAGS = -m2 -mb -O1 -Wall -g -c -fomit-frame-pointer
|
||||
SHLDFLAGS = -T $(LDSCRIPTSDIR)/mars.ld -Wl,-Map=output.map -nostdlib -Wl,--gc-sections
|
||||
SHLDFLAGS = -T $(LDSCRIPTSDIR)/mars.ld -nostdlib -Wl,--gc-sections
|
||||
SHASFLAGS = --big
|
||||
|
||||
MDLDFLAGS = -T $(LDSCRIPTSDIR)/md.ld --oformat binary
|
||||
@ -27,26 +44,18 @@ MDPREFIX = $(ROOTDIR)/m68k-elf/bin/m68k-elf-
|
||||
MDAS = $(MDPREFIX)as
|
||||
MDLD = $(MDPREFIX)ld
|
||||
|
||||
DD = dd
|
||||
RM = rm -f
|
||||
|
||||
TARGET = ClassiCube-32x
|
||||
LIBS = $(LIBPATH) -lc -lgcc -lgcc-Os-4-200 -lnosys
|
||||
BUILD_DIR = build/32x
|
||||
|
||||
SOURCE_DIRS = src misc/32x
|
||||
C_FILES = $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
S_FILES = misc/32x/sh2_crt0.s
|
||||
OBJS = $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o) $(S_FILES:%.s=%.o)))
|
||||
# Dependency tracking
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
all: $(BUILD_DIR) m68k_crt0.bin m68k_crt1.bin $(TARGET).bin
|
||||
all: $(BUILD_DIR) $(BUILD_DIR)/m68k_crt0.bin $(BUILD_DIR)/m68k_crt1.bin $(TARGET).bin
|
||||
|
||||
clean:
|
||||
$(RM) *.o *.bin *.elf output.map
|
||||
rm -f $(BUILD_DIR)/*.o $(BUILD_DIR)/*.bin $(TARGET).bin $(TARGET).elf
|
||||
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
@ -56,8 +65,8 @@ $(BUILD_DIR):
|
||||
# binary generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).bin: $(TARGET).elf
|
||||
$(SHOBJC) -O binary $< temp.bin
|
||||
$(DD) if=temp.bin of=$@ bs=64K conv=sync
|
||||
$(SHOBJC) -O binary $< $(BUILD_DIR)/temp.bin
|
||||
dd if=$(BUILD_DIR)/temp.bin of=$@ bs=64K conv=sync
|
||||
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(SHCC) $(SHLDFLAGS) $(OBJS) $(LIBS) -o $(TARGET).elf
|
||||
@ -66,13 +75,13 @@ $(TARGET).elf: $(OBJS)
|
||||
$(BUILD_DIR)/m68k_crt0.o: misc/32x/m68k_crt0.s
|
||||
$(MDAS) $(MDASFLAGS) $< -o $@
|
||||
|
||||
m68k_crt0.bin: $(BUILD_DIR)/m68k_crt0.o
|
||||
$(BUILD_DIR)/m68k_crt0.bin: $(BUILD_DIR)/m68k_crt0.o
|
||||
$(MDLD) $(MDLDFLAGS) $< -o $@
|
||||
|
||||
$(BUILD_DIR)/m68k_crt1.o: misc/32x/m68k_crt1.s
|
||||
$(MDAS) $(MDASFLAGS) $< -o $@
|
||||
|
||||
m68k_crt1.bin: $(BUILD_DIR)/m68k_crt1.o
|
||||
$(BUILD_DIR)/m68k_crt1.bin: $(BUILD_DIR)/m68k_crt1.o
|
||||
$(MDLD) $(MDLDFLAGS) $< -o $@
|
||||
|
||||
|
||||
@ -80,10 +89,21 @@ m68k_crt1.bin: $(BUILD_DIR)/m68k_crt1.o
|
||||
# object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o: src/%.c
|
||||
$(SHCC) $(SHCCFLAGS) $(INCPATH) $< -o $@
|
||||
$(SHCC) $(SHCCFLAGS) $(INCPATH) $(DEPFLAGS) $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: src/32x/%.c
|
||||
$(SHCC) $(SHCCFLAGS) $(INCPATH) $(DEPFLAGS) $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: misc/32x/%.c
|
||||
$(SHCC) $(SHCCFLAGS) $(INCPATH) $< -o $@
|
||||
$(SHCC) $(SHCCFLAGS) $(INCPATH) $(DEPFLAGS) $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: misc/32x/%.s
|
||||
$(SHAS) $(SHASFLAGS) $(INCPATH) $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Dependency tracking
|
||||
#---------------------------------------------------------------------------------
|
||||
$(DEPFILES):
|
||||
|
||||
include $(wildcard $(DEPFILES))
|
||||
|
@ -6,11 +6,11 @@
|
||||
|
||||
! Standard MD Header at 0x000
|
||||
|
||||
.incbin "m68k_crt0.bin", 0, 0x3C0
|
||||
.incbin "build/32x/m68k_crt0.bin", 0, 0x3C0
|
||||
|
||||
! Standard Mars Header at 0x3C0
|
||||
|
||||
.ascii "32X Example " /* module name (16 chars) */
|
||||
.ascii "ClassiCube 32X " /* module name (16 chars) */
|
||||
.long 0x00000000 /* version */
|
||||
.long __text_end-0x02000000 /* Source (in ROM) */
|
||||
.long 0x00000000 /* Destination (in SDRAM) */
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
! Standard MD startup code at 0x3F0
|
||||
|
||||
.incbin "m68k_crt1.bin"
|
||||
.incbin "build/32x/m68k_crt1.bin"
|
||||
|
||||
|
||||
.data
|
||||
|
@ -2,8 +2,6 @@ ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||
endif
|
||||
|
||||
include $(DEVKITPRO)/devkitARM/base_tools
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
@ -55,6 +53,20 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
PREFIX := $(DEVKITPRO)/devkitARM/bin/arm-none-eabi-
|
||||
ARM_AS := $(PREFIX)as
|
||||
ARM_CC := $(PREFIX)gcc
|
||||
ARM_CXX := $(PREFIX)g++
|
||||
|
||||
_DSXTOOL := $(DEVKITPRO)/tools/bin/3dsxtool
|
||||
SMDHTOOL := $(DEVKITPRO)/tools/bin/smdhtool
|
||||
PICASSO := $(DEVKITPRO)/tools/bin/picasso
|
||||
BIN2S := $(DEVKITPRO)/tools/bin/bin2s
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -71,13 +83,13 @@ $(BUILD_DIR):
|
||||
# Executable generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
$(ARM_CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
$(BUILD_DIR).smdh: $(APP_ICON)
|
||||
smdhtool --create "$(APP_TITLE)" "$(APP_DESCRIPTION)" "$(APP_AUTHOR)" $(APP_ICON) $@
|
||||
$(SMDHTOOL) --create "$(APP_TITLE)" "$(APP_DESCRIPTION)" "$(APP_AUTHOR)" $(APP_ICON) $@
|
||||
|
||||
$(TARGET).3dsx: $(TARGET).elf $(BUILD_DIR).smdh
|
||||
3dsxtool $< $@ --smdh=$(BUILD_DIR).smdh
|
||||
$(_DSXTOOL) $< $@ --smdh=$(BUILD_DIR).smdh
|
||||
|
||||
$(BUILD_DIR)/makerom:
|
||||
wget https://github.com/3DSGuy/Project_CTR/releases/download/makerom-v0.18.3/makerom-v0.18.3-ubuntu_x86_64.zip -O $(BUILD_DIR)/makerom.zip
|
||||
@ -92,19 +104,19 @@ $(TARGET).cia : $(TARGET).3dsx $(BUILD_DIR)/makerom
|
||||
# Object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o: src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(ARM_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: src/3ds/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(ARM_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: third_party/bearssl/src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
$(ARM_CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.shbin: misc/3ds/%.v.pica
|
||||
picasso $< -o $@
|
||||
$(PICASSO) $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.shbin.o: $(BUILD_DIR)/%.shbin
|
||||
bin2s $< | $(AS) -o $@
|
||||
$(BIN2S) $< | $(ARM_AS) -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -2,8 +2,6 @@ ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||
endif
|
||||
|
||||
include $(DEVKITPRO)/devkitPPC/base_tools
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
@ -37,6 +35,17 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
PREFIX := $(DEVKITPRO)/devkitPPC/bin/powerpc-eabi-
|
||||
PPC_AS := $(PREFIX)as
|
||||
PPC_CC := $(PREFIX)gcc
|
||||
PPC_CXX := $(PREFIX)g++
|
||||
|
||||
ELF2DOL := $(DEVKITPRO)/tools/bin/elf2dol
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -53,23 +62,23 @@ $(BUILD_DIR):
|
||||
# Executable generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
$(PPC_CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
$(TARGET).dol: $(TARGET).elf
|
||||
elf2dol $< $@
|
||||
$(ELF2DOL) $< $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o: src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: src/gcwii/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: third_party/bearssl/src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -37,7 +37,7 @@ PS1LIBS := libpsxgpu libpsxgte libpsxspu libpsxcd libpsxpress libpsxsio libpsxet
|
||||
PS1LIBS := $(addprefix $(PSN00BSDK_ROOT)/lib/libpsn00b/debug/, $(PS1LIBS))
|
||||
PS1LIBS := $(addsuffix _exe_gprel.a, $(PS1LIBS))
|
||||
|
||||
LDFLAGS = -g -T$(PSN00BSDK_ROOT)/lib/libpsn00b/ldscripts/exe.ld -nostdlib -Wl,-gc-sections -G8 -static \
|
||||
LDFLAGS = -g -T$(PSN00BSDK_ROOT)/lib/libpsn00b/ldscripts/exe.ld -nostdlib -Wl,-gc-sections -G8 -static
|
||||
LIBS = -lgcc $(PS1LIBS)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -6,9 +6,12 @@ endif
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
#---------------------------------------------------------------------------------
|
||||
SOURCE_DIRS := src src/ps2 third_party/bearssl/src
|
||||
BUILD_DIR = build/ps2
|
||||
# Name of the final output
|
||||
TARGET = ClassiCube-ps2
|
||||
# List of directories containing source code
|
||||
SOURCE_DIRS := src src/ps2 third_party/bearssl/src
|
||||
# Directory where object files are placed
|
||||
BUILD_DIR = build/ps2
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -18,10 +21,6 @@ S_FILES := $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.S))
|
||||
C_FILES := $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
OBJS := $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o) $(S_FILES:%.S=%.o)))
|
||||
|
||||
# Dependency tracking
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
IOP_MODS := DEV9_irx.o NETMAN_irx.o SMAP_irx.o USBD_irx.o BDM_irx.o BDMFS_FATFS_irx.o USBMASS_BD_irx.o USBHDFSD_irx.o USBMOUSE_irx.o USBKBD_irx.o
|
||||
|
||||
EE_OBJS = $(OBJS) $(patsubst %.o, $(BUILD_DIR)/%.o, $(IOP_MODS))
|
||||
@ -32,6 +31,17 @@ EE_CFLAGS := -D_EE -G0 -O2 -Wall -gdwarf-2 -gz -DPLAT_PS2
|
||||
EE_LDFLAGS := -L$(PS2SDK)/ee/lib -Wl,-zmax-page-size=128
|
||||
EE_LINKFILE := $(PS2SDK)/ee/startup/linkfile
|
||||
|
||||
# Dependency tracking
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
EE_CC = mips64r5900el-ps2-elf-gcc
|
||||
EE_STRIP = mips64r5900el-ps2-elf-strip
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# main targets
|
||||
@ -44,8 +54,6 @@ clean:
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
include $(PS2SDK)/samples/Makefile.pref
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# IRX modules
|
||||
|
@ -7,13 +7,20 @@ $(warning export PSPSDK=$$(shell psp-config --pspsdk-path))
|
||||
$(error Failed to find PSPSDK installation)
|
||||
endif
|
||||
|
||||
# Name of the final output
|
||||
TARGET = ClassiCube-psp
|
||||
# List of directories containing source code
|
||||
SOURCE_DIRS = src third_party/bearssl/src
|
||||
# Directory where object files are placed
|
||||
BUILD_DIR = build/psp
|
||||
|
||||
PSP_EBOOT_TITLE = ClassiCube
|
||||
PSP_EBOOT_ICON = misc/psp/ICON0.png
|
||||
|
||||
BUILD_DIR := build/psp
|
||||
SOURCE_DIRS := src third_party/bearssl/src
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
C_FILES := $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
OBJS := $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o)))
|
||||
|
||||
@ -36,17 +43,22 @@ include $(PSPSDK)/lib/build.mak
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# object generation
|
||||
# main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o : src/%.c
|
||||
$(CC) $(CFLAGS) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o : third_party/bearssl/src/%.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
# Dependency tracking
|
||||
$(DEPFILES):
|
||||
|
||||
|
@ -2,8 +2,6 @@ ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||
endif
|
||||
|
||||
include $(DEVKITPRO)/devkitA64/base_tools
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
@ -41,7 +39,7 @@ LIBNX = $(DEVKITPRO)/libnx
|
||||
INCLUDES += $(foreach dir, $(LIBNX), -I$(dir)/include)
|
||||
LDFLAGS += $(foreach dir, $(LIBNX), -L$(dir)/lib)
|
||||
|
||||
PORTLIBS = $(PORTLIBS_PATH)/switch
|
||||
PORTLIBS = $(DEVKITPRO)/portlibs/switch
|
||||
INCLUDES += $(foreach dir, $(PORTLIBS), -I$(dir)/include)
|
||||
LDFLAGS += $(foreach dir, $(PORTLIBS), -L$(dir)/lib)
|
||||
|
||||
@ -50,6 +48,18 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
PREFIX := $(DEVKITPRO)/devkitA64/bin/aarch64-none-elf-
|
||||
A64_AS := $(PREFIX)as
|
||||
A64_CC := $(PREFIX)gcc
|
||||
A64_CXX := $(PREFIX)g++
|
||||
|
||||
ELF2NRO := $(DEVKITPRO)/tools/bin/elf2nro
|
||||
NACPTOOL := $(DEVKITPRO)/tools/bin/nacptool
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -66,26 +76,26 @@ $(BUILD_DIR):
|
||||
# Executable generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(CXX) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
$(A64_CXX) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).nacp:
|
||||
nacptool --create "$(APP_TITLE)" "$(APP_AUTHOR)" "$(APP_VERSION)" $@ --titleid=$(APP_TITLEID)
|
||||
$(NACPTOOL) --create "$(APP_TITLE)" "$(APP_AUTHOR)" "$(APP_VERSION)" $@ --titleid=$(APP_TITLEID)
|
||||
|
||||
$(TARGET).nro: $(TARGET).elf $(BUILD_DIR)/$(TARGET).nacp
|
||||
elf2nro $< $@ --icon=$(APP_ICON) --nacp=$(BUILD_DIR)/$(TARGET).nacp
|
||||
$(ELF2NRO) $< $@ --icon=$(APP_ICON) --nacp=$(BUILD_DIR)/$(TARGET).nacp
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o: src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(A64_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: src/switch/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(A64_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: third_party/bearssl/src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
$(A64_CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -1,33 +1,63 @@
|
||||
ifeq ($(strip $(VITASDK)),)
|
||||
$(warning "Please set VITASDK variables in your environment. For example:")
|
||||
$(warning export VITASDK=/usr/local/vitasdk)
|
||||
$(warning export PATH=$$VITASDK/bin:$$PATH)
|
||||
$(error Failed to find VitaSDK installation)
|
||||
endif
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
#---------------------------------------------------------------------------------
|
||||
# Name of the final output
|
||||
TARGET := ClassiCube-vita
|
||||
# List of directories containing source code
|
||||
SOURCE_DIRS := src src/psvita third_party/bearssl/src
|
||||
# Directory where object files are placed
|
||||
BUILD_DIR := build/vita
|
||||
|
||||
PROJECT_TITLE := ClassiCube
|
||||
PROJECT_TITLEID := CUBE00200
|
||||
TARGET := ClassiCube-vita
|
||||
|
||||
BUILD_DIR := build/vita
|
||||
SOURCE_DIRS := src third_party/bearssl/src
|
||||
|
||||
CFLAGS += -Wl,-q -Ithird_party/bearssl/inc -O1
|
||||
C_FILES := $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
OBJS := $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o)))
|
||||
#---------------------------------------------------------------------------------
|
||||
# Code generation
|
||||
#---------------------------------------------------------------------------------
|
||||
C_FILES = $(foreach dir,$(SOURCE_DIRS),$(wildcard $(dir)/*.c))
|
||||
OBJS = $(addprefix $(BUILD_DIR)/, $(notdir $(C_FILES:%.c=%.o)))
|
||||
|
||||
LIBS += -lm -lSceDisplay_stub -lSceCtrl_stub -lSceTouch_stub -lSceGxm_stub -lSceCommonDialog_stub -lSceAppUtil_stub
|
||||
CFLAGS = -Ithird_party/bearssl/inc -O1
|
||||
|
||||
LDFLAGS = -Wl,-q
|
||||
LIBS = -lm -lSceDisplay_stub -lSceCtrl_stub -lSceTouch_stub -lSceGxm_stub -lSceCommonDialog_stub -lSceAppUtil_stub
|
||||
|
||||
# Dependency tracking
|
||||
DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
PREFIX := $(VITASDK)/bin/arm-vita-eabi-
|
||||
VITA_AS := $(PREFIX)as
|
||||
VITA_CC := $(PREFIX)gcc
|
||||
VITA_CXX:= $(PREFIX)g++
|
||||
VITA_STRIP := $(PREFIX)strip
|
||||
|
||||
PACK_VPK := $(VITASDK)/bin/vita-pack-vpk
|
||||
MAKE_FSELF := $(VITASDK)/bin/vita-make-fself
|
||||
MKSOFEX := $(VITASDK)/bin/vita-mksfoex
|
||||
ELF_CREATE := $(VITASDK)/bin/vita-elf-create
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
default: $(BUILD_DIR) $(TARGET).vpk
|
||||
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
clean:
|
||||
rm $(TARGET).velf $(TARGET).elf $(TARGET).vpk param.sfo eboot.bin $(OBJS)
|
||||
|
||||
@ -36,34 +66,35 @@ clean:
|
||||
# executable generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).vpk: eboot.bin param.sfo
|
||||
vita-pack-vpk -s param.sfo -b eboot.bin -a misc/vita/sce_sys/ICON0.png=sce_sys/ICON0.png $(TARGET).vpk
|
||||
$(PACK_VPK) -s param.sfo -b eboot.bin -a misc/vita/sce_sys/ICON0.png=sce_sys/ICON0.png $(TARGET).vpk
|
||||
|
||||
eboot.bin: $(TARGET).velf
|
||||
vita-make-fself $(TARGET).velf eboot.bin
|
||||
$(MAKE_FSELF) $(TARGET).velf eboot.bin
|
||||
|
||||
param.sfo:
|
||||
vita-mksfoex -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
|
||||
$(MKSOFEX) -s TITLE_ID="$(PROJECT_TITLEID)" "$(PROJECT_TITLE)" param.sfo
|
||||
|
||||
$(TARGET).velf: $(TARGET).elf
|
||||
arm-vita-eabi-strip -g $<
|
||||
vita-elf-create $< $@
|
||||
$(VITA_STRIP) -g $<
|
||||
$(ELF_CREATE) $< $@
|
||||
|
||||
$(TARGET).elf: $(OBJS)
|
||||
arm-vita-eabi-gcc $(CFLAGS) $^ $(LIBS) -o $@
|
||||
$(VITA_CC) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
$(BUILD_DIR)/%.o : src/%.c
|
||||
arm-vita-eabi-gcc $(CFLAGS) $(DEPFLAGS) -c $< -o $@
|
||||
$(VITA_CC) $(CFLAGS) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o : third_party/bearssl/src/%.c
|
||||
arm-vita-eabi-gcc $(CFLAGS) -c $< -o $@
|
||||
$(VITA_CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Dependency tracking
|
||||
#---------------------------------------------------------------------------------
|
||||
# Dependency tracking
|
||||
$(DEPFILES):
|
||||
|
||||
|
@ -2,8 +2,6 @@ ifeq ($(strip $(DEVKITPRO)),)
|
||||
$(error "Please set DEVKITPRO in your environment. export DEVKITPRO=<path to>devkitPro)
|
||||
endif
|
||||
|
||||
include $(DEVKITPRO)/devkitPPC/base_tools
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Configurable options
|
||||
@ -37,6 +35,17 @@ DEPFLAGS = -MT $@ -MMD -MP -MF $(BUILD_DIR)/$*.d
|
||||
DEPFILES := $(OBJS:%.o=%.d)
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Compiler tools
|
||||
#---------------------------------------------------------------------------------
|
||||
PREFIX := $(DEVKITPRO)/devkitPPC/bin/powerpc-eabi-
|
||||
PPC_AS := $(PREFIX)as
|
||||
PPC_CC := $(PREFIX)gcc
|
||||
PPC_CXX := $(PREFIX)g++
|
||||
|
||||
ELF2DOL := $(DEVKITPRO)/tools/bin/elf2dol
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Main targets
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -53,23 +62,23 @@ $(BUILD_DIR):
|
||||
# Executable generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(TARGET).elf: $(OBJS)
|
||||
$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
$(PPC_CC) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
|
||||
$(TARGET).dol: $(TARGET).elf
|
||||
elf2dol $< $@
|
||||
$(ELF2DOL) $< $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Object generation
|
||||
#---------------------------------------------------------------------------------
|
||||
$(BUILD_DIR)/%.o: src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: src/gcwii/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@
|
||||
|
||||
$(BUILD_DIR)/%.o: third_party/bearssl/src/%.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
$(PPC_CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -13,9 +13,9 @@ TOPDIR ?= $(CURDIR)
|
||||
# APP_SHORTNAME sets the short name of the application
|
||||
# APP_AUTHOR sets the author of the application
|
||||
#-------------------------------------------------------------------------------
|
||||
#APP_NAME := Application Name
|
||||
#APP_SHORTNAME := App Name
|
||||
#APP_AUTHOR := Built with devkitPPC & wut
|
||||
APP_NAME := ClassiCube
|
||||
APP_SHORTNAME := ClassiCube
|
||||
APP_AUTHOR := ClassiCube team
|
||||
|
||||
include $(DEVKITPRO)/wut/share/wut_rules
|
||||
|
||||
|
@ -1,24 +1,23 @@
|
||||
#include "Core.h"
|
||||
#if defined PLAT_32X
|
||||
|
||||
#define OVERRIDE_MEM_FUNCTIONS
|
||||
#include "_PlatformBase.h"
|
||||
#include "Stream.h"
|
||||
#include "ExtMath.h"
|
||||
#include "Funcs.h"
|
||||
#include "Window.h"
|
||||
#include "Utils.h"
|
||||
#include "Errors.h"
|
||||
#include "Options.h"
|
||||
#include "PackedCol.h"
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
#include "../ExtMath.h"
|
||||
#include "../Funcs.h"
|
||||
#include "../Window.h"
|
||||
#include "../Utils.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Options.h"
|
||||
#include "../PackedCol.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
#include "_PlatformConsole.h"
|
||||
#include "../misc/32x/32x.h"
|
||||
#include "../misc/32x/hw_32x.h"
|
||||
#include "../third_party/tinyalloc/tinyalloc.c"
|
||||
#include "../_PlatformConsole.h"
|
||||
|
||||
#include "../../misc/32x/32x.h"
|
||||
#include "../../misc/32x/hw_32x.h"
|
||||
#include "../../third_party/tinyalloc/tinyalloc.c"
|
||||
|
||||
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
||||
const cc_result ReturnCode_FileNotFound = 99999;
|
||||
@ -276,5 +275,4 @@ cc_result Platform_Encrypt(const void* data, int len, cc_string* dst) {
|
||||
cc_result Platform_Decrypt(const void* data, int len, cc_string* dst) {
|
||||
return ERR_NOT_SUPPORTED;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,21 +1,20 @@
|
||||
#include "Core.h"
|
||||
#if defined CC_BUILD_32X
|
||||
#include "Window.h"
|
||||
#include "Platform.h"
|
||||
#include "Input.h"
|
||||
#include "Event.h"
|
||||
#include "Graphics.h"
|
||||
#include "String.h"
|
||||
#include "Funcs.h"
|
||||
#include "Bitmap.h"
|
||||
#include "Errors.h"
|
||||
#include "ExtMath.h"
|
||||
#include "Logger.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
#include "../Event.h"
|
||||
#include "../Graphics.h"
|
||||
#include "../String.h"
|
||||
#include "../Funcs.h"
|
||||
#include "../Bitmap.h"
|
||||
#include "../Errors.h"
|
||||
#include "../ExtMath.h"
|
||||
#include "../Logger.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "../misc/32x/32x.h"
|
||||
#include "../misc/32x/hw_32x.h"
|
||||
#include "../../misc/32x/32x.h"
|
||||
#include "../../misc/32x/hw_32x.h"
|
||||
|
||||
// framebuffer only 128 kb
|
||||
#define SCREEN_WIDTH 320
|
||||
@ -163,4 +162,4 @@ cc_result Window_OpenFileDialog(const struct OpenFileDialogArgs* args) {
|
||||
cc_result Window_SaveFileDialog(const struct SaveFileDialogArgs* args) {
|
||||
return ERR_NOT_SUPPORTED;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Audio.h"
|
||||
#include <3ds.h>
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Logger.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
#include "../ExtMath.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Audio.h"
|
||||
|
||||
#include <asndlib.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Logger.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Window.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Window.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
@ -25,7 +24,7 @@
|
||||
#include <libmouse.h>
|
||||
|
||||
static cc_bool launcherMode, mouseSupported, kbdSupported;
|
||||
#include "VirtualCursor.h"
|
||||
#include "../VirtualCursor.h"
|
||||
struct _DisplayData DisplayInfo;
|
||||
struct cc_window WindowInfo;
|
||||
|
||||
|
@ -1,9 +1,8 @@
|
||||
#include "Core.h"
|
||||
#if defined CC_BUILD_PSVITA
|
||||
#include "_GraphicsBase.h"
|
||||
#include "Errors.h"
|
||||
#include "Logger.h"
|
||||
#include "Window.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Logger.h"
|
||||
#include "../Window.h"
|
||||
|
||||
#include <vitasdk.h>
|
||||
|
||||
// TODO track last frame used on
|
||||
@ -1186,4 +1185,4 @@ void Gfx_ClearBuffers(GfxBuffers buffers) {
|
||||
|
||||
Gfx_SetDepthTest(true);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,20 +1,17 @@
|
||||
#include "Core.h"
|
||||
#if defined CC_BUILD_PSVITA
|
||||
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "_PlatformBase.h"
|
||||
#include "Stream.h"
|
||||
#include "ExtMath.h"
|
||||
#include "Funcs.h"
|
||||
#include "Window.h"
|
||||
#include "Utils.h"
|
||||
#include "Errors.h"
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
#include "../ExtMath.h"
|
||||
#include "../Funcs.h"
|
||||
#include "../Window.h"
|
||||
#include "../Utils.h"
|
||||
#include "../Errors.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <vitasdk.h>
|
||||
#include "_PlatformConsole.h"
|
||||
#include "../_PlatformConsole.h"
|
||||
|
||||
const cc_result ReturnCode_FileShareViolation = 1000000000; // not used
|
||||
const cc_result ReturnCode_FileNotFound = ENOENT;
|
||||
@ -452,4 +449,4 @@ static cc_result GetMachineID(cc_uint32* key) {
|
||||
Mem_Copy(key, MACHINE_KEY, sizeof(MACHINE_KEY) - 1);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
@ -1,17 +1,16 @@
|
||||
#include "Core.h"
|
||||
#if defined CC_BUILD_PSVITA
|
||||
#include "Window.h"
|
||||
#include "Platform.h"
|
||||
#include "Input.h"
|
||||
#include "Event.h"
|
||||
#include "Graphics.h"
|
||||
#include "String.h"
|
||||
#include "Funcs.h"
|
||||
#include "Bitmap.h"
|
||||
#include "Errors.h"
|
||||
#include "ExtMath.h"
|
||||
#include "Logger.h"
|
||||
#include "VirtualKeyboard.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
#include "../Event.h"
|
||||
#include "../Graphics.h"
|
||||
#include "../String.h"
|
||||
#include "../Funcs.h"
|
||||
#include "../Bitmap.h"
|
||||
#include "../Errors.h"
|
||||
#include "../ExtMath.h"
|
||||
#include "../Logger.h"
|
||||
#include "../VirtualKeyboard.h"
|
||||
|
||||
#include <vitasdk.h>
|
||||
|
||||
static cc_bool launcherMode;
|
||||
@ -308,4 +307,4 @@ void OnscreenKeyboard_SetText(const cc_string* text) {
|
||||
void OnscreenKeyboard_Close(void) {
|
||||
VirtualKeyboard_Close();
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Audio.h"
|
||||
|
||||
#include <switch.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_WindowBase.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../_GraphicsBase.h"
|
||||
#include "../Errors.h"
|
||||
#include "../Logger.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#define CC_XTEA_ENCRYPTION
|
||||
#include "../_PlatformBase.h"
|
||||
#include "../Stream.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "../Core.h"
|
||||
#include "../Window.h"
|
||||
#include "../Platform.h"
|
||||
#include "../Input.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user