diff options
| author | Tilka <tilkax@gmail.com> | 2022-08-05 15:27:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-05 15:27:07 +0100 |
| commit | d48d317cfb65b81c0a479fedbf29e9ba26fca2bb (patch) | |
| tree | bf41bb27c72da9896c26586b925e2cc1f0c2cf17 /Source/Core | |
| parent | 04beb23877e9db5ceddb5a20d0e23d5a8a4c3f0f (diff) | |
| parent | b8e64b1f43ec65a3f85ecf1b058c84823b43502a (diff) | |
Merge pull request #10951 from Tilka/ax_cleanup
AX: fix comments and variable names (NFC)
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp index 7a7d9e5d39..796436c5fa 100644 --- a/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp +++ b/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp @@ -238,13 +238,13 @@ void AXUCode::HandleCommandList() break; } - // Send the contents of MAIN LRS, AUXA LRS and AUXB S to RAM, and + // Send the contents of AUXA LRS and AUXB S to RAM, and // mix data to MAIN LR and AUXB LR. case CMD_SEND_AUX_AND_MIX: { - // Address for Main + AUXA LRS upload - u16 main_auxa_up_hi = m_cmdlist[curr_idx++]; - u16 main_auxa_up_lo = m_cmdlist[curr_idx++]; + // Address for AUXA LRS upload + u16 auxa_lrs_up_hi = m_cmdlist[curr_idx++]; + u16 auxa_lrs_up_lo = m_cmdlist[curr_idx++]; // Address for AUXB S upload u16 auxb_s_up_hi = m_cmdlist[curr_idx++]; @@ -266,7 +266,7 @@ void AXUCode::HandleCommandList() u16 auxb_r_dl_hi = m_cmdlist[curr_idx++]; u16 auxb_r_dl_lo = m_cmdlist[curr_idx++]; - SendAUXAndMix(HILO_TO_32(main_auxa_up), HILO_TO_32(auxb_s_up), HILO_TO_32(main_l_dl), + SendAUXAndMix(HILO_TO_32(auxa_lrs_up), HILO_TO_32(auxb_s_up), HILO_TO_32(main_l_dl), HILO_TO_32(main_r_dl), HILO_TO_32(auxb_l_dl), HILO_TO_32(auxb_r_dl)); break; } @@ -605,7 +605,7 @@ void AXUCode::SetOppositeLR(u32 src_addr) } } -void AXUCode::SendAUXAndMix(u32 main_auxa_up, u32 auxb_s_up, u32 main_l_dl, u32 main_r_dl, +void AXUCode::SendAUXAndMix(u32 auxa_lrs_up, u32 auxb_s_up, u32 main_l_dl, u32 main_r_dl, u32 auxb_l_dl, u32 auxb_r_dl) { // Buffers to upload first @@ -616,7 +616,7 @@ void AXUCode::SendAUXAndMix(u32 main_auxa_up, u32 auxb_s_up, u32 main_l_dl, u32 }; // Upload AUXA LRS - int* ptr = (int*)HLEMemory_Get_Pointer(main_auxa_up); + int* ptr = (int*)HLEMemory_Get_Pointer(auxa_lrs_up); for (const auto& up_buffer : up_buffers) { for (u32 j = 0; j < 32 * 5; ++j) |
