> 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 00:23:09 up 7 days, 9:20, 1 user, load average: 0.94, 0.92, 0.88
This commit is contained in:
@ -32,6 +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);
|
||||
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user