mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-25 13:00:22 +00:00
Allow to terminate stream
This commit is contained in:
parent
ce543d4b72
commit
09df186b2b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ void StreamWindow::draw(NVGcontext *ctx) {
|
|||
}
|
||||
|
||||
// TODO: Get out of here...
|
||||
if (keyboard_state[RETROK_q]) {
|
||||
if (keyboard_state[RETROK_q] || ((game_pad_state.buttonFlags & LB_FLAG) && (game_pad_state.buttonFlags & RB_FLAG) && (game_pad_state.buttonFlags & DOWN_FLAG))) {
|
||||
async([this] {
|
||||
this->terminate();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue