Commit Graph

198 Commits

Author SHA1 Message Date
Kloen Lansfiel ff31276d53 SDL: Select audio device (#2403)
* Initial Commit

Added Device logic to Sinks
Started on UI for selecting devices

Removed redundant import

* Audio Core: Complete Device Switching

Complete the device switching implementation by allowing the output
device to be loaded, changed and saved through the configurations menu.

Worked with the Sink abstraction and tuned the "Device Selection"
configuration so that the Device List is automatically populated when
the Sink is changed.
This hopefully addresses the concerns and recommendations mentioned in
the comments of the PR.

* Clean original implementation.

* Refactor GetSinkDetails
2017-01-25 22:33:26 -05:00
Kloen 8853f40872 SDL2: Config.cpp fix double to float warning 2017-01-11 13:32:02 +01:00
bunnei ea97a3d52b Merge pull request #2384 from bunnei/internal-res-option
config: Add option for specifying screen resolution scale factor.
2017-01-08 12:25:12 -05:00
bunnei 0c01d14128 Merge pull request #1951 from wwylele/motion-sensor
Emulate motion sensor in frontend
2017-01-07 12:39:20 -05:00
bunnei c785791395 config: Add option for specifying screen resolution scale factor. 2017-01-07 03:23:22 -05:00
Sebastian Valle 0f3144062e Merge pull request #2386 from bunnei/fix-bg-color
config: SDL: Move background color setting to correct section.
2016-12-30 09:51:56 -05:00
bunnei fd564b6dd1 config: SDL: Move background color setting to correct section. 2016-12-30 00:35:38 -05:00
bunnei c6b0d3f8c0 Merge pull request #2240 from wwylele/auto-region
Config: auto-select region and language
2016-12-29 22:09:01 -05:00
wwylele 753865ecfb Frontend: emulate motion sensor 2016-12-26 10:52:16 +02:00
MerryMage f587cb1402 core: Move emu_window and key_map into core
* Removes circular dependences (common should not depend on core)
2016-12-23 13:42:39 +00:00
bunnei ee017bc1d7 Address clang-format issues. 2016-12-21 23:48:14 -05:00
bunnei d4f9119dba core: Consolidate core and system state, remove system module & cleanups. 2016-12-21 23:29:13 -05:00
bunnei a9a3bc828f core: Consolidate top-level system state into a singleton. 2016-12-21 23:29:04 -05:00
bunnei e7bc63fe1e Merge pull request #2303 from freiro/citra-qt_missing_sdl2_dll
Copy SDL2.dll when compiling citra-qt with msvc
2016-12-16 11:35:55 -05:00
freiro 6c4e95b7eb Modularized Qt and SDL file copying
Now cmake relies on two submodules to copy the libraries in the proper folders
2016-12-13 21:05:00 +01:00
Sebastian Valle 254203182d Merge pull request #2267 from JayFoxRox/fix-mingw-cc
Support mingw cross-compilation
2016-12-11 14:44:21 -05:00
wwylele a8c45d2249 Config: auto-select region and language 2016-12-07 20:52:42 +02:00
emmauss 72a2888349 Implement Frame rate limiter (#2223)
* implement frame limiter

* fixes
2016-12-06 14:33:19 -05:00
Jannik Vogel 9b35b434f6 Unify Windows ICON resource name 2016-12-05 19:09:16 +01:00
Jannik Vogel cadf3d6e07 Support mingw cross-compile 2016-12-05 19:09:16 +01:00
Yuri Kunde Schlesner 20333d468d Merge pull request #2196 from Subv/system_mode
Kernel/Loader: Grab the system mode from the NCCH ExHeader.
2016-11-27 17:04:11 -08:00
Subv 7199214c55 Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).

This allows Home Menu to boot without modifications.
Closes #1849
2016-11-27 18:03:48 -05:00
Emmanuel Gil Peyrot 1af2c6d212 GPU: Remove the broken frame_skip option.
Fixes #1960.
2016-11-27 21:19:56 +00:00
Subv 8369e7b59f Kernel/Loader: Grab the system mode from the NCCH ExHeader.
3dsx and elf files default to system mode 2 (96MB allocated to the application).

This allows Home Menu to boot without modifications.
Closes #1849
2016-11-19 20:40:04 -05:00
James Rowe 2ed3d83684 Add default hotkey to swap primary screens.
Also minor style changes
2016-11-05 03:46:43 -06:00
James Rowe db35372787 Support additional screen layouts.
Allows users to choose a single screen layout or a large screen layout.
Adds a configuration option to change the prominent screen.
2016-11-05 02:55:41 -06:00
Jan Beich bee43ed213 build: add default install for DragonFly, Solaris, etc. 2016-10-27 23:28:30 +00:00
Yuri Kunde Schlesner 45751915a0 Use negative priorities to avoid special-casing the self-include 2016-09-21 00:15:56 -07:00
Emmanuel Gil Peyrot e4393f7ff2 Remove empty newlines in #include blocks.
This makes clang-format useful on those.

Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
2016-09-21 11:15:47 +09:00
Yuri Kunde Schlesner 0e23caf9fd Manually tweak source formatting and then re-run clang-format 2016-09-18 21:14:25 -07:00
Emmanuel Gil Peyrot 7e8d205414 Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
bunnei afd32f9773 core: Add configuration option for CPU JIT. 2016-09-15 17:49:27 -04:00
bunnei 9c148dbb38 Merge pull request #2032 from bunnei/qt-graphics
Qt graphics configure & V-Sync option
2016-08-31 22:20:54 -04:00
MerryMage 46e7af4f4e configure_audio: User-configuratble option to enable/disable audio stretching 2016-08-31 16:59:37 +01:00
bunnei b9615051ce config: Add a setting for graphics V-Sync. 2016-08-29 21:42:30 -04:00
bunnei 61d38cc48d citra: Default to HW renderer. 2016-08-15 23:30:02 -04:00
bunnei 8e1770670e Merge pull request #1890 from LFsWang/fix-encode-problem
Fix boot_filename encode on Windows
2016-07-14 22:25:52 -04:00
Mat M 0257933ebf Merge pull request #1897 from linkmauve/sdl2-config-fix
SDL2: Add forgotten default config changes from 7129611e65
2016-06-10 22:38:51 -04:00
bunnei 2a7043b460 Merge pull request #1789 from wwylele/input-refactor
Refactor input mapping & implement circle pad modifier
2016-06-10 22:28:58 -04:00
Emmanuel Gil Peyrot f6764c60c5 SDL2: Add forgotten default config changes from 7129611e65. 2016-06-11 02:19:51 +01:00
LFsWang b5ed9ad302 Fix boot_filename encode on Windows 2016-06-08 13:53:41 +08:00
bunnei ccabcd5c0c Merge pull request #1817 from linkmauve/smdh-stuff
Improve SMDH support in loaders and frontends
2016-05-25 16:40:36 -04:00
bunnei 1d20e8a90d New3DS: Minor style cleanup to #1520. 2016-05-24 17:24:11 -04:00
bunnei 785ae341cd Merge pull request #1520 from JamePeng/checknew3ds
Implement CheckNew3DS and CheckNew3DSApp
2016-05-24 17:19:26 -04:00
Emmanuel Gil Peyrot f2ce000e80 CitraQt: Simplify the game list loader code 2016-05-21 17:09:59 +01:00
Emmanuel Gil Peyrot 6b65a6bbd9 Loader, Frontends: Refactor loader creation and game loading
This allows frontends to keep a single loader and use it multiple times
e.g. for code loading and SMDH parsing.
2016-05-21 17:09:56 +01:00
wwylele 3d8658ceac implement circle pad modifier 2016-05-15 13:24:22 +03:00
wwylele d39a9ee9af Refactor input subsystem 2016-05-15 13:24:22 +03:00
Alexander Laties 68edf2783a fixup simple type conversions where possible 2016-05-07 11:41:55 -04:00
bunnei 4d43661da7 Merge pull request #1736 from MerryMage/sdl2-sink
AudioCore: SDL2 Sink
2016-05-07 11:08:13 -04:00