diff --git a/examples/PoolBox/PoolBox.code-workspace b/examples/PoolBox/PoolBox.code-workspace index 849b20e6..fba4bb64 100644 --- a/examples/PoolBox/PoolBox.code-workspace +++ b/examples/PoolBox/PoolBox.code-workspace @@ -11,11 +11,11 @@ { "label": "build", "type": "shell", - "windows": { // v re-export for WSL v re-export for WSL - "command": "wsl make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} PSX_LICENSE_PATH=$(wslpath ${env:PSX_LICENSE_PATH}) JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})", + "windows": { // v re-export for WSL v re-export for WSL + "command": "wsl make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} TV_FORMAT=${input:tv format} PSX_LICENSE_PATH=$(wslpath ${env:PSX_LICENSE_PATH}) JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})", }, "linux": { - "command": "make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile}", + "command": "make ${input:project}_${input:target} BUILD_PROFILE=${input:build profile} TV_FORMAT=${input:tv format}", }, "group": { "kind": "build", @@ -30,7 +30,7 @@ { "label": "read memory map", "type": "shell", - "command": "psxreadmap.exe ${input:output memory map} application/bin/PSX-${input:build profile}/PoolBox.elf", + "command": "psxreadmap.exe ${input:output memory map} application/bin/${input:tv format}/PSX-${input:build profile}/PoolBox.elf", "problemMatcher": [], "options": { "env": { @@ -61,6 +61,13 @@ "default": "all", "description": "the build target" }, + { + "id": "tv format", + "type": "pickString", + "options": ["PAL", "NTSC"], + "default": "PAL", + "description": "TV format to use" + }, { "id": "output memory map", "type": "pickString", diff --git a/examples/PoolBox/application/Makefile b/examples/PoolBox/application/Makefile index 269b0507..2b94dbf6 100644 --- a/examples/PoolBox/application/Makefile +++ b/examples/PoolBox/application/Makefile @@ -1,5 +1,3 @@ -BUILD_DIR = bin - OVERLAY_CONFIG = Overlays.json include $(JABY_ENGINE_DIR)/mkfile/Wildcard.mk diff --git a/examples/PoolBox/iso/Config.xml b/examples/PoolBox/iso/Config.xml index a2f4907e..f34eb2b7 100644 --- a/examples/PoolBox/iso/Config.xml +++ b/examples/PoolBox/iso/Config.xml @@ -5,12 +5,12 @@ System.cnf -
../application/bin/PSX-release/PoolBox.psexe
- ../application/bin/PSX-release/Overlay.controller_tests - ../application/bin/PSX-release/Overlay.gpu_tests - ../application/bin/PSX-release/Overlay.gte_tests - ../application/bin/PSX-release/Overlay.font_cycler - ../application/bin/PSX-release/Overlay.screen_center +
../application/bin/%TV_FORMAT%/PSX-release/PoolBox.psexe
+ ../application/bin/%TV_FORMAT%/PSX-release/Overlay.controller_tests + ../application/bin/%TV_FORMAT%/PSX-release/Overlay.gpu_tests + ../application/bin/%TV_FORMAT%/PSX-release/Overlay.gte_tests + ../application/bin/%TV_FORMAT%/PSX-release/Overlay.font_cycler + ../application/bin/%TV_FORMAT%/PSX-release/Overlay.screen_center