Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StarDustCFW/Sys-Play-nx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0
Choose a base ref
...
head repository: StarDustCFW/Sys-Play-nx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 9 commits
  • 8 files changed
  • 1 contributor

Commits on Oct 11, 2019

  1. Update README.md

    Kronos2308 authored Oct 11, 2019
    Copy the full SHA
    5bfae2a View commit details
  2. Update main.c

    Kronos2308 committed Oct 11, 2019
    Copy the full SHA
    80b4fb2 View commit details

Commits on Dec 29, 2019

  1. Update README.md

    Kronos2308 committed Dec 29, 2019
    Copy the full SHA
    0556d50 View commit details

Commits on Jan 21, 2020

  1. Update README.md

    Kronos2308 authored Jan 21, 2020
    Copy the full SHA
    65e30db View commit details
  2. Update README.md

    Kronos2308 authored Jan 21, 2020
    Copy the full SHA
    bd18f4e View commit details

Commits on Feb 7, 2020

  1. update

    Kronos2308 committed Feb 7, 2020
    Copy the full SHA
    719f3c8 View commit details
  2. Update main.c

    Kronos2308 committed Feb 7, 2020
    Copy the full SHA
    e5bd00d View commit details
  3. F thread

    Kronos2308 committed Feb 7, 2020
    Copy the full SHA
    2f1386d View commit details

Commits on Feb 8, 2020

  1. Copy the full SHA
    6a3bbc9 View commit details
Showing with 134 additions and 151 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 Makefile
  3. +13 −18 README.md
  4. +2 −2 source/led.c
  5. +97 −117 source/main.c
  6. +15 −8 source/mp3.c
  7. +2 −2 source/util.c
  8. +2 −2 source/util.h
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -7,3 +7,4 @@ sd_card/atmosphere
*.npdm
*.nso
sd_card/*
*.rar
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ endif
#---------------------------------------------------------------------------------------

dist:
mkdir -p sd_card/atmosphere/titles/420000000000000B/flags
cp $(OUTPUT).nsp sd_card/atmosphere/titles/420000000000000B/exefs.nsp
mkdir -p sd_card/atmosphere/contents/420000000000000B/flags
cp $(OUTPUT).nsp sd_card/atmosphere/contents/420000000000000B/exefs.nsp
#touch sd_card/atmosphere/titles/420000000000000B/flags/boot2.flag

31 changes: 13 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -14,21 +14,19 @@ Teclas de acceso rápido:

* L ZL anterior cancion en lista (solo funciona si la musica se esta reprodusiendo)

* ZR ZL Y Escanear por nuevas cansiones (solo funciona si la musica no se esta reprodusiendo)

* R3 L3 cierra el servicio hasta el siguiente reinicio (solo por precausion)

Es un beta

## Tocará consecutivamente una selección de música,

Esto debera estar ubicado en:

StarDust/Music/0.mp3

StarDust/Music/1.mp3
Estas deberas estar ubicadas en:

(...)
StarDust/Music/

StarDust/Music/20.mp3
El limite son 200 canciones de momento

## instalasion
* Descarga la ultima release [Aqui](https://github.com/Kronos2308/Sys-Play-nx/releases)
@@ -43,29 +41,27 @@ This is a nintendo-switch sysmodule which play music in the background
Put the contents of the sd_card folder in the root of your sd-card or else the sounds won't work!

Hotkeys:
L R X Play / Pause
* L R X Play / Pause

* L R B Stop Music (It remains stopped even if it is restarted) (only works if the music is playing back)

* R ZR next song on the list (only works if the music is playing back)

* L ZL previous song on the list (only works if the music is playing back)

* R3 L3 closes the service until the next restart (only by precaution)

Is a beta
* ZR ZL Y Scan for new songs (only works if the music is not playing back)

## will play consecutively a selection of music,
* R3 L3 closes the service until the next restart (only by precaution)

this should be located in:
It's a beta

StarDust/Music/0.mp3
## Will play a selection of music consecutively,

StarDust/Music/1.mp3
These should be located at:

(...)
StarDust/Music/

StarDust/Music/20.mp3
The limit is 200 songs for the moment

## instalation
* Download the last release [Here](https://github.com/Kronos2308/Sys-Play-nx/releases)
@@ -81,4 +77,3 @@ https://github.com/RetroGamer74/sys-ftpd

PricelessTwo2

And special thanks to Rumba the retrogamer_74 dog
4 changes: 2 additions & 2 deletions source/led.c
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ void flash_led_connect()

u64 uniquePadIds[5] = {0};

size_t total_entries = 0;
s32 total_entries = 0;

Result rc = hidsysGetUniquePadIds(uniquePadIds, 5, &total_entries);
if (R_FAILED(rc) && rc != MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer))
@@ -41,7 +41,7 @@ void flash_led_disconnect()
u64 uniquePadIds[2];
memset(uniquePadIds, 0, sizeof(uniquePadIds));

size_t total_entries = 0;
s32 total_entries = 0;

Result rc = hidsysGetUniquePadsFromNpad(hidGetHandheldMode() ? CONTROLLER_HANDHELD : CONTROLLER_PLAYER_1, uniquePadIds, 2, &total_entries);
if (R_FAILED(rc) && rc != MAKERESULT(Module_Libnx, LibnxError_IncompatSysVer))
Loading