When usleep()'ing in doomsim it misses most of the quit messages. I think it's because the controller spams RunDoom all the time and the quit messages get discarded while doomsim is sleeping.
12 lines
256 B
C
12 lines
256 B
C
#include "dp_common.h"
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
(void) argc;
|
|
(void) argv;
|
|
log_info("Hello from C11!");
|
|
|
|
for (int i=0; i<DP_DS_COUNT; ++i)
|
|
log_info("doomstate_to_string: %d=%s", i, doomstate_to_string(i));
|
|
return 0;
|
|
}
|