summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2518 from ReinUsesLisp/sdl2-windowbunnei2019-05-296-180/+213
|\ | | | | yuzu_cmd: Split emu_window OpenGL implementation into its own file
| * emu_window: Pass OnMinimalClientAreaChangeRequest argument by copyReinUsesLisp2019-05-262-4/+2
| | | | | | | | | | There's no performance improvement in passing an unsigned pair by reference.
| * yuzu_cmd: Split emu_window OpenGL implementation into its own fileReinUsesLisp2019-05-256-176/+211
| |
* | common/file_util: Make ReadFileToString and WriteStringToFile consistentLioncash2019-05-231-2/+2
|/ | | | | | | | | | | Makes the parameter ordering consistent, and also makes the filename parameter a std::string. A std::string would be constructed anyways with the previous code, as IOFile's only constructor with a filepath is one taking a std::string. We can also make WriteStringToFile's string parameter utilize a std::string_view for the string, making use of our previous changes to IOFile.
* Merge pull request #2477 from ReinUsesLisp/fix-sdl2bunnei2019-05-171-0/+1
|\ | | | | yuzu_cmd: Make OpenGL's context current
| * yuzu_cmd: Make OpenGL's context currentReinUsesLisp2019-05-171-0/+1
| | | | | | | | | | The SDL2 frontend never bound the OpenGL context, resulting on a white screen and no-ops all over the backend.
* | yuzu_cmd: Use OpenGL compat when asked in the settingsReinUsesLisp2019-05-171-1/+5
|/
* Merge pull request #2424 from FernandoS27/compatbunnei2019-04-251-0/+2
|\ | | | | Allow picking a Compatibility Profile for OpenGL.
| * Allow picking a Compatibility Profile for OpenGL.Fernando Sahmkow2019-04-201-0/+2
| | | | | | | | | | | | This option allows picking the compatibility profile since a lot of bugs are fixed in it. We devs will use this option to easierly debug current problems in our Core implementation.:wq
* | CMakeLists: Ensure we specify Unicode as the codepage on WindowsLioncash2019-04-171-4/+6
|/ | | | | | | | | | | | Previously we were building with MBCS, which is pretty undesirable. We want the application to be Unicode-aware in general. Currently, we make the command line variant of yuzu use ANSI variants of the non-standard getopt functions that we link in for Windows, given we only have an ANSI option-set. We should really replace getopt with a library that we make all build types of yuzu link in, but this will have to do for the time being.
* Merge pull request #2017 from jroweboy/glwidgetbunnei2019-04-142-1/+38
|\ | | | | Frontend: Migrate to QOpenGLWindow and support shared contexts
| * SDL Frontend: Add shared context supportJames Rowe2019-01-222-1/+38
| |
* | Merge pull request #1957 from DarkLordZach/title-providerbunnei2019-04-101-0/+2
|\ \ | | | | | | file_sys: Provide generic interface for accessing game data
| * | game_list: Register content with ContentProviderZach Hilman2019-03-271-0/+2
| | |
* | | core/yuzu: Remove enable_nfc settingfearlessTobi2019-03-291-1/+0
|/ / | | | | | | This was initially added to prevent problems from stubbed/not implemented NFC services, but as we never encountered such and as it's only used in a deprecated function anyway, I guess we can just remove it to prevent more clutter of the settings.
* | Fix getopt on systems where char is unsigned by defaultxperia642019-03-191-2/+2
| |
* | Merge pull request #2187 from FearlessTobi/port-sdl-thingsbunnei2019-03-131-8/+5
|\ \ | | | | | | Port various Citra changes to input_common, including deadzone support
| * | Input: Remove global variables from SDL InputJames Rowe2019-03-021-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changes the interface as well to remove any unique methods that frontends needed to call such as StartJoystickEventHandler by conditionally starting the polling thread only if the frontend hasn't started it already. Additionally, moves all global state into a single SDLState class in order to guarantee that the destructors are called in the proper order
* | | yuzu_cmd/config: Replace C casts with static_castReinUsesLisp2019-03-091-4/+5
| | |
* | | yuzu_cmd/config: Silent implicit cast warningReinUsesLisp2019-03-091-1/+1
| | |
* | | Merge pull request #2055 from bunnei/gpu-threadbunnei2019-03-072-0/+6
|\ \ \ | | | | | | | | Asynchronous GPU command processing
| * | | settings: Add new graphics setting for use_asynchronous_gpu_emulation.bunnei2019-03-072-0/+6
| |/ /
* / / yuzu-cmd/yuzu: Replace direct usage of the global system telemetry accessor in main()Lioncash2019-03-041-1/+1
|/ / | | | | | | | | We already have the system instance around, so we can use that instead of the accessor.
* | gl_shader_cache: Link loading screen with disk shader cache loadReinUsesLisp2019-02-071-0/+3
| |
* | settings: Hide shader cache behind a settingReinUsesLisp2019-02-072-0/+6
| |
* | citra_qt: Log settings on launchzhupengfei2019-01-221-0/+1
|/
* settings: Use std::chrono::seconds instead of s64 for RTCZach Hilman2019-01-081-1/+2
|
* time: Use custom RTC settings if applicable for gameZach Hilman2019-01-081-2/+2
|
* settings: Add custom RTC settingsZach Hilman2019-01-082-2/+15
| | | Stored as signed seconds since epoch.
* qt: Add Properties menu to game list right-clickZach Hilman2018-12-041-1/+1
|
* config: Store and load disabled add-ons listZach Hilman2018-12-032-0/+25
|
* gl_rasterizer: Remove extension booleansReinUsesLisp2018-11-291-0/+2
|
* Merge pull request #1725 from FernandoS27/gl43bunnei2018-11-241-15/+1
|\ | | | | Update OpenGL's backend version from 3.3 to 4.3
| * Removed pre 4.3 ARB extensionsFernandoS272018-11-211-14/+0
| |
| * Update OpenGL's backend version from 3.3 to 4.3FernandoS272018-11-211-1/+1
| |
* | Merge pull request #1747 from DarkLordZach/exefs-lfsbunnei2018-11-242-0/+3
|\ \ | |/ |/| patch_manager: Add support for applying LayeredFS patches to ExeFS
| * settings: Add option to dump ExeFS of games upon launchZach Hilman2018-11-202-0/+3
| | | | | | | | When enabled, all exefs(es) will be copied to yuzu/dump/<title_id>/exefs.
* | configure_input_player: Set minimum width on controlsZach Hilman2018-11-191-7/+6
| |
* | yuzu_cmd/config: Add config deserialization for multiplayerZach Hilman2018-11-191-37/+254
| |
* | Correctly sets default system language for yuzu-CLI (#1727)Schplee2018-11-191-0/+2
|/ | | | | | | | | | * Correctly sets default system language for yuzu-CLI A user reported that yuzu_cmd runs games in Japanese rather than the correct default of English (like yuzu-qt does correctly), this change fixes that. * fix clang issue deleted whitespace
* Merge pull request #1618 from DarkLordZach/dump-nsobunnei2018-11-152-0/+3
|\ | | | | patch_manager: Add support for dumping uncompressed NSOs
| * settings: Add setting to control NSO dumpingZach Hilman2018-10-292-0/+3
| | | | | | | | Also adds UI option in Debug > Dump section, with the idea later things to be dumped (i.e. other game data or textures, etc) will use the same group box.
* | settings: Add config option to set RNG seedZach Hilman2018-11-122-0/+12
| |
* | Merge pull request #1441 from CarlKenner/DebuggerLogbunnei2018-11-051-0/+3
|\ \ | |/ |/| logging: Add DebuggerBackend for logging to Visual Studio
| * logging: Add DebuggerBackend for logging to Visual StudioCarl Kenner2018-10-071-0/+3
| |
* | acc: Fix account UUID duplication errorZach Hilman2018-10-241-2/+3
| |
* | profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman2018-10-241-18/+2
| |
* | settings: Add users and current_user settings and remove usernameZach Hilman2018-10-241-3/+19
| |
* | Added Amiibo support (#1390)David2018-10-242-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed conflict with nfp * Few fixups for nfc * Conflict 2 * Fixed AttachAvailabilityChangeEvent * Conflict 3 * Fixed byte padding * Refactored amiibo to not reside in "System" * Removed remaining references of nfc from system * used enum for Nfc GetStateOld * Added missing newline * Moved file operations to front end * Conflict 4 * Amiibos now use structs and added mutexes * Removed amiibo_path
* | 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