Headphone status not propgatated to all games that check for it
Is there an existing issue for this?
- I have searched the existing issues
Affected Build(s)
2126.1.1
Description of Issue
Azahar has a feature to simulate that headphones are plugged in, which is used to trigger behaviors in games that explicitly check for this, like Super Mario 3D Land. However, it seems that the value is not correctly propagated in all games that check for this value.
New Super Mario Bros. 2 checks for this value at the shared memory address 0x1FF810C0 and uses it for surround parameters:
When modding the game to display this value, the value is observed to be incorrect in Azahar (but correct on real hardware), staying disabled even when the toggle is turned on:
3DBrew documents this shared memory address (0x1FF810C0) as being related to headset connection here: https://www.3dbrew.org/wiki/Configuration_Memory.
Expected Behavior
The headphone status reports as connected when Azahar is set to simulate headphone connection.
Reproduction Steps
Difficult to reproduce without being able to check in games that poll for headphone status in this way using shared memory, and also understand what effects are applied. I'd be happy to test changes within NSMB2 as required.
Log File
N/A
System Configuration
N/A
Source: azahar-emu/azahar