mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-10 19:11:36 +00:00
Update to address review comments.
Fixed nav menuing, and removed recomp APIs.
This commit is contained in:
parent
4b9eb20748
commit
1fe0b740ad
3 changed files with 2 additions and 7 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
type="range"
|
type="range"
|
||||||
min="0"
|
min="0"
|
||||||
max="100"
|
max="100"
|
||||||
style="flex: 1; margin: 0dp; nav-up: #tab_sound; nav-down: #lhb_on;"
|
style="flex: 1; margin: 0dp; nav-up: #tab_sound; nav-down: #bgm_volume_input;"
|
||||||
data-value="main_volume"
|
data-value="main_volume"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
type="range"
|
type="range"
|
||||||
min="0"
|
min="0"
|
||||||
max="100"
|
max="100"
|
||||||
style="flex: 1; margin: 0dp; nav-up: #tab_sound; nav-down: #lhb_on;"
|
style="flex: 1; margin: 0dp; nav-up: #main_volume_input; nav-down: #lhb_on;"
|
||||||
data-value="bgm_volume"
|
data-value="bgm_volume"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include "patch_helpers.h"
|
#include "patch_helpers.h"
|
||||||
|
|
||||||
DECLARE_FUNC(float, recomp_get_main_volume);
|
|
||||||
DECLARE_FUNC(float, recomp_get_bgm_volume);
|
DECLARE_FUNC(float, recomp_get_bgm_volume);
|
||||||
DECLARE_FUNC(u32, recomp_get_low_health_beeps_enabled);
|
DECLARE_FUNC(u32, recomp_get_low_health_beeps_enabled);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -78,10 +78,6 @@ extern "C" void recomp_get_targeting_mode(uint8_t* rdram, recomp_context* ctx) {
|
||||||
_return(ctx, static_cast<int>(recomp::get_targeting_mode()));
|
_return(ctx, static_cast<int>(recomp::get_targeting_mode()));
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" void recomp_get_main_volume(uint8_t* rdram, recomp_context* ctx) {
|
|
||||||
_return(ctx, recomp::get_main_volume() / 100.0f);
|
|
||||||
}
|
|
||||||
|
|
||||||
extern "C" void recomp_get_bgm_volume(uint8_t* rdram, recomp_context* ctx) {
|
extern "C" void recomp_get_bgm_volume(uint8_t* rdram, recomp_context* ctx) {
|
||||||
_return(ctx, recomp::get_bgm_volume() / 100.0f);
|
_return(ctx, recomp::get_bgm_volume() / 100.0f);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue