Add main volume option to settings (#267)

* This commit adds the option to control the main volume game via a slider
added to the "Sound" tab in the settings menu.
This commit is contained in:
Parker
2024-05-25 21:59:15 -07:00
committed by GitHub
parent 41e737249e
commit 169155953e
6 changed files with 49 additions and 11 deletions
-1
View File
@@ -78,7 +78,6 @@ extern "C" void recomp_get_targeting_mode(uint8_t* rdram, recomp_context* ctx) {
_return(ctx, static_cast<int>(recomp::get_targeting_mode()));
}
extern "C" void recomp_get_bgm_volume(uint8_t* rdram, recomp_context* ctx) {
_return(ctx, recomp::get_bgm_volume() / 100.0f);
}