> 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:45:57 up 7 days, 10:46, 1 user, load average: 0.09, 0.13, 0.15
This commit is contained in:
@ -33,7 +33,7 @@ size_t events_read(void *buf, size_t offset, size_t len) {
|
||||
size_t dispinfo_read(void *buf, size_t offset, size_t len) {
|
||||
AM_GPU_CONFIG_T gconf = io_read(AM_GPU_CONFIG);
|
||||
TRACE("GPU_CONFIG: %d %d %d", gconf.width, gconf.height, gconf.vmemsz);
|
||||
return snprintf(buf, len, "WIDTH%[ \t]:%d\nHEIGHT%[\t ]:%d\n", gconf.width, gconf.height);
|
||||
return snprintf(buf, len, "WIDTH : %d\nHEIGHT: %d\n", gconf.width, gconf.height);
|
||||
}
|
||||
|
||||
size_t fb_write(const void *buf, size_t offset, size_t len) {
|
||||
|
Reference in New Issue
Block a user