Commit Graph

18 Commits (93031fc27ff111c44ab91a46f3292881360d01e2)

Author SHA1 Message Date
Connor McLaughlin 93031fc27f SDL: Re-add frame step hotkey
Needs porting to Qt at some point.
6 years ago
Connor McLaughlin d8ab587153 HostInterface: Modify settings loading interface to support per-frontend settings 6 years ago
Connor McLaughlin 81cf4b469f Frontends: Add shared command line interface
Also provides batch mode and automatic fullscreen switching.

  -help: Displays this information and exits.
  -version: Displays version information and exits.
  -batch: Enables batch mode (exits after powering off)
  -fastboot: Force fast boot for provided filename
  -slowboot: Force slow boot for provided filename
  -resume: Load resume save state. If a boot filename is provided,
    that game's resume state will be loaded, otherwise the most
    recent resume save state will be loaded.
  -state <index>: Loads specified save state by index. If a boot
    filename is provided, a per-game state will be loaded, otherwise
    a global state will be loaded.
  -statefile <filename>: Loads state from the specified filename.
    No boot filename is required with this option.
  -fullscreen: Enters fullscreen mode immediately after starting.
  -nofullscreen: Prevents fullscreen mode from triggering if enabled.
  -portable: Forces "portable mode", data in same directory.
  --: Signals that no more arguments will follow and the remaining
    parameters make up the filename. Use when the filename contains
    spaces or starts with a dash.
6 years ago
Connor McLaughlin 156a360d86 SDL: Migrate to common host interface
It now supports controllers again. But you have to bind them in Qt.
6 years ago
Connor McLaughlin e91d760175 HostInterface: Fix crash on startup with controller connected 6 years ago
Connor McLaughlin e7640d5367 HostInterface: Make SetUserDirectory() overridable by frontends 6 years ago
Connor McLaughlin 7e36195f44 HostInterface: Enable on-screen FPS/VPS/Speed display via config 6 years ago
Connor McLaughlin 29a09a3685 Introduce ControllerInterface class, port SDL interface over
This breaks controller support in the SDL frontend until it's ported
over to the common interface.
6 years ago
Connor McLaughlin ce31c85983 SDL: Support high-dpi displays 6 years ago
Connor McLaughlin a0a0cd48fa SDL: Reimplement improved fullscreen toggling 6 years ago
Connor McLaughlin f03de090c4 SDL: Fix setting changes not applying 6 years ago
Connor McLaughlin e9dea6e0f7 HostInterface: Add a ConfirmMessage() method 6 years ago
Connor McLaughlin 961bc09979 SDL: Fix crashes on starting emulation 6 years ago
Connor McLaughlin 9ddb3a8c7a SDL: Use controller interface from frontend-common 6 years ago
Connor McLaughlin 5f3be68028 HostInterface: Notify host when controller types change 6 years ago
Connor McLaughlin fd8ed08307 Move more logic from frontend to base HostInterface 6 years ago
Connor McLaughlin 3bafdf88d4 SDL: Fix uninitialized mapping variables 6 years ago
Connor McLaughlin ec55ab7f5e Build: Rename duckstation to duckstation-sdl 6 years ago