summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei2018-10-162-4/+4
| | | | - This will be used as a catch-all for slow-but-accurate GPU emulation paths.
* filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem instance by referenceLioncash2018-10-131-1/+1
| | | | | | | Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
* implemented touch in Qt and SDLNeatNit2018-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 lineZach Hilman2018-10-072-8/+12
| | | | Uses -p (--program) and following string as args.
* yuzu/yuzu_cmd: Add checks for required extension ARB_copy_image.bunnei2018-10-061-0/+2
|
* Review comments - part 3fearlessTobi2018-10-021-1/+1
|
* Port web_service from CitrafearlessTobi2018-10-023-4/+13
|
* Update config.cppValentin Vanelslande2018-09-211-1/+1
|
* Merge pull request #1337 from DarkLordZach/create-fs-cmdbunnei2018-09-211-1/+3
|\ | | | | yuzu-cmd: Add filesystem service initializer call
| * yuzu-cmd: Add call to CreateFactoriesZach 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)Philippe Babin2018-09-192-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)ReinUsesLisp2018-09-131-0/+2
| | | | | | * gl_rasterizer: use ARB_multi_bind for uniform buffers * address feedback
* Merge pull request #1163 from FearlessTobi/add-audio-stretchingbunnei2018-09-132-0/+8
|\ | | | | audio_core: Add audio stretching support
| * Add audio stretching supportfearlessTobi2018-09-082-0/+8
| |
* | gl_rasterizer: Use ARB_texture_storage.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)Tobias2018-09-111-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-loggingbunnei2018-09-101-2/+3
|\ \ | |/ |/| yuzu-cmd: fix SDL logging
| * yuzu-cmd: fix SDL loggingtgsm2018-09-081-2/+3
| |
* | gl_rasterizer: Use baseInstance instead of moving the buffer points.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 FrontendCaptV0rt3x2018-09-071-2/+2
|
* frontend: Set swap interval to 0fearlessTobi2018-09-061-0/+1
|
* Merge pull request #1223 from DarkLordZach/custom-nand-sd-dirsbunnei2018-09-041-0/+6
|\ | | | | file_sys: Allow for custom NAND/SD directories
| * settings: Save and load NAND/SD dirs from configZach Hilman2018-09-041-0/+6
| |
* | vfs_real: Forward declare IOFileLioncash2018-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 applicableLioncash2018-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 CitrafearlessTobi2018-08-212-6/+11
|
* Added check to see if ARB_texture_mirror_clamp_to_edge is supportedDavid Marcec2018-08-191-0/+2
|
* loader: Make ResultStatus directly compatible with fmtLioncash2018-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 EmuWindowLioncash2018-08-121-1/+1
| | | | Gets the class out of the global namespace.
* loader: Add more descriptive errorsZach Hilman2018-08-101-13/+11
| | | Full list of new errors and descriptions in core/loader/loader.h
* core: Port core to VfsFilesystem for file accessZach Hilman2018-08-091-0/+1
|
* Merge pull request #912 from lioncash/global-varbunnei2018-08-051-1/+1
|\ | | | | video_core: Eliminate the g_renderer global variable
| * video_core: Eliminate the g_renderer global variableLioncash2018-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/xcibunnei2018-08-042-5/+12
|\ \ | |/ |/| XCI and Encrypted NCA Support
| * Fix merge conflicts with opus and update docsZach Hilman2018-08-011-2/+2
| |
| * Use more descriptive error codes and messagesZach Hilman2018-08-011-5/+9
| |
| * Make XCI comply to review and style guidelinesZach Hilman2018-08-011-13/+0
| |
| * Remove files that are not usedZach Hilman2018-08-012-0/+16
| |
* | Added ability to change username & language code in the settings ui. Added IProfile::Get and SET::GetLanguageCode for libnx tests (#851)David2018-08-031-0/+10
| |
* | video_core: Make global EmuWindow instance part of the base renderer classLioncash2018-08-021-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.bunnei2018-08-012-7/+10
|
* Merge pull request #836 from FearlessTobi/port-3594bunnei2018-07-261-0/+2
|\ | | | | Port #3665 from Citra: "frontend: Log Citra version"
| * Port #3665 from CitrafearlessTobi2018-07-261-0/+2
| |
* | Port #3641 from CitrafearlessTobi2018-07-261-1/+1
|/
* Frontend: Check for more required OpenGL extensions during startup.Subv2018-07-221-2/+12
|
* file_util: Use an enum class for GetUserPath()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.bunnei2018-07-182-2/+2
|
* OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.bunnei2018-07-141-0/+5
|
* Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual error preventing SDL from working" (#637)Tobias2018-07-122-6/+4
| | | | | | * Port #3335 and #3373 from Citra * Fixup: Use the new logging placeholders
* yuzu-cmd Apply the filter string from settingsJames Rowe2018-07-121-2/+1
|
* Remove some references to CitrafearlessTobi2018-07-061-1/+1
|
* Fix build and address review feedbackbunnei2018-07-031-0/+1
|
* Add configurable logging backendsJames Rowe2018-07-031-1/+6
|
* Update clang formatJames Rowe2018-07-031-3/+3
|
* Rename logging macro back to LOG_*James Rowe2018-07-033-23/+23
|
* settings: Add a configuration for use_accurate_framebuffers.bunnei2018-06-272-0/+6
|
* sdl: add check for GL extension supportBreadFish642018-06-042-0/+26
|
* yuzu_cmd: Fix project for latest msvc.bunnei2018-05-241-14/+12
|
* core: Add a configuration setting for use_multi_core.bunnei2018-05-112-0/+5
|
* string_util: Remove StringFromFormat() and related functionsLioncash2018-04-301-2/+3
| | | | Given we utilize fmt, we don't need to provide our own functions for formatting anymore
* frontends: Move logging macros over to new fmt-capable onesLioncash2018-04-273-19/+19
|
* Merge pull request #377 from adityaruplaha/sdl2-fullscreenbunnei2018-04-213-4/+40
|\ | | | | SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)
| * SDL2: Implement fullscreen. (Original PR: citra-emu/citra#3607)adityaruplaha2018-04-213-4/+40
| |
* | Implement Pull #3528 from citra: use nvidia graphics automatically on laptops with optimus (with AMD support) (#271)N00byKing2018-04-191-0/+9
|/ | | | | | | | * Port 3528: use nvidia graphics automatically on laptops with optimus * Force dedicated AMD Card for switchable Graphics * Ran clang-format
* default_ini.h: Update from citra to yuzuN00byKing2018-04-041-1/+1
|
* Merge pull request #267 from N00byKing/patch-1bunnei2018-04-031-1/+1
|\ | | | | Update Dialog from citra to yuzu
| * yuzu.cpp: Update Link from citra to yuzuN00byKing2018-03-261-1/+1
| |
* | Merge pull request #276 from N00byKing/acctoyuzubunnei2018-04-031-5/+5
|\ \ | | | | | | Change Telemetry Names to yuzu and remove links to citra
| * | Remove Links to citra ServicesN00byKing2018-03-271-2/+2
| | |
| * | Change Telemetry Names to yuzuN00byKing2018-03-271-3/+3
| | |
* | | config: Use simplified checkbox (from Citra) for CPU JIT.bunnei2018-03-272-5/+4
| | |
* | | config: Rename is_docked to use_docked_mode to be consistent with other config bools.bunnei2018-03-272-2/+2
| | |
* | | config: Add setting for whether the system is docked or not.bunnei2018-03-272-0/+7
|/ /
* | Merge pull request #270 from N00byKing/patch-2bunnei2018-03-231-4/+0
|\ \ | | | | | | Remove Option for N/3DS from default.ini
| * | Remove Option for N/3DS from default.iniN00byKing2018-03-231-4/+0
| |/
* / CITRA_ICON -> YUZU_ICONN00byKing2018-03-231-1/+1
|/
* yuzu_cmd: change default cpu core to dynarmicValentin Vanelslande2018-03-231-1/+1
|
* default_ini: change default cpu core to dynarmicValentin Vanelslande2018-03-231-1/+1
|
* Format: Run the new clang format on everythingJames Rowe2018-01-211-2/+10
|
* CMakeLists: Derive the source directory grouping from targets themselvesLioncash2018-01-181-14/+11
| | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
* Update default_ini.hN00byKing2018-01-171-2/+2
|
* clang-formatMerryMage2018-01-161-1/+0
|
* Merge pull request #20 from Andrix44/fixesbunnei2018-01-151-2/+2
|\ | | | | Various fixes
| * Update the internal resolution settingsunknown2018-01-151-2/+2
| |
* | yuzu_cmd: Fix default ini, add screenshot buttonshinyquagsire232018-01-151-1/+2
| |
* | yuzu_cmd: fix default inishinyquagsire232018-01-151-9/+17
|/
* Minor cleanupMerryMage2018-01-142-4/+4
|
* config: Default log filter to trace.bunnei2018-01-132-2/+2
|
* Remove settings issues in sdl and fix a few files that broke in mingwJames Rowe2018-01-132-49/+0
|
* Get yuzu sdl to start compilingJames Rowe2018-01-135-12/+12
|
* Massive removal of unused modulesJames Rowe2018-01-139-0/+842