mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
NDS: Log whether using DSi or NDS networking mode
This commit is contained in:
parent
5e0697126e
commit
f8319ad828
2 changed files with 12 additions and 2 deletions
8
.github/workflows/build_nds.yml
vendored
8
.github/workflows/build_nds.yml
vendored
|
@ -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' }}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue