> compile NEMU
221220000 张三 Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 11:18:17 up 7 days, 11:18, 1 user, load average: 0.08, 0.14, 0.11
This commit is contained in:
@ -59,7 +59,6 @@ void NDL_OpenCanvas(int *w, int *h) {
|
||||
while (sscanf(pos, "%s%*[ \t]:%d\n", name, &num) == 2 && life--) {
|
||||
printf("log:%s,%d\n", name, num);
|
||||
pos = strchr(pos, '\n');
|
||||
pos ++;
|
||||
if (pos == NULL) break;
|
||||
if (strcmp(name, "WIDTH") == 0) { dev_w = num; }
|
||||
if (strcmp(name, "HEIGHT") == 0) { dev_h = num; }
|
||||
|
Reference in New Issue
Block a user