Well, I have made the module work by modifying two lines:
Code:
muPrimaryWindow := new Window(new WindowTitle(,"VICE")) ; instantiate primary emulator window object
change for:
Code:
muPrimaryWindow := new Window(new WindowTitle(,"gdkWindowToplevel")) ; instantiate primary emulator window object
And this other line:
Code:
params := (If SdlVice = "true" ? " " : " +confirmexit")
change for:
Code:
;params := (If SdlVice = "true" ? " " : " +confirmexit")
Also is necessary to have a "vice.ini" file in the emulator directory for the module can write the configuration.
Obviously it will not do any good, since now the configuration is taken from the folder "%user%/AppData/Roaming/vice" and even if we force to use the ini of the current directory, we would have to change the value of the variable "ident" from "[C64]" to "[C64SC]". But still, some parameters are out of date.
In short, the module needs a complete revision, since the emulator has greatly changed its behavior. But, at least it is possible to make it work.