diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ccf500d3..116f0cb9 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,14 +1,15 @@ FROM debian:bookworm-slim +ARG SC64_DEPLOYER_VERSION=v2.18.0 RUN apt-get update && \ apt-get upgrade -y && \ apt-get install build-essential doxygen git python3 wget -y && \ wget https://github.com/DragonMinded/libdragon/releases/download/toolchain-continuous-prerelease/gcc-toolchain-mips64-x86_64.deb && \ dpkg -i gcc-toolchain-mips64-x86_64.deb && \ rm gcc-toolchain-mips64-x86_64.deb && \ - wget https://github.com/Polprzewodnikowy/SummerCart64/releases/download/v2.17.0/sc64-deployer-linux-v2.17.0.tar.gz && \ - tar -xf sc64-deployer-linux-v2.17.0.tar.gz -C /usr/local/bin && \ - rm sc64-deployer-linux-v2.17.0.tar.gz && \ + wget https://github.com/Polprzewodnikowy/SummerCart64/releases/download/$SC64_DEPLOYER_VERSION/sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz && \ + tar -xf sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz -C /usr/local/bin && \ + rm sc64-deployer-linux-$SC64_DEPLOYER_VERSION.tar.gz && \ git config --global --add safe.directory "*" && \ SNIPPET="export PROMPT_COMMAND='history -a' && export HISTFILE=/commandhistory/.bash_history" && \ echo "$SNIPPET" >> "/root/.bashrc" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 50e5a4f2..d0d2703c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: FLAGS: -DNDEBUG - name: Upload artifact (Standard ROM) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: N64FlashcartMenu path: | @@ -45,25 +45,25 @@ jobs: ./build/N64FlashcartMenu.elf - name: Upload artifact (64drive version) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 64drive path: ./output/menu.bin - name: Upload artifact (ED64 version) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ED64 path: ./output/OS64.v64 - name: Upload artifact (ED64P version) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ED64P path: ./output/OS64P.v64 - name: Upload artifact (SC64 version) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SC64 path: ./output/sc64menu.n64 diff --git a/README.md b/README.md index ed7417e3..f6670732 100644 --- a/README.md +++ b/README.md @@ -88,11 +88,11 @@ You can use a dev container in VSCode to ease development. ## To deploy: ### SC64 -* Download the deployer [here](https://github.com/Polprzewodnikowy/SummerCart64/releases/download/v2.17.0/sc64-deployer-windows-v2.17.0.zip) +* Download the deployer [here](https://github.com/Polprzewodnikowy/SummerCart64/releases/download/v2.18.0/sc64-deployer-windows-v2.18.0.zip) * Extract and place `sc64deployer.exe` in the `tools/sc64` directory. -Make sure that your firmware is compatible (currently v2.17.0+) -See: [here](https://github.com/Polprzewodnikowy/SummerCart64/blob/v2.17.0/docs/00_quick_startup_guide.md#firmware-backupupdate) +Make sure that your firmware is compatible (currently v2.18.0+) +See: [here](https://github.com/Polprzewodnikowy/SummerCart64/blob/v2.18.0/docs/00_quick_startup_guide.md#firmware-backupupdate) #### From the devcontainer diff --git a/src/menu/components/boxart.c b/src/menu/components/boxart.c index 90b23ccd..6ed3826a 100644 --- a/src/menu/components/boxart.c +++ b/src/menu/components/boxart.c @@ -6,8 +6,9 @@ #include "constants.h" #include "utils/fs.h" - +#ifndef BOXART_DIRECTORY #define BOXART_DIRECTORY "sd:/menu/boxart" +#endif static void png_decoder_callback (png_err_t err, surface_t *decoded_image, void *callback_data) { diff --git a/src/menu/views/credits.c b/src/menu/views/credits.c index 5228390a..a6e42a9a 100644 --- a/src/menu/views/credits.c +++ b/src/menu/views/credits.c @@ -33,7 +33,7 @@ static void draw (menu_t *menu, surface_t *d) { "Github:\n" " https://github.com/Polprzewodnikowy/N64FlashcartMenu\n" "Authors:\n" - " JonesAlmighty / NetworkFusion\n" + " Robin Jones / NetworkFusion\n" " Mateusz Faderewski / Polprzewodnikowy\n" "Credits:\n" " N64Brew / libdragon contributors\n" diff --git a/src/menu/views/settings_editor.c b/src/menu/views/settings_editor.c index 39801f99..5538a98e 100644 --- a/src/menu/views/settings_editor.c +++ b/src/menu/views/settings_editor.c @@ -1,6 +1,6 @@ #include "views.h" -static char *convert_boolean (int state) { +static char *format_boolean_type (int state) { switch (state) { case 0: return "Off"; case 1: return "On"; @@ -38,13 +38,13 @@ static void draw (menu_t *menu, surface_t *d) { "bgm_enabled: %s\n" "sound_enabled: %s\n" "rumble_enabled: %s\n", - convert_boolean(menu->settings.pal60_enabled), - convert_boolean(menu->settings.hidden_files_enabled), + format_boolean_type(menu->settings.pal60_enabled), + format_boolean_type(menu->settings.hidden_files_enabled), menu->settings.default_directory, - convert_boolean(menu->settings.use_saves_folder), - convert_boolean(menu->settings.bgm_enabled), - convert_boolean(menu->settings.sound_enabled), - convert_boolean(menu->settings.rumble_enabled) + format_boolean_type(menu->settings.use_saves_folder), + format_boolean_type(menu->settings.bgm_enabled), + format_boolean_type(menu->settings.sound_enabled), + format_boolean_type(menu->settings.rumble_enabled) );