Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README_es_ES.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,11 @@ sudo xbps-install -S base-devel python3 audiofile-devel SDL2-devel glew-devel
sudo xbps-install -S base-devel python3 audiofile-devel-32bit SDL2-devel-32bit glew-devel-32bit
```

##### Alpine Linux - (compilando para 32 bits y 64 bits)
```
sudo apk add build-base python3 audiofile-dev sdl2-dev glew-dev
```

#### Compila el ejecutable.

Ejecuta `make` para compilar (por defecto `VERSION=us`)
Expand Down
6 changes: 4 additions & 2 deletions src/pc/controller/controller_entry_point.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ s32 osContInit(UNUSED OSMesgQueue *mq, u8 *controllerBits, UNUSED OSContStatus *
s32 osMotorStart(UNUSED void *pfs) {
// Since rumble stops by osMotorStop, its duration is not nessecary.
// Set it to 5 seconds and hope osMotorStop() is called in time.
controller_rumble_play(configRumbleStrength / 100.0f, 5.0f);
if (configRumbleStrength)
controller_rumble_play(configRumbleStrength / 100.0f, 5.0f);
return 0;
}

s32 osMotorStop(UNUSED void *pfs) {
controller_rumble_stop();
if (configRumbleStrength)
controller_rumble_stop();
return 0;
}

Expand Down