Sorry for the triple post but I figured out what seems to be the cause of what I mentioned in the previous post where Dolphin claims the RAM address is valid during patching but not after that.
During the state where Dolphin is applying fixed function patches, the DBAT table contains translated addresses for the addresses I am checking (currently, I am testing with the address 0x81900000). This is because when the DBAT table is first set up, batu.BL is 2047.
However shortly after that the DBAT table is updated with batu.BL being 63. This results in the table having far fewer entries than it did previously and so the address 0x81900000 no longer has a translation.
Maybe I'm on completely the wrong track but I feel like this is related to the issue? At the very least this seems to be what's causing Dolphin itself to claim that the extra memory isn't valid RAM. I'm stuck here though, I can't figure out how this issue could possibly be solved.
Edit:
I managed to get Dolphin to recognise more memory by modifying the game's bi2.bin file, but this isn't an ideal solution. It also doesn't really work, the game suffers a very nasty crash trying to access the custom data with OSReport spamming "Non-recoverable Excetion 4I喜" and the log warning me that "__write_console uses an invalid size of 0x00000100"
During the state where Dolphin is applying fixed function patches, the DBAT table contains translated addresses for the addresses I am checking (currently, I am testing with the address 0x81900000). This is because when the DBAT table is first set up, batu.BL is 2047.
However shortly after that the DBAT table is updated with batu.BL being 63. This results in the table having far fewer entries than it did previously and so the address 0x81900000 no longer has a translation.
Maybe I'm on completely the wrong track but I feel like this is related to the issue? At the very least this seems to be what's causing Dolphin itself to claim that the extra memory isn't valid RAM. I'm stuck here though, I can't figure out how this issue could possibly be solved.
Edit:
I managed to get Dolphin to recognise more memory by modifying the game's bi2.bin file, but this isn't an ideal solution. It also doesn't really work, the game suffers a very nasty crash trying to access the custom data with OSReport spamming "Non-recoverable Excetion 4I喜" and the log warning me that "__write_console uses an invalid size of 0x00000100"