Opened 16 years ago
Closed 16 years ago
#3067 closed defect (fixed)
VBoxSDL's fixedmode commad line parameter seems to be wrongly handled
Reported by: | Sergey Lungu | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 2.1.0 |
Keywords: | vboxsdp fixedmode | Cc: | |
Guest type: | other | Host type: | Linux |
Description
If I start VBoxSDL with the following command line I get a 768x32 window.
$ VBoxSDL -fixedmode 1024 768 32
Looking at the source code, src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp seems to be inconsistent with src/VBox/Frontends/VBoxSDL/Framebuffer.{cpp,h}. VBoxSDLFB's constructors takes 7 parameters, while VBosSDL.cpp passes only six of them, `bool fKeepHostRes' seems to be ignored by mistake. The fix should be trivial. A quick'n'dirty solution patch is attached.
Attachments (1)
Change History (3)
by , 16 years ago
Attachment: | VBoxSDL.cpp.patch added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for this report, fixed in SVN.
Note:
See TracTickets
for help on using tickets.
Forgot to add: As quick workaround, until official fix, it is possible to change -fixedmode's syntax since <bpp> parameter seems to be ignored, eg: