summaryrefslogtreecommitdiff
path: root/src/yuzu_cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* implemented touch in Qt and SDLGravatar NeatNit2018-10-092-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change TouchToPixelPos to return std::pair<int, int> static_cast (SDL) various minor style and code improvements style - PascalCase for function names made touch events private const pointer arg in touch events make TouchToPixelPos a const member function did I do this right? braces on barely-multiline if remove question comment (confirmed in Discord) fixed consts remove unused parameter from TouchEndEvent DRY - High-DPI scaled touch put in separate function also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom. implicit conversion from QPoint to QPointF, apparently I have no idea what const even means but I'll put it here anyway remove unused or used-once variables make touch scaling functions const, and put their implementations together removed unused FingerID parameters QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit better DRY in SDL To do -> TODO(NeatNit) remove unused include
* cmd: Support passing game arguments from command lineGravatar Zach Hilman2018-10-072-8/+12
| | | | Uses -p (--program) and following string as args.
* yuzu/yuzu_cmd: Add checks for required extension ARB_copy_image.Gravatar bunnei2018-10-061-0/+2
|
* Review comments - part 3Gravatar fearlessTobi2018-10-021-1/+1
|
* Port web_service from CitraGravatar fearlessTobi2018-10-023-4/+13
|
* Update config.cppGravatar Valentin Vanelslande2018-09-211-1/+1
|
* Merge pull request #1337 from DarkLordZach/create-fs-cmdGravatar bunnei2018-09-201-1/+3
|\ | | | | yuzu-cmd: Add filesystem service initializer call
| * yuzu-cmd: Add call to CreateFactoriesGravatar Zach Hilman2018-09-191-1/+3
| | | | | | | | Ensures all relevant filesystem objects are initialized and eliminates a crash related to the RegisteredCache.
* | Invalid default value of username in yuzu_cmd (#1334)Gravatar Philippe Babin2018-09-182-1/+5
|/ | | | | | | | | | * Fix bug where default username value for yuzu_cmd create an userprofile with uninitialize data as username * Fix format * Apply code review changes * Remove nullptr check
* Use ARB_multi_bind for uniform buffers (#1287)Gravatar ReinUsesLisp2018-09-121-0/+2
| | | | | | * gl_rasterizer: use ARB_multi_bind for uniform buffers * address feedback
* Merge pull request #1163 from FearlessTobi/add-audio-stretchingGravatar bunnei2018-09-122-0/+8
|\ | | | | audio_core: Add audio stretching support
| * Add audio stretching supportGravatar fearlessTobi2018-09-082-0/+8
| |
* | gl_rasterizer: Use ARB_texture_storage.Gravatar Markus Wick2018-09-111-0/+2
| | | | | | | | | | | | | | | | It allows us to use texture views and it reduces the overhead within the GPU driver. But it disallows us to reallocate the texture, but we don't do so anyways. In the end, it is the new way to allocate textures, so there is no need to use the old way.
* | Port #4141 from citra: Joystick hotplug support (#1275)Gravatar Tobias2018-09-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Joystick hotplug support (#4141) * use SDL_PollEvent instead of SDL_JoystickUpdate Register hot plugged controller by GUID if they were configured in a previous session * Move SDL_PollEvent into its own thread * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call * Fix that joystick_list gets cleared after SDL_Quit * Add VirtualJoystick for InputDevices thats never nullptr * fixup! Add VirtualJoystick for InputDevices thats never nullptr * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr * Remove SDL_GameController, make SDL_Joystick* unique_ptr * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr * Adressed feedback; fixed handling of same guid reconnects * fixup! Adressed feedback; fixed handling of same guid reconnects * merge the two joystick_lists into one * make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! fixup! make SDLJoystick a member of VirtualJoystick * SDLJoystick: Addressed review comments * Address one missed review comment
* | Merge pull request #1258 from tgsm/fix-sdl-loggingGravatar bunnei2018-09-091-2/+3
|\ \ | |/ |/| yuzu-cmd: fix SDL logging
| * yuzu-cmd: fix SDL loggingGravatar tgsm2018-09-081-2/+3
| |
* | gl_rasterizer: Use baseInstance instead of moving the buffer points.Gravatar bunnei2018-09-081-0/+2
|/ | | | | | | This hopefully helps our cache not to redundant upload the vertex buffer. # Conflicts: # src/video_core/renderer_opengl/gl_rasterizer.cpp
* For SDL FrontendGravatar CaptV0rt3x2018-09-071-2/+2
|
* frontend: Set swap interval to 0Gravatar fearlessTobi2018-09-061-0/+1
|
* Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirsGravatar bunnei2018-09-041-0/+6
|\ | | | | file_sys: Allow for custom NAND/SD directories
| * settings: Save and load NAND/SD dirs from configGravatar Zach Hilman2018-09-031-0/+6
| |
* | vfs_real: Forward declare IOFileGravatar Lioncash2018-09-021-0/+1
|/ | | | | | Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
* core/core: Replace includes with forward declarations where applicableGravatar Lioncash2018-08-311-0/+3
| | | | | | | | | | | The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
* Port #3353 from CitraGravatar fearlessTobi2018-08-212-6/+11
|
* Added check to see if ARB_texture_mirror_clamp_to_edge is supportedGravatar David Marcec2018-08-191-0/+2
|
* loader: Make ResultStatus directly compatible with fmtGravatar Lioncash2018-08-151-1/+3
| | | | | | | | | We can make the enum class type compatible with fmt by providing an overload of operator<<. While we're at it, perform proper bounds checking. If something exceeds the array, it should be a hard fail, because it's, without a doubt, a programmer error in this case.
* core: Namespace EmuWindowGravatar Lioncash2018-08-111-1/+1
| | | | Gets the class out of the global namespace.
* loader: Add more descriptive errorsGravatar Zach Hilman2018-08-091-13/+11
| | | Full list of new errors and descriptions in core/loader/loader.h
* core: Port core to VfsFilesystem for file accessGravatar Zach Hilman2018-08-081-0/+1
|
* Merge pull request #912 from lioncash/global-varGravatar bunnei2018-08-051-1/+1
|\ | | | | video_core: Eliminate the g_renderer global variable
| * video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #849 from DarkLordZach/xciGravatar bunnei2018-08-042-5/+12
|\ \ | |/ |/| XCI and Encrypted NCA Support
| * Fix merge conflicts with opus and update docsGravatar Zach Hilman2018-08-011-2/+2
| |
| * Use more descriptive error codes and messagesGravatar Zach Hilman2018-08-011-5/+9
| |
| * Make XCI comply to review and style guidelinesGravatar Zach Hilman2018-08-011-13/+0
| |
| * Remove files that are not usedGravatar Zach Hilman2018-08-012-0/+16
| |
* | Added ability to change username & language code in the settings ui. Added ↵Gravatar David2018-08-031-0/+10
| | | | | | | | IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
* | video_core: Make global EmuWindow instance part of the base renderer classGravatar Lioncash2018-08-011-1/+1
|/ | | | | | | | | | | 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.
* audio_core: Add configuration settings.Gravatar bunnei2018-07-312-7/+10
|
* Merge pull request #836 from FearlessTobi/port-3594Gravatar bunnei2018-07-261-0/+2
|\ | | | | Port #3665 from Citra: "frontend: Log Citra version"
| * Port #3665 from CitraGravatar fearlessTobi2018-07-261-0/+2
| |
* | Port #3641 from CitraGravatar fearlessTobi2018-07-261-1/+1
|/
* Frontend: Check for more required OpenGL extensions during startup.Gravatar Subv2018-07-221-2/+12
|
* file_util: Use an enum class for GetUserPath()Gravatar Lioncash2018-07-212-9/+14
| | | | | | | | | | | | | Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
* settings: Turn docked mode off by default.Gravatar bunnei2018-07-172-2/+2
|
* OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.Gravatar bunnei2018-07-141-0/+5
|
* Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual ↵Gravatar Tobias2018-07-122-6/+4
| | | | | | | | error preventing SDL from working" (#637) * Port #3335 and #3373 from Citra * Fixup: Use the new logging placeholders
* yuzu-cmd Apply the filter string from settingsGravatar James Rowe2018-07-121-2/+1
|
* Remove some references to CitraGravatar fearlessTobi2018-07-061-1/+1
|
* Fix build and address review feedbackGravatar bunnei2018-07-021-0/+1
|