summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMegaMech <inkstudios1@hotmail.com>2024-11-15 23:32:54 -0700
committerMegaMech <inkstudios1@hotmail.com>2024-11-15 23:32:54 -0700
commite6565f23f85ab037127a680de3c3bccf2d4942bd (patch)
treec655d32b198ae9e53274db372977079e3137dd49 /src
parent815c11ac4beca80b96c82f9bb1b4e0ff78bbd9a6 (diff)
Cleanup
Diffstat (limited to 'src')
-rw-r--r--src/engine/courses/LuigiRaceway.cpp4
-rw-r--r--src/engine/courses/WarioStadium.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/courses/LuigiRaceway.cpp b/src/engine/courses/LuigiRaceway.cpp
index 725aaad4f..72b6617c2 100644
--- a/src/engine/courses/LuigiRaceway.cpp
+++ b/src/engine/courses/LuigiRaceway.cpp
@@ -294,8 +294,8 @@ void LuigiRaceway::Render(struct UnkStruct_800DC5EC* arg0) {
* It isn't split into six sections anymore
*/
copy_jumbotron_fb_port(D_800DC5DC, D_800DC5E0, currentScreenSection,
- (u16*) PHYSICAL_TO_VIRTUAL(gPortFramebuffers[prevFrame]),
- (u16*) PHYSICAL_TO_VIRTUAL(gSegmentTable[5] + 0xF800));
+ (u16*) gPortFramebuffers[prevFrame],
+ (u16*) (gSegmentTable[5] + 0xF800));
}
}
diff --git a/src/engine/courses/WarioStadium.cpp b/src/engine/courses/WarioStadium.cpp
index 24296a8d7..f074fb31e 100644
--- a/src/engine/courses/WarioStadium.cpp
+++ b/src/engine/courses/WarioStadium.cpp
@@ -255,8 +255,8 @@ void WarioStadium::Render(struct UnkStruct_800DC5EC* arg0) {
* It isn't split into six sections anymore
*/
copy_jumbotron_fb_port(D_800DC5DC, D_800DC5E0, currentScreenSection,
- (u16*) PHYSICAL_TO_VIRTUAL(gPortFramebuffers[prevFrame]),
- (u16*) PHYSICAL_TO_VIRTUAL(gSegmentTable[5] + 0x8800));
+ (u16*) gPortFramebuffers[prevFrame],
+ (u16*) (gSegmentTable[5] + 0x8800));
}
}