williehwc / wonderdroid-x

Bandai Wonderswan emulator for Android. バンダイのワンダースワンというハードのエミュです。
GNU General Public License v2.0
18 stars 2 forks source link

screen rotation and portrait #25

Open AngelofMe opened 1 year ago

AngelofMe commented 1 year ago

90/180/270 degrees

AngelofMe commented 1 year ago
  "wswan_rotate_display",
  "Display Rotation",
  NULL,
  "Choose the orientation of the console screen. 'Portrait' can be used to achieve the correct layout of portrait oriented games on a conventional (landscape) display. 'Manual' enables rotation via the controller (default button: SELECT).",
  NULL,
  NULL,
  {
     { "manual",    "Manual" },
     { "landscape", "Landscape" },
     { "portrait",  "Portrait" },
     { NULL, NULL },
  },
  "manual",

},

  "wswan_rotate_keymap",
  "Rotate Button Mappings",
  NULL,
  "Choose the preferred button mapping. 'Auto' adjusts button mapping to match the current display rotation.",
  NULL,
  NULL,
  {
     { "auto",     "Auto" },
     { "disabled", "Landscape" },
     { "enabled",  "Portrait" },
     { NULL, NULL},
  },
  "auto",

  "wswan_gfx_colors",
  "Color Depth (Restart Required)",
  NULL,
  "24-bit is slower and not available on all platforms.",
  NULL,
  NULL,
  {
     { "16bit", "Thousands (16-bit)" },
     { "24bit", "Millions (24-bit)" },
     { NULL, NULL },
  },
  "16bit"

},

  "wswan_frameskip",
  "Frameskip",
  NULL,
  "Skip frames to avoid audio buffer under-run (crackling). Improves performance at the expense of visual smoothness. 'Auto' skips frames when advised by the frontend. 'Manual' utilizes the 'Frameskip Threshold (%)' setting.",
  NULL,
  NULL,
  {
     { "disabled", NULL },
     { "auto",     "Auto" },
     { "manual",   "Manual" },
     { NULL, NULL },
  },
  "disabled"

},

  "wswan_frameskip_threshold",
  "Frameskip Threshold (%)",
  NULL,
  "When 'Frameskip' is set to 'Manual', this specifies the audio buffer occupancy threshold (percentage) below which frames will be skipped. Higher values reduce the risk of crackling by causing frames to be dropped more frequently.",
  NULL,
  NULL,
  {
     { "15", NULL },
     { "18", NULL },
     { "21", NULL },
     { "24", NULL },
     { "27", NULL },
     { "30", NULL },
     { "33", NULL },
     { "36", NULL },
     { "39", NULL },
     { "42", NULL },
     { "45", NULL },
     { "48", NULL },
     { "51", NULL },
     { "54", NULL },
     { "57", NULL },
     { "60", NULL },
     { NULL, NULL },
  },
  "33"

},

  "wswan_60hz_mode",
  "60Hz Mode",
  NULL,
  "Update the display at 60Hz instead of the native 75Hz WonderSwan refresh rate by dropping every fifth frame. Reduces video smoothness, but avoids screen tearing on displays that do not support native operation above 60Hz.",
  NULL,
  NULL,
  {
     { "disabled", NULL },
     { "enabled",  NULL },
     { NULL, NULL },
  },
  "enabled",

},

  "wswan_sound_sample_rate",
  "Sound Output Sample Rate",
  NULL,
  "Higher values improve sound quality slightly at the expense of performance.",
  NULL,
  NULL,
  {
     { "11025",  NULL },
     { "22050",  NULL },
     { "44100",  NULL },
     { "48000",  NULL },
     { NULL, NULL },
  },
  "44100",

},

  "wswan_sound_low_pass",
  "Audio Filter",
  NULL,
  "Apply a low pass audio filter to 'soften' the sometimes harsh chiptunes produced by the WonderSwan.",
  NULL,
  NULL,
  {
     { "disabled", NULL },
     { "enabled",  NULL },
     { NULL, NULL },
  },
  "disabled",