OnStartUp -> PutLightValue(0)
OnDiskInsert -> PutLightValue(1)
OnDiscEject -> PutLightValue(0)
OnNewEmail -> PutLightValue(1)
etc.
(1 = true, 0 = false)
Where PutLightValue is the following:
QUOTE said:
function PutLightValue (true/false)
if true:
CheckLightSettings, Store hem in X (The hardness of the Wii slot light)
SetLight X
If false: SetLight 0
"*(u32*)0xCD0000C0 = *(u32*)0xCD0000C0^0x20;" is actually the SetLight X line. (Where X is 20 or so)
But the value will be overwritten with every light event. (On the wii startup, when a new email is read (so the email is not new anymore) etc etc.)
We need to find, and reverse engineer the complete PutLightValue so it will give full light, even when his parameter is false. A good modded function will be:
QUOTE