summaryrefslogtreecommitdiff
path: root/src/core/settings.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core; Get rid of global g_toggle_framelimit_enabled variableGravatar Lioncash2018-08-101-5/+1
| | | | | | | | | Instead, we make a struct for renderer settings and allow the renderer to update all of these settings, getting rid of the need for global-scoped variables. This also uncovered a few indirect inclusions for certain headers, which this commit also fixes.
* video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-041-2/+4
| | | | | | | | | | | | | | We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
* video_core: Make global EmuWindow instance part of the base renderer classGravatar Lioncash2018-08-011-5/+3
| | | | | | | | | | | Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
* Remove references to PICA and rasterizers in video_coreGravatar James Rowe2018-01-121-6/+0
|
* hle: Remove a large amount of 3ds-specific service code.Gravatar bunnei2017-10-101-2/+0
|
* SidebySide Layout (#2859)Gravatar ThaMighty902017-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | * added a SidebySide Layout * Reworked, so both screen have the same height and cleaned up screen translates. * added the option in the UI, hope this is the right way to do it. formated framebuffer_layout.cpp * delete the x64 files * deleted ui_configure_graphics.h * added Option for the Layout in the xml * got rid of SIDE_BY_SIDE_ASPECT_RATIO because it was useless. pulled translate into variables * changed shift variables to u32 and moved them in their respective branch. remove notr="true" for the Screen layout drop down * reworked intends :). changed function description for SideFrameLayout * some description reworking
* Core: Fix some out-of-style includesGravatar Yuri Kunde Schlesner2017-05-271-1/+1
|
* ir: implement new 3ds HID via ir:rstGravatar wwylele2017-05-041-1/+1
|
* ir: implement circle pad proGravatar wwylele2017-05-031-0/+2
|
* HID: use ButtonDeviceGravatar wwylele2017-03-011-0/+3
|
* removed the possibly uneeded cast on values.gdbstub_portGravatar noah the goodra2017-01-311-1/+1
| | | | as far as i could tell this cast is unneeded because [GDBStub::SetServerPort](https://github.com/citra-emu/citra/blob/master/src/core/gdbstub/gdbstub.cpp#L897) takes a u16 and [values.gdbstub_port](https://github.com/citra-emu/citra/blob/master/src/core/settings.h#L116) is already a u16
* config: Add option for specifying screen resolution scale factor.Gravatar bunnei2017-01-071-1/+0
|
* core: Move emu_window and key_map into coreGravatar MerryMage2016-12-231-1/+1
| | | | * Removes circular dependences (common should not depend on core)
* Implement Frame rate limiter (#2223)Gravatar emmauss2016-12-061-0/+1
| | | | | | * implement frame limiter * fixes
* Support additional screen layouts.Gravatar James Rowe2016-11-051-0/+7
| | | | | Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
* Use negative priorities to avoid special-casing the self-includeGravatar Yuri Kunde Schlesner2016-09-211-1/+1
|
* Remove empty newlines in #include blocks.Gravatar Emmanuel Gil Peyrot2016-09-211-3/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Gravatar Emmanuel Gil Peyrot2016-09-181-1/+0
|
* configure_audio: User-configuratble option to enable/disable audio stretchingGravatar MerryMage2016-08-311-0/+1
|
* Audio: Add sink selection to configuration filesGravatar MerryMage2016-04-301-0/+5
|
* Config: Add scaled resolution optionGravatar tfarley2016-04-211-1/+1
|
* CitraQt: Apply config at startupGravatar Jannik Vogel2016-04-111-0/+14
|
* License changeGravatar purpasmart962014-12-201-1/+1
|
* Added configuration file system.Gravatar archshift2014-10-071-0/+11
Uses QSettings on citra-qt, and inih on citra-cli.