VirtualBox

Opened 15 years ago

Closed 15 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)

VBoxSDL.cpp.patch (436 bytes ) - added by Sergey Lungu 15 years ago.

Download all attachments as: .zip

Change History (3)

by Sergey Lungu, 15 years ago

Attachment: VBoxSDL.cpp.patch added

in reply to:  description comment:1 by Sergey Lungu, 15 years ago

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:

$ VBoxSDL -fixedmode 0 1024 768

comment:2 by Frank Mehnert, 15 years ago

Resolution: fixed
Status: newclosed

Thanks for this report, fixed in SVN.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use