Loader improvements and blackout (#1254)

* temp

* also tfrag

* fix order
This commit is contained in:
water111
2022-03-26 15:53:44 -04:00
committed by GitHub
parent be0075a4e4
commit e38832365c
21 changed files with 761 additions and 611 deletions
+6 -1
View File
@@ -716,7 +716,12 @@ void DecodeTime(u32 ptr) {
}
// TODO PutDisplayEnv
void PutDisplayEnv() {
void PutDisplayEnv(u32 ptr) {
u8 alp = Ptr<u8>(ptr).c()[1];
auto* renderer = Gfx::GetCurrentRenderer();
if (renderer) {
renderer->set_pmode_alp(alp / 255.f);
}
// ASSERT(false);
}