The description of the maddening darkness spell (XGtE, p. 160) says [emphasis mine]:
Magical darkness spreads from a point you choose within range to fill a 60 foot-radius sphere until the spell ends. The darkness spreads around corners. A creature with darkvision can’t see through this darkness. Nonmagical light, as well as light created by spells of 8th level or lower, can’t illuminate the area.
Shrieks, gibbering, and mad laughter can be heard within the sphere. Whenever a creature starts its turn in the sphere, it must make a Wisdom saving throw, taking 8d8 psychic damage on a failed save, or half as much damage on a successful one.
If I cast continual flame at 9th level, it should produce magical light capable of illuminating a sub-sphere of the maddening darkness.
I posit that if I am standing in the sphere of maddening darkness when it was originally cast and also am exposing that 9th-level continual flame to light the darkness, then I am no longer in the sphere's area (the darkness) and I would not be affected by the spell.
I can see a strict RAW reading that, technically, I am still in the original radius of the spell and because of that, would be affected. It could be true that the intent is only that my continual flame would light the darkness and not remove any maddening effects.
Which of the above interpretations is true?