aboutsummaryrefslogtreecommitdiff
path: root/src/core/settings.cpp
AgeCommit message (Collapse)Author
2018-08-10video_core; Get rid of global g_toggle_framelimit_enabled variableLioncash
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.
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
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.
2018-08-01video_core: Make global EmuWindow instance part of the base renderer classLioncash
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.
2018-01-12Remove references to PICA and rasterizers in video_coreJames Rowe
2017-10-10hle: Remove a large amount of 3ds-specific service code.bunnei
2017-08-25SidebySide Layout (#2859)ThaMighty90
* 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
2017-05-27Core: Fix some out-of-style includesYuri Kunde Schlesner
2017-05-04ir: implement new 3ds HID via ir:rstwwylele
2017-05-03ir: implement circle pad prowwylele
2017-03-01HID: use ButtonDevicewwylele
2017-01-31removed the possibly uneeded cast on values.gdbstub_portnoah the goodra
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
2017-01-07config: Add option for specifying screen resolution scale factor.bunnei
2016-12-23core: Move emu_window and key_map into coreMerryMage
* Removes circular dependences (common should not depend on core)
2016-12-06Implement Frame rate limiter (#2223)emmauss
* implement frame limiter * fixes
2016-11-05Support additional screen layouts.James Rowe
Allows users to choose a single screen layout or a large screen layout. Adds a configuration option to change the prominent screen.
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot
2016-08-31configure_audio: User-configuratble option to enable/disable audio stretchingMerryMage
2016-04-30Audio: Add sink selection to configuration filesMerryMage
2016-04-21Config: Add scaled resolution optiontfarley
2016-04-11CitraQt: Apply config at startupJannik Vogel
2014-12-20License changepurpasmart96
2014-10-07Added configuration file system.archshift
Uses QSettings on citra-qt, and inih on citra-cli.