PS1: Fix generating unloadable bin CD image

This commit is contained in:
UnknownShadow200 2024-07-14 15:25:33 +10:00
parent e59c1cf0e8
commit 22eb11689b
4 changed files with 9 additions and 9 deletions

View file

@ -39,23 +39,23 @@ jobs:
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'misc/ps1/build/template.elf'
SOURCE_FILE: 'misc/ps1/build/ClassiCube-PS1.elf'
DEST_NAME: 'ClassiCube-PS1.elf'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'misc/ps1/build/template.exe'
SOURCE_FILE: 'misc/ps1/build/ClassiCube-PS1.exe'
DEST_NAME: 'ClassiCube-PS1.exe'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'misc/ps1/build/ClassiCube.bin'
SOURCE_FILE: 'misc/ps1/build/ClassiCube-PS1.bin'
DEST_NAME: 'ClassiCube-PS1.bin'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'misc/ps1/build/ClassiCube.cue'
SOURCE_FILE: 'misc/ps1/build/ClassiCube-PS1.cue'
DEST_NAME: 'ClassiCube-PS1.cue'

View file

@ -11,11 +11,11 @@ project(
add_definitions(-DPLAT_PS1)
file(GLOB _sources ../../src/*.c)
psn00bsdk_add_executable(template GPREL ${_sources})
psn00bsdk_add_executable(ClassiCube-PS1 GPREL ${_sources})
psn00bsdk_add_cd_image(
iso # Target name
ClassiCube # Output file name (= ClassiCube.bin + ClassiCube.cue)
ClassiCube-PS1 # Output file name (= ClassiCube-PS1.bin + ClassiCube-PS1.cue)
iso.xml # Path to config file
DEPENDS template system.cnf
DEPENDS ClassiCube-PS1 system.cnf
)

View file

@ -60,7 +60,7 @@
-->
<directory_tree>
<file name="SYSTEM.CNF" type="data" source="${PROJECT_SOURCE_DIR}/system.cnf" />
<file name="TEMPLATE.EXE" type="data" source="template.exe" />
<file name="CCUBEPS1.EXE" type="data" source="ClassiCube-PS1.exe" />
<!--
This file is only required if you are using dynamic linking
(see the system/dynlink example). It contains the executable's

View file

@ -1,4 +1,4 @@
BOOT=cdrom:\ClassiCube.exe;1
BOOT=cdrom:\CCUBEPS1.exe;1
TCB=4
EVENT=10
STACK=801FFFF0