mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-01 22:30:42 -07:00
sdvx: disable sdvx landscape option (#303)
## Link to GitHub Issue, if one exists Fixes #277 ## Description of change To avoid confusion, temporarily remove `-sdvxlandscape` because of the issue described in the bug above. `forceresswap` is still kept, so there is still a way to do exactly what `-sdvxlandscape` used to do, if someone really wants it. ## Testing Checked that `-sdvxlandscape` is ignored, and that `-sdvxlandscape` continues to be honored.
This commit is contained in:
@@ -1170,13 +1170,17 @@ int main_implementation(int argc, char *argv[]) {
|
||||
}
|
||||
}
|
||||
|
||||
if (options[launcher::Options::SDVXFullscreenLandscape].value_bool() && !GRAPHICS_WINDOWED) {
|
||||
#if SPICE64
|
||||
GRAPHICS_FS_ORIENTATION_SWAP = true;
|
||||
#else
|
||||
log_warning("launcher", "-sdvxlandscape is not supported in 32-bit SDVX, ignoring...");
|
||||
#endif
|
||||
}
|
||||
// // SDVXFullscreenLandscape disabled due to it messing with in-game camera angle
|
||||
// // FullscreenOrientationFlip continues to live on, however.
|
||||
//
|
||||
// if (options[launcher::Options::SDVXFullscreenLandscape].value_bool() && !GRAPHICS_WINDOWED) {
|
||||
// #if SPICE64
|
||||
// GRAPHICS_FS_ORIENTATION_SWAP = true;
|
||||
// #else
|
||||
// log_warning("launcher", "-sdvxlandscape is not supported in 32-bit SDVX, ignoring...");
|
||||
// #endif
|
||||
// }
|
||||
|
||||
if (options[launcher::Options::FullscreenOrientationFlip].value_bool() && !GRAPHICS_WINDOWED) {
|
||||
GRAPHICS_FS_ORIENTATION_SWAP = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user