mirror of
https://github.com/BanjoRecomp/BanjoRecomp
synced 2026-05-31 00:45:31 -04:00
Add pillarboxing to cutscenes. (#35)
* Update RT64 to fix scissor origin leaking bug. * Add pillarboxing to cutscenes.
This commit is contained in:
@@ -101,6 +101,11 @@ extern "C" void recomp_get_target_aspect_ratio(uint8_t* rdram, recomp_context* c
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" void recomp_get_cutscene_aspect_ratio(uint8_t *rdram, recomp_context *ctx) {
|
||||
float ar = 16.0f / 9.0f;
|
||||
_return(ctx, ar);
|
||||
}
|
||||
|
||||
extern "C" void recomp_get_bgm_volume(uint8_t* rdram, recomp_context* ctx) {
|
||||
_return(ctx, banjo::get_bgm_volume() / 100.0f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user