> 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 23:42:23 up 7 days, 8:39, 1 user, load average: 1.06, 0.87, 0.58
This commit is contained in:
@ -32,7 +32,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);
|
||||
return snprintf(buf, len, "WIDTH : %d\nHEIGHT: %d\n", gconf.width, gconf.height);
|
||||
return snprintf(buf, len, "WIDTH%[ \t]:%d\nHEIGHT%[\t ]:%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