Mercurial > repos > blastem
comparison debug.c @ 2302:0343f0d5add0
Fix libretro build for real
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 12 Mar 2023 20:03:35 -0700 |
parents | 6a07b13894f7 |
children | 344c6a3fe8a8 |
comparison
equal
deleted
inserted
replaced
2301:d30ea441b92e | 2302:0343f0d5add0 |
---|---|
1053 FD_ZERO(&read_fds); | 1053 FD_ZERO(&read_fds); |
1054 struct timeval timeout; | 1054 struct timeval timeout; |
1055 #endif | 1055 #endif |
1056 do { | 1056 do { |
1057 process_events(); | 1057 process_events(); |
1058 #ifndef IS_LIB | |
1058 render_update_display(); | 1059 render_update_display(); |
1060 #endif | |
1059 #ifndef _WIN32 | 1061 #ifndef _WIN32 |
1060 timeout.tv_sec = 0; | 1062 timeout.tv_sec = 0; |
1061 timeout.tv_usec = 16667; | 1063 timeout.tv_usec = 16667; |
1062 FD_SET(fileno(stdin), &read_fds); | 1064 FD_SET(fileno(stdin), &read_fds); |
1063 if(select(fileno(stdin) + 1, &read_fds, NULL, NULL, &timeout) >= 1) { | 1065 if(select(fileno(stdin) + 1, &read_fds, NULL, NULL, &timeout) >= 1) { |