Commit e4e0e70
authored
Fix memory region in framebuffer (#65)
If screen size is less than virtual resolution, it will draw multiple
screens on display. Use 'line_length' for calculation instead of screen
size.
Changeable information like virtual resolution or virtual terminal
settings may not apply across different hardware and drivers. e.g.,
on VirtualBox, virtual resolution is 2048x2048, visible resolution is
800x600, and line length is 2048 * 4. Any settings from guest machine to
these may be ignored.1 parent b458e28 commit e4e0e70
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments