> 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 10:44:29 up 7 days, 10:44, 1 user, load average: 0.14, 0.15, 0.16
This commit is contained in:
@ -45,7 +45,7 @@ void NDL_OpenCanvas(int *w, int *h) {
|
||||
// close(fbctl);
|
||||
// }
|
||||
|
||||
FILE* fp = fopen("/proc/dispinfo", "w");
|
||||
FILE* fp = fopen("/proc/dispinfo", "r");
|
||||
if (fp == NULL) {
|
||||
printf("cannot open /proc/dispinfo");
|
||||
exit(-1);
|
||||
|
Reference in New Issue
Block a user