From 2bf387cd289b55a04021aa2a6456ec9b6554169d Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 27 Apr 2024 14:41:55 +1000 Subject: [PATCH] Download links for Switch and NDS --- .github/workflows/build_xbox.yml | 3 ++- readme.md | 12 +++++++++--- src/ExtMath.c | 1 - 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_xbox.yml b/.github/workflows/build_xbox.yml index 9245b29b8..6f9cfa3de 100644 --- a/.github/workflows/build_xbox.yml +++ b/.github/workflows/build_xbox.yml @@ -18,6 +18,7 @@ jobs: run: | eval $(/usr/src/nxdk/bin/activate -s) make xbox + cp bin/default.xbe ClassiCube-xbox.xbe # otherwise notify_failure doesn't work @@ -35,7 +36,7 @@ jobs: - uses: ./.github/actions/upload_build if: ${{ always() && steps.compile.outcome == 'success' }} with: - SOURCE_FILE: 'bin/default.xbe' + SOURCE_FILE: 'ClassiCube-xbox.xbe' DEST_NAME: 'ClassiCube-xbox.xbe' - uses: ./.github/actions/upload_build diff --git a/readme.md b/readme.md index 257a71070..14424944d 100644 --- a/readme.md +++ b/readme.md @@ -73,13 +73,13 @@ And also runs on: * IRIX - needs curl and openal packages * SerenityOS - needs SDL2 * Dreamcast - unfinished, but renders (can [download from here](https://www.classicube.net/download/dreamcast)) -* Switch - unfinished, but usable (if you have a GitHub account, can [download from here](https://github.com/ClassiCube/ClassiCube/actions/workflows/build_switch.yml)) +* Switch - unfinished, but usable (can [download from here](https://www.classicube.net/download/switch)) * Wii U - unfinished, major issues (if you have a GitHub account, can [download from here](https://github.com/ClassiCube/ClassiCube/actions/workflows/build_wiiu.yml)), **untested on real hardware**) * Wii - unfinished, but usable (can [download from here](https://www.classicube.net/download/wii)) * GameCube - unfinished, but usable (can [download from here](https://www.classicube.net/download/gamecube)) * Nintendo 64 - unfinished, moderate rendering issues (can [download from here](https://www.classicube.net/download/n64)) * 3DS - unfinished, but usable (can [download from here](https://www.classicube.net/download/3ds)) -* DS/DSi - unfinished, rendering issues (if you have a GitHub account, can [download from here](https://github.com/ClassiCube/ClassiCube/actions/workflows/build_ds.yml)) +* DS/DSi - unfinished, rendering issues (can [download from here](https://www.classicube.net/download/nds)) * PS Vita - unfinished, rendering issues (can [download from here](https://www.classicube.net/download/vita)) * PSP - unfinished, rendering issues (can [download from here](https://www.classicube.net/download/psp)) * PS3 - unfinished, rendering issues (can [download from here](https://www.classicube.net/download/ps3)) @@ -293,6 +293,10 @@ Run `make xbox`. You'll need [nxdk](https://github.com/XboxDev/nxdk) Run `make dreamcast`. You'll need [KallistiOS](https://github.com/KallistiOS/KallistiOS) +#### Saturn + +Run `make saturn`. You'll need [libyaul](https://github.com/yaul-org/libyaul) + @@ -397,7 +401,7 @@ Further information (e.g. style) for ClassiCube's source code can be found in th * [Dolphin](https://github.com/dolphin-emu/dolphin) - Emulator used to test Wii/GC port * [libdragon](https://github.com/DragonMinded/libdragon) - Backend for Nintendo 64 * [ares](https://github.com/ares-emulator/ares) - Emulator used to test Nintendo 64 port -* [blocksds](https://github.com/blocksds/sdk) - Backend for Nintendo DS +* [BlocksDS](https://github.com/blocksds/sdk) - Backend for Nintendo DS * [melonDS](https://github.com/melonDS-emu/melonDS) - Emulator used to test Nintendo DS port * [vitasdk](https://github.com/vitasdk) - Backend for PS Vita * [Vita3K](https://github.com/Vita3K/Vita3K) - Emulator used to test Vita port @@ -416,6 +420,8 @@ Further information (e.g. style) for ClassiCube's source code can be found in th * [KallistiOS](https://github.com/KallistiOS/KallistiOS) - Backend for Dreamcast * [GLdc](https://github.com/Kazade/GLdc) - Basis of rendering backend for Dreamcast * [flycast](https://github.com/flyinghead/flycast) - Emulator used to test Dreamcast port +* [libyaul](https://github.com/yaul-org/libyaul) - Backend for Saturn +* [mednafen](https://mednafen.github.io/) - Emulator used to test Saturn port diff --git a/src/ExtMath.c b/src/ExtMath.c index 49dd6976b..aa10e9791 100644 --- a/src/ExtMath.c +++ b/src/ExtMath.c @@ -148,7 +148,6 @@ float Random_Float(RNGState* seed) { *--------------------------------------------------Transcendental functions-----------------------------------------------* *#########################################################################################################################*/ static const double SQRT2 = 1.4142135623730950488016887242096980785696718753769; -static const double LOGE2 = 0.6931471805599453094172321214581765680755001343602; #ifdef CC_BUILD_DREAMCAST #include