Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ee_core/src/patches.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@ static void RnC3_UYA_patches(void *address)

word1 = JAL((unsigned int)&RnC3_AlwaysAllocMem);
switch (config->GameMode) {
#ifndef _DTL_T10000

@sp193 sp193 Aug 15, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we now only need to left-shift by 1, it implies that there is an additional right-shift by 1 when using ETH mode today. So if built for the DTL-T10000, we should right-shift by 3 to keep things working.

case ETH_MODE:
/* SMB's IOP module layout requires one fewer compensating shift. */
word2 = 0x00021840; // sll $v1, $v0, 1
break;
#endif
default:
#ifdef _DTL_T10000
word2 = 0x00021903; // sra $v1, $v0, 4 For DTL-T10000.
Expand Down