NDS: Log whether using DSi or NDS networking mode

This commit is contained in:
UnknownShadow200 2024-10-20 12:40:10 +11:00
parent 5e0697126e
commit f8319ad828
2 changed files with 12 additions and 2 deletions

View file

@ -45,7 +45,7 @@ jobs:
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'build-nds/ClassiCube.elf'
SOURCE_FILE: 'build-nds/ClassiCube-nds.elf'
DEST_NAME: 'ClassiCube-nds.elf'
- uses: ./.github/actions/upload_build
@ -54,6 +54,12 @@ jobs:
SOURCE_FILE: 'ClassiCube-dsi.nds'
DEST_NAME: 'ClassiCube-dsi.nds'
- uses: ./.github/actions/upload_build
if: ${{ always() && steps.compile.outcome == 'success' }}
with:
SOURCE_FILE: 'build-dsi/ClassiCube-dsi.elf'
DEST_NAME: 'ClassiCube-dsi.elf'
- uses: ./.github/actions/notify_success
if: ${{ always() && steps.compile.outcome == 'success' }}

View file

@ -501,7 +501,11 @@ static void InitNetworking(void) {
*#########################################################################################################################*/
void Platform_Init(void) {
cc_bool dsiMode = isDSiMode();
Platform_Log1("Running in %c mode", dsiMode ? "DSi" : "DS");
#ifdef BUILD_DSI
Platform_Log1("Running in %c mode with DSi networking", dsiMode ? "DSi" : "DS");
#else
Platform_Log1("Running in %c mode with NDS networking", dsiMode ? "DSi" : "DS");
#endif
InitFilesystem();
InitNetworking();