Ahh yeah, i never saw the lines to "fix" the certain roms. Anyhow, here's my version if you are interested. Doesn't use any work arounds. And here's the INI file:
http://pastebin.com/KAgJz3xK#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
IniRead, RotcurrState, Rotation.ini, defaults, defrotate
IniRead, RotState, Rotation.ini, %1%, Rotate
if (RotState = 1) {
iniwrite, 1, Rotation.ini, defaults, defrotate
; Run, irotate.exe /rotate=90
ExitApp
}
Else {
if (RotcurrState = 1) {
; Run, irotate.exe /rotate=90
iniwrite, 0, Rotation.ini, defaults, defrotate
}
ExitApp
}