diff --git a/misc/32x/Makefile b/misc/32x/Makefile index cd9d5a617..074dc249b 100644 --- a/misc/32x/Makefile +++ b/misc/32x/Makefile @@ -4,6 +4,8 @@ else ROOTDIR = /opt/toolchains/sega endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options @@ -42,6 +44,10 @@ SHASFLAGS = --big MDLDFLAGS = -T $(LDSCRIPTSDIR)/md.ld --oformat binary MDASFLAGS = -m68000 --register-prefix-optional + +#--------------------------------------------------------------------------------- +# Compiler tools +#--------------------------------------------------------------------------------- SHPREFIX = $(ROOTDIR)/sh-elf/bin/sh-elf- SHCC = $(SHPREFIX)gcc SHAS = $(SHPREFIX)as diff --git a/misc/3ds/Makefile b/misc/3ds/Makefile index a134da5cc..902b47195 100644 --- a/misc/3ds/Makefile +++ b/misc/3ds/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(DEVKITPRO)),) $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/gba/Makefile b/misc/gba/Makefile index fbfc70bfd..f7a53a418 100644 --- a/misc/gba/Makefile +++ b/misc/gba/Makefile @@ -2,7 +2,7 @@ ifeq ($(strip $(DEVKITPRO)),) $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) endif -include $(DEVKITPRO)/devkitARM/gba_rules +.SUFFIXES: #--------------------------------------------------------------------------------- @@ -51,6 +51,17 @@ INCLUDES += $(foreach dir, $(LIBTONC), -I$(dir)/include) LDFLAGS += $(foreach dir, $(LIBTONC), -L$(dir)/lib) +#--------------------------------------------------------------------------------- +# Compiler tools +#--------------------------------------------------------------------------------- +PREFIX = $(DEVKITPRO)/devkitARM/bin/arm-none-eabi- +ARM_AS = $(PREFIX)as +ARM_CC = $(PREFIX)gcc +ARM_OBJCOPY = $(PREFIX)objcopy + +GBAFIX = $(DEVKITPRO)/tools/bin/gbafix + + #--------------------------------------------------------------------------------- # Main targets #--------------------------------------------------------------------------------- @@ -67,21 +78,21 @@ $(BUILD_DIR): # Executable generation #--------------------------------------------------------------------------------- $(TARGET).elf: $(OBJS) - $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + $(ARM_CC) $(LDFLAGS) $^ -o $@ $(LIBS) $(TARGET).gba: $(TARGET).elf - $(OBJCOPY) -O binary $< $@ - gbafix $@ -t$(GAME_TITLE) -c$(GAME_CODE) -m$(MAKER_CODE) + $(ARM_OBJCOPY) -O binary $< $@ + $(GBAFIX) $@ -t$(GAME_TITLE) -c$(GAME_CODE) -m$(MAKER_CODE) #--------------------------------------------------------------------------------- # Object generation #--------------------------------------------------------------------------------- $(BUILD_DIR)/%.o: src/%.c - $(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@ + $(ARM_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@ $(BUILD_DIR)/%.o: src/gba/%.c - $(CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@ + $(ARM_CC) $(CFLAGS) $(INCLUDES) $(DEPFLAGS) -c $< -o $@ #--------------------------------------------------------------------------------- diff --git a/misc/gc/Makefile b/misc/gc/Makefile index dcdcc07da..3d5179f72 100644 --- a/misc/gc/Makefile +++ b/misc/gc/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(DEVKITPRO)),) $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/ps1/Makefile b/misc/ps1/Makefile index fb475a64e..870f94e50 100644 --- a/misc/ps1/Makefile +++ b/misc/ps1/Makefile @@ -4,6 +4,8 @@ $(warning export PSN00BSDK_ROOT=/usr/local/lib/psn00bsdk) $(error Failed to find PSN00BSDK installation path) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/ps2/Makefile b/misc/ps2/Makefile index 7c45fd88a..dc99910ac 100644 --- a/misc/ps2/Makefile +++ b/misc/ps2/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(PS2SDK)),) $(error "PS2SDK must be set in your environment") endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/ps3/Makefile b/misc/ps3/Makefile index 4912d36e2..9064a20e3 100644 --- a/misc/ps3/Makefile +++ b/misc/ps3/Makefile @@ -1,8 +1,3 @@ -#--------------------------------------------------------------------------------- -# Clear the implicit built in rules -#--------------------------------------------------------------------------------- -.SUFFIXES: -#--------------------------------------------------------------------------------- ifeq ($(strip $(PS3DEV)),) $(error "Please set PS3DEV in your environment. export PS3DEV=") endif @@ -10,132 +5,154 @@ ifeq ($(strip $(PSL1GHT)),) $(error "Please set PSL1GHT in your environment. export PSL1GHT=") endif -include $(PS3DEV)/ppu_rules +.SUFFIXES: + #--------------------------------------------------------------------------------- -# TARGET is the name of the output -# BUILD is the directory where object files & intermediate files will be placed -# SOURCES is a list of directories containing source code +# Configurable options #--------------------------------------------------------------------------------- -TARGET := ClassiCube-PS3 -BUILD := build-ps3 -SOURCES := src third_party/bearssl -SHADERS := misc/ps3 +# Name of the final output +TARGET = ClassiCube-PS3 +# Directory where object files are placed +BUILD_DIR = build/ps3 +# List of directories containing source code +SOURCE_DIRS = src src/ps3 third_party/bearssl +SHADERS = misc/ps3 -TITLE := ClassiCube -APPID := CUBE00200 -CONTENTID := UP0001-$(APPID)_00-0000000000000000 -ICON0 := ../misc/ps3/ICON0.png -#--------------------------------------------------------------------------------- -# options for code generation -#--------------------------------------------------------------------------------- +TITLE = ClassiCube +APPID = CUBE00200 +CONTENTID = UP0001-$(APPID)_00-0000000000000000 +ICON0 = misc/ps3/ICON0.png +SFOXML = misc/ps3/sfo.xml -CFLAGS = -O2 -DPLAT_PS3 -Wall -mcpu=cell -fno-math-errno $(MACHDEP) $(INCLUDE) -CXXFLAGS = $(CFLAGS) - -LDFLAGS = $(MACHDEP) -Wl,-Map,$(notdir $@).map -fno-use-linker-plugin #--------------------------------------------------------------------------------- -# any extra libraries we wish to link with the project +# Compilable files #--------------------------------------------------------------------------------- -LIBS := -lrsx -lgcm_sys -lio -lsysutil -lrt -llv2 -lm -lnet -lsysmodule +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) + +# Shaders +VCGFILES := $(notdir $(wildcard $(SHADERS)/*.vcg)) +FCGFILES := $(notdir $(wildcard $(SHADERS)/*.fcg)) +VPOFILES := $(addprefix $(BUILD_DIR)/, $(VCGFILES:.vcg=.vpo)) +FPOFILES := $(addprefix $(BUILD_DIR)/, $(FCGFILES:.fcg=.fpo)) + +OBJS += $(addsuffix .o, $(VPOFILES)) +OBJS += $(addsuffix .o, $(FPOFILES)) + #--------------------------------------------------------------------------------- -# list of directories containing libraries, this must be the top level containing -# include and lib -#--------------------------------------------------------------------------------- -LIBDIRS := +# Code generation +#-------------------------------------------------------------------------------- +MACHDEP = -mhard-float -fmodulo-sched -ffunction-sections -fdata-sections + +CFLAGS = -O2 -DPLAT_PS3 -Wall -mcpu=cell -fno-math-errno $(MACHDEP) $(INCLUDE) +LDFLAGS = $(MACHDEP) -Wl,-Map,$(notdir $@).map -fno-use-linker-plugin +LIBS = -lrsx -lgcm_sys -lio -lsysutil -lrt -llv2 -lm -lnet -lsysmodule + +INCLUDE = -I$(PSL1GHT)/ppu/include -I$(PSL1GHT)/ppu/include/simdmath +LIBPATHS = -L$(PSL1GHT)/ppu/lib + #--------------------------------------------------------------------------------- -# no real need to edit anything past this point unless you need to add additional -# rules for different file extensions -#--------------------------------------------------------------------------------- -ifneq ($(BUILD),$(notdir $(CURDIR))) +# Compiler tools #--------------------------------------------------------------------------------- +AS := $(PS3DEV)/ppu/bin/ppu-as +CC := $(PS3DEV)/ppu/bin/ppu-gcc +LD := $(PS3DEV)/ppu/bin/ppu-gcc +STRIP := $(PS3DEV)/ppu/bin/ppu-strip +OBJCOPY := $(PS3DEV)/ppu/bin/ppu-objcopy -export OUTPUT := $(CURDIR)/$(TARGET) +PKG := $(PS3DEV)/bin/pkg.py +SFO := $(PS3DEV)/bin/sfo.py -export VPATH := $(foreach dir,$(SOURCES),$(CURDIR)/$(dir)) \ - $(foreach dir,$(SHADERS),$(CURDIR)/$(dir)) +SPRX := $(PS3DEV)/bin/sprxlinker +CGCOMP := $(PS3DEV)/bin/cgcomp -export DEPSDIR := $(CURDIR)/$(BUILD) +# fake SELF type4 / type8 tools +FSELF := $(PS3DEV)/bin/fself +FSELF_NPDRM := $(PS3DEV)/bin/fself -n -export BUILDDIR := $(CURDIR)/$(BUILD) +# signed SELF type4 / type8 tools +SELF := $(PS3DEV)/bin/make_self +SELF_NPDRM := $(PS3DEV)/bin/make_self_npdrm + +# NPDRM pkg tool +PACKAGE_FINALIZE := $(PS3DEV)/bin/package_finalize #--------------------------------------------------------------------------------- -# automatically build a list of object files for our project +# Main targets #--------------------------------------------------------------------------------- -CFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.c))) -sFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.s))) -SFILES := $(foreach dir,$(SOURCES),$(notdir $(wildcard $(dir)/*.S))) -VCGFILES := $(notdir $(wildcard misc/ps3/*.vcg)) -FCGFILES := $(notdir $(wildcard misc/ps3/*.fcg)) +default: $(BUILD_DIR) $(TARGET).pkg $(TARGET).fake.self -VPOFILES := $(VCGFILES:.vcg=.vpo) -FPOFILES := $(FCGFILES:.fcg=.fpo) - -#--------------------------------------------------------------------------------- -# use CXX for linking C++ projects, CC for standard C -#--------------------------------------------------------------------------------- -export LD := $(CC) -export OFILES := $(CFILES:.c=.o) $(sFILES:.s=.o) $(SFILES:.S=.o) \ - $(addsuffix .o,$(VPOFILES)) \ - $(addsuffix .o,$(FPOFILES)) - -#--------------------------------------------------------------------------------- -# build a list of include paths -#--------------------------------------------------------------------------------- -export INCLUDE := $(foreach dir,$(LIBDIRS),-I$(dir)/include) \ - $(LIBPSL1GHT_INC) \ - -I$(CURDIR)/$(BUILD) - -#--------------------------------------------------------------------------------- -# build a list of library paths -#--------------------------------------------------------------------------------- -export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib) \ - $(LIBPSL1GHT_LIB) - -export OUTPUT := $(CURDIR)/$(TARGET) -.PHONY: $(BUILD) clean - -#--------------------------------------------------------------------------------- -$(BUILD): - @[ -d $@ ] || mkdir -p $@ - @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/misc/ps3/Makefile - -#--------------------------------------------------------------------------------- clean: - @echo clean ... - @rm -fr $(BUILD) $(OUTPUT).elf $(OUTPUT).self + rm -f $(TARGET).elf $(TARGET).fake.self $(TARGET).sprx $(TARGET).self $(TARGET).pkg $(OBJS) $(DEPFILES) + +$(BUILD_DIR): + mkdir -p $(BUILD_DIR) + #--------------------------------------------------------------------------------- -else +# Executable generation +#--------------------------------------------------------------------------------- +$(TARGET).elf: $(OBJS) + $(LD) $^ $(LDFLAGS) $(LIBPATHS) $(LIBS) -o $@ + +$(TARGET).fake.self: $(TARGET).elf + $(FSELF) $< $@ + +$(TARGET).sprx: $(TARGET).elf + $(STRIP) $< -o $@ + $(SPRX) $@ + +$(TARGET).self: $(TARGET).sprx + $(SELF) $< $@ + +$(TARGET).pkg: $(TARGET).self + mkdir -p $(BUILD_DIR)/pkg/USRDIR + cp $(ICON0) $(BUILD_DIR)/pkg/ICON0.PNG + $(SELF_NPDRM) $(TARGET).sprx $(BUILD_DIR)/pkg/USRDIR/EBOOT.BIN $(CONTENTID) >> /dev/null + $(SFO) --title "$(TITLE)" --appid "$(APPID)" -f $(SFOXML) $(BUILD_DIR)/pkg/PARAM.SFO + $(PKG) --contentid $(CONTENTID) $(BUILD_DIR)/pkg/ $@ >> /dev/null + cp $@ $(TARGET).gnpdrm.pkg + $(PACKAGE_FINALIZE) $(TARGET).gnpdrm.pkg -DEPENDS := $(OFILES:.o=.d) #--------------------------------------------------------------------------------- -# main targets +# Object generation #--------------------------------------------------------------------------------- -$(OUTPUT).pkg: $(OUTPUT).self -$(OUTPUT).self: $(OUTPUT).elf -$(OUTPUT).elf: $(OFILES) +$(BUILD_DIR)/%.o: src/%.c + $(CC) $(CFLAGS) $(INCLUDE) $(DEPFLAGS) -c $< -o $@ + +$(BUILD_DIR)/%.o: src/ps3/%.c + $(CC) $(CFLAGS) $(INCLUDE) $(DEPFLAGS) -c $< -o $@ + +$(BUILD_DIR)/%.o: src/ps3/%.S + $(CC) $(CFLAGS) $(INCLUDE) $(DEPFLAGS) -c $< -o $@ + +$(BUILD_DIR)/%.o: third_party/bearssl/%.c + $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ + +$(BUILD_DIR)/%.vpo: $(SHADERS)/%.vcg + $(CGCOMP) -v $(CGCFLAGS) $^ $@ +$(BUILD_DIR)/%.fpo: $(SHADERS)/%.fcg + $(CGCOMP) -f $(CGCFLAGS) $^ $@ + +$(BUILD_DIR)/%.vpo.o: $(BUILD_DIR)/%.vpo + bin2s -a 64 $< | $(AS) -o $@ +$(BUILD_DIR)/%.fpo.o: $(BUILD_DIR)/%.fpo + bin2s -a 64 $< | $(AS) -o $@ + #--------------------------------------------------------------------------------- -# This rule links in binary data with the .bin extension -%.bin.o : %.bin - @echo $(notdir $<) - @$(bin2o) - -%.vpo.o : %.vpo - @echo $(notdir $<) - @$(bin2o) - -%.fpo.o : %.fpo - @echo $(notdir $<) - @$(bin2o) - --include $(DEPENDS) - -#--------------------------------------------------------------------------------- -endif +# Dependency tracking #--------------------------------------------------------------------------------- +$(DEPFILES): + +include $(wildcard $(DEPFILES)) diff --git a/misc/ps3/sfo.xml b/misc/ps3/sfo.xml new file mode 100644 index 000000000..130f64b07 --- /dev/null +++ b/misc/ps3/sfo.xml @@ -0,0 +1,15 @@ + + + 01.37 + 0 + 1 + HG + ClassiCube was created with the PSL1GHT homebrew SDK. This application is in no way associated with Sony Computer Entertainment Inc. + 0 + 01.8000 + 63 + 279 + ClassiCube + CUBE00200 + 01.37 + diff --git a/misc/psp/Makefile b/misc/psp/Makefile index b0464b278..edd61fa5b 100644 --- a/misc/psp/Makefile +++ b/misc/psp/Makefile @@ -5,6 +5,8 @@ $(error Failed to find PSPSDK installation) endif PSPSDK=$(PSPDEV)/psp/sdk +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/saturn/Makefile b/misc/saturn/Makefile index 759690547..52ba00908 100644 --- a/misc/saturn/Makefile +++ b/misc/saturn/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(YAUL_INSTALL_ROOT)),) $(error Undefined YAUL_INSTALL_ROOT (install root directory)) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/switch/Makefile b/misc/switch/Makefile index 2340095e0..05fc33a4e 100644 --- a/misc/switch/Makefile +++ b/misc/switch/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(DEVKITPRO)),) $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/vita/Makefile b/misc/vita/Makefile index f23039799..afbcbfac1 100644 --- a/misc/vita/Makefile +++ b/misc/vita/Makefile @@ -4,6 +4,8 @@ $(warning export VITASDK=/usr/local/vitasdk) $(error Failed to find VitaSDK installation) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/wii/Makefile b/misc/wii/Makefile index 1731a4ffb..79ba6a1d6 100644 --- a/misc/wii/Makefile +++ b/misc/wii/Makefile @@ -2,6 +2,8 @@ ifeq ($(strip $(DEVKITPRO)),) $(error "Please set DEVKITPRO in your environment. export DEVKITPRO=devkitPro) endif +.SUFFIXES: + #--------------------------------------------------------------------------------- # Configurable options diff --git a/misc/xbox/Makefile b/misc/xbox/Makefile index 4f52a8a17..3c696494b 100644 --- a/misc/xbox/Makefile +++ b/misc/xbox/Makefile @@ -2,6 +2,9 @@ ifeq ($(strip $(NXDK_DIR)),) $(error "Please set NXDK_DIR in your environment") endif +.SUFFIXES: + + #--------------------------------------------------------------------------------- # Configurable options #--------------------------------------------------------------------------------- diff --git a/misc/xbox360/Makefile b/misc/xbox360/Makefile index a7a5ee311..2c8387acd 100644 --- a/misc/xbox360/Makefile +++ b/misc/xbox360/Makefile @@ -2,6 +2,9 @@ ifeq ($(strip $(DEVKITXENON)),) $(error "Please set DEVKITXENON in your environment. export DEVKITXENON=devkitPPC") endif +.SUFFIXES: + + #--------------------------------------------------------------------------------- # Configurable options #--------------------------------------------------------------------------------- @@ -32,7 +35,7 @@ MACHDEP = -DXENON -m32 -maltivec -fno-pic -mpowerpc64 -mhard-float -L$(DEVKITXEN LDSCRIPT = $(DEVKITXENON)/app.lds CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -LDFLAGS = -g $(MACHDEP) -Wl,--gc-sections -Wl,-Map,$(notdir $@).map +LDFLAGS = -g $(MACHDEP) -Wl,--gc-sections LIBS = -lxenon -lm -lfat CFLAGS += -I$(DEVKITXENON)/usr/include diff --git a/src/Graphics_PS3.c b/src/ps3/Graphics_PS3.c similarity index 96% rename from src/Graphics_PS3.c rename to src/ps3/Graphics_PS3.c index d3fc05ff6..b1f635be6 100644 --- a/src/Graphics_PS3.c +++ b/src/ps3/Graphics_PS3.c @@ -1,9 +1,8 @@ -#include "Core.h" -#if defined CC_BUILD_PS3 -#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 #include #include @@ -797,4 +796,3 @@ void Gfx_DrawVb_IndexedTris(int verticesCount) { void Gfx_DrawIndexedTris_T2fC4b(int verticesCount, int startVertex) { rsxDrawVertexArray(context, GCM_TYPE_QUADS, startVertex, verticesCount); } -#endif diff --git a/src/Platform_PS3.c b/src/ps3/Platform_PS3.c similarity index 95% rename from src/Platform_PS3.c rename to src/ps3/Platform_PS3.c index 67d2850ae..28c8a4b70 100644 --- a/src/Platform_PS3.c +++ b/src/ps3/Platform_PS3.c @@ -1,15 +1,13 @@ -#include "Core.h" -#if defined PLAT_PS3 - #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 "PackedCol.h" +#include "../_PlatformBase.h" +#include "../Stream.h" +#include "../ExtMath.h" +#include "../Funcs.h" +#include "../Window.h" +#include "../Utils.h" +#include "../Errors.h" +#include "../PackedCol.h" + #include #include #include @@ -32,7 +30,7 @@ #include #include #include -#include "_PlatformConsole.h" +#include "../_PlatformConsole.h" const cc_result ReturnCode_FileShareViolation = 1000000000; // not used const cc_result ReturnCode_FileNotFound = 0x80010006; // ENOENT; @@ -494,4 +492,3 @@ static cc_result GetMachineID(cc_uint32* key) { Mem_Copy(key, MACHINE_KEY, sizeof(MACHINE_KEY) - 1); return 0; } -#endif diff --git a/src/Window_PS3.c b/src/ps3/Window_PS3.c similarity index 95% rename from src/Window_PS3.c rename to src/ps3/Window_PS3.c index 863f93e20..ffd5f702c 100644 --- a/src/Window_PS3.c +++ b/src/ps3/Window_PS3.c @@ -1,17 +1,16 @@ -#include "Core.h" -#if defined CC_BUILD_PS3 -#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 #include #include @@ -405,4 +404,3 @@ cc_result Window_OpenFileDialog(const struct OpenFileDialogArgs* args) { cc_result Window_SaveFileDialog(const struct SaveFileDialogArgs* args) { return ERR_NOT_SUPPORTED; } -#endif