diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-12 00:37:26 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-16 22:57:45 +0100 |
| commit | 2ce58c995946f85666e793c4f06efff683e76ae4 (patch) | |
| tree | fbf2658bb0b0f61dadcf4ca27f997eaded78aae5 /src/loop | |
| parent | 5ce25ae3b5d8666d373f7d7e336546ce8508c213 (diff) | |
| download | wnix-master.tar.gz | |
fixesHEADhelloworldmaster
Diffstat (limited to 'src/loop')
| -rw-r--r-- | src/loop/src/run.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/loop/src/run.c b/src/loop/src/run.c index 6c23365..3ce97b7 100644 --- a/src/loop/src/run.c +++ b/src/loop/src/run.c @@ -31,8 +31,6 @@ #include <drv/ps1/bios.h> int loop_run(void) { - static unsigned iterations; - if (fs_update() || aio_poll(loop_aio_head, 0) < 0 || init_run() @@ -41,6 +39,9 @@ int loop_run(void) || gfx_update()) return -1; +#if 0 + static unsigned iterations; + iterations++; static struct timespec ts; @@ -59,6 +60,6 @@ int loop_run(void) ts = now; iterations = 0; } - +#endif return 0; } |
