> 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:16:12 up 2 days, 13:30,  1 user,  load average: 1.09, 0.92, 0.68
This commit is contained in:
tracer-ics2023
2024-09-14 23:16:13 +08:00
committed by zzy
parent 224bfa2959
commit ef80bed441

View File

@ -19,7 +19,9 @@ void __am_gpu_init() {
void __am_gpu_config(AM_GPU_CONFIG_T *cfg) {
// uint32_t vgactl = inl(VGACTL_ADDR);
GET_W(w);
PNT_BITS(w, 16, 'W');
GET_H(h);
PNT_BITS(h, 16, 'H');
*cfg = (AM_GPU_CONFIG_T) {
.present = true, .has_accel = false,
.width = w, .height = h,