Skip to content

Commit

Permalink
closes #138 (BRR Rips / SdlNfd)
Browse files Browse the repository at this point in the history
  • Loading branch information
bazz1tv committed Sep 29, 2020
1 parent d57665c commit fed6596
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pc/debugger/Debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include "Screen.h"
#include "sdl_userevents.h"

#include "SdlNfd.h"

#define L_FLAG 0
#define R_FLAG 1

Expand Down Expand Up @@ -129,6 +131,11 @@ void Debugger::handle_events()
while (SDL_PollEvent(&ev))
{
//DEBUGLOG("GOTEVENT 0x%x -", ev.type);

/* ignore events immediately after NFD dialog (#12) */
if (SdlNfd::active())
continue;

switch(ev.type)
{
case SDL_QUIT:
Expand Down

0 comments on commit fed6596

Please sign in to comment.