[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] cflib screen locking



> I think that locking the screen is only required with ROM AES and no
> Selectric.

No, is also if Selectric present.

> So either check for ROM AES (is this possible?) or add XaAES, N.AES and
> MyAES to (2).

Or add the fslx function to XaAES. ;-)

That the moment the code is
-------------------------------cut-------------------------------
wind_update (BEG_UPDATE);

if (slct || gl_gem >= 0x140)
  fsel_exinput (path, name, &but, title);
else
  fsel_input (path, name, &but);

wind_update (END_UPDATE);
-------------------------------cut-------------------------------
slct is TRUE if Selectric > version 1.00 present.

This can be changed to
-------------------------------cut-------------------------------
if ( !gl_naes && !gl_xaaes )
  wind_update (BEG_UPDATE);

if (slct || gl_gem >= 0x140)
  fsel_exinput (path, name, &but, title);
else
  fsel_input (path, name, &but);

if ( !gl_naes && !gl_xaaes )
  wind_update (END_UPDATE);
-------------------------------cut-------------------------------

How can I check for MyAES? appl_getinfo_str ( 96 (AES_VERSION))?

Gerhard