Browse Source

UserInput -- handle SIGNAL_STOP

master
Adam Pippin 4 years ago
parent
commit
e0d1fc31a6
  1. 4
      UserInput.cpp

4
UserInput.cpp

@ -8,6 +8,10 @@ int UserInput(int pid, unsigned int signal)
{
Kernel_signal_mask(pid, SIGNAL_START | SIGNAL_STOP | SIGNAL_TICK);
}
if (signal & SIGNAL_STOP)
{
return 255;
}
if (signal & SIGNAL_TICK)
{
if (Kernel_read_input(KERNEL_INPUT_BUTTON_A))

Loading…
Cancel
Save