Merge branch 'main' of git.mcorangehq.xyz:XOR64/dim

This commit is contained in:
2024-05-23 03:14:22 +03:00
2 changed files with 13 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ void plug_init(void) {
void plug_reload(void) { /* Unused */ }
void plug_poll(char* buf, size_t len) {
if (!fp) return;
int perc = 0;
fseek(fp, 0, SEEK_SET);
fscanf(fp, "%d", &perc);