renamed dmacopy2 to dmacopy_doubleword

This commit is contained in:
David Benepe
2022-11-30 17:21:09 -05:00
parent 9e7ff75bcd
commit 0c9d8794c5
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -47,7 +47,7 @@
.include "asm/math_util/calc_dyn_lighting_for_level_segment.s" # UNUSED
.include "asm/math_util/area_triangle_2d.s" # Floating Point Math with sqrt
.include "asm/math_util/set_breakpoint.s" # UNUSED -
.include "asm/math_util/dmacopy2.s" # Uses mips3 instructions to copy data from s64 values arg0 to arg1 in a loop
.include "asm/math_util/dmacopy_doubleword.s" # Uses mips3 instructions to copy data from s64 values arg0 to arg1 in a loop
.section .data
@@ -1,4 +1,4 @@
glabel dmacopy2
glabel dmacopy_doubleword
.L80070B04:
/* 071704 80070B04 DC880000 */ ld $t0, ($a0)
/* 071708 80070B08 DC890008 */ ld $t1, 8($a0)
+1 -1
View File
@@ -1002,7 +1002,7 @@ void main_game_loop(void) {
if (osTvType == TV_TYPE_PAL) {
framebufferSize = (s32)((SCREEN_WIDTH * SCREEN_HEIGHT * 2) * 1.1f);
}
dmacopy2(gVideoLastFramebuffer, (s32)gVideoCurrFramebuffer, (s32)gVideoCurrFramebuffer + framebufferSize);
dmacopy_doubleword(gVideoLastFramebuffer, (s32)gVideoCurrFramebuffer, (s32)gVideoCurrFramebuffer + framebufferSize);
}
// tempLogicUpdateRate will be set to a value 2 or higher, based on the framerate.
// the mul factor is hardcapped at 6, which happens at 10FPS. The mul factor
+1 -1
View File
@@ -79,7 +79,7 @@ extern s32 gVideoLastDepthBuffer;
void f32_matrix_to_s16_matrix(Matrix *, Matrix *); //math_util
void f32_matrix_from_position(Matrix *, f32, f32, f32); //From math_util
void dmacopy2(s32 videoLastFrameBuffer, s32 VideoCurrFrameBuffer, s32 size);
void dmacopy_doubleword(s32 videoLastFrameBuffer, s32 VideoCurrFrameBuffer, s32 size);
s16 func_8006ABB4(s32 arg0);
s32 func_8006B018(s8 arg0);