Changeset 27756 for titan/titan/adjust.h
- Timestamp:
- 03/21/14 14:17:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/adjust.h
r27534 r27756 50 50 struct skin* playerbufferseektime = getscreennode(adjust, "playerbufferseektime"); 51 51 struct skin* sataswitch = getscreennode(adjust, "sataswitch"); 52 struct skin* dualboot = getscreennode(adjust, "dualboot"); 52 53 53 54 struct skin* tmp = NULL; … … 225 226 addchoicebox(usecec, "1", _("yes")); 226 227 setchoiceboxselection(usecec, getconfig("usecec", NULL)); 228 229 addchoicebox(dualboot, "0", _("no")); 230 addchoicebox(dualboot, "1", _("yes")); 231 setchoiceboxselection(dualboot, getconfig("dualboot", NULL)); 232 233 if(checkbox("ATEMIO5000") == 1 || checkbox("ATEMIO5200") == 1) 234 dualboot->hidden = NO; 235 else 236 dualboot->hidden = YES; 227 237 228 238 if(status.security == 1) … … 366 376 setsataswitch(sataswitch->ret); 367 377 } 368 } 369 378 } 379 addconfigscreen("dualboot", dualboot); 380 if(dualboot->ret != NULL && ostrcmp(dualboot->ret, "0") == 0) 381 unlink("/mnt/config/dualboot"); 382 else 383 system("touch /mnt/config/dualboot"); 384 370 385 addconfigscreen("playerbuffersize", playerbuffersize); 371 386 addconfigscreen("playerbufferseektime", playerbufferseektime);
Note: See TracChangeset
for help on using the changeset viewer.