press F6 to switch CRT monitor
This commit is contained in:
parent
8df5c9e0d7
commit
a4f965a00d
|
@ -1300,6 +1300,11 @@ static inline bool keyWasPressedOnce(s32 key)
|
|||
return tic->api.keyp(tic, key, -1, -1);
|
||||
}
|
||||
|
||||
static void switchCrtMonitor()
|
||||
{
|
||||
impl.config->data.crtMonitor = !impl.config->data.crtMonitor;
|
||||
}
|
||||
|
||||
static void processShortcuts()
|
||||
{
|
||||
tic_mem* tic = impl.studio.tic;
|
||||
|
@ -1310,6 +1315,8 @@ static void processShortcuts()
|
|||
bool alt = tic->api.key(tic, tic_key_alt);
|
||||
bool ctrl = tic->api.key(tic, tic_key_ctrl);
|
||||
|
||||
if(keyWasPressedOnce(tic_key_f6)) switchCrtMonitor();
|
||||
|
||||
if(isGameMenu())
|
||||
{
|
||||
if(keyWasPressedOnce(tic_key_escape))
|
||||
|
|
Loading…
Reference in New Issue