aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-06-03input_common/sdl/sdl_impl: Use nested namespace specifiers where applicableLioncash
2019-06-03yuzu/bootmanager: Log out screenshot destination pathLioncash
We can make this message more meaningful by indicating the location the screenshot has been saved to. We can also log out whenever a screenshot could not be saved (e.g. due to filesystem permissions or some other reason).
2019-06-03yuzu/bootmanager: Treat the resolution factor as a u32Lioncash
Treating it as a u16 can result in a sign-conversion warning when performing arithmetic with it, as u16 promotes to an int when aritmetic is performed on it, not unsigned int. This also makes the interface more uniform, as the layout interface now operates on u32 across the board.
2019-06-03yuzu/bootmanager: Default EmuThread's destructor in the cpp fileLioncash
This class contains non-trivial members, so we should default the destructor's definition within the cpp file.
2019-06-03yuzu/bootmanager: unsigned -> u32Lioncash
Same thing (for platforms we support), less reading.
2019-06-03yuzu/bootmanager: Change false literal to 0 for setSwapInterval()Lioncash
This function is defined as taking an int, not a bool.
2019-06-03yuzu/bootmanager: Remove pointer downcast in GRenderWindow's constructorLioncash
We can just pass a pointer to GMainWindow directly and make it a requirement of the interface. This makes the interface a little safer, since this would technically otherwise allow any random QWidget to be the parent of a render window, downcasting it to GMainWindow (which is undefined behavior).
2019-06-03yuzu/bootmanager: Remove unnecessary pointer castsLioncash
We can just invoke these functions by qualifying the object name before the function.
2019-06-03gl_shader_decompiler: Remove guest "position" varyingReinUsesLisp
"position" was being written but not read anywhere besides geometry shaders, where it had the same value as gl_Position. This commit replaces "position" with gl_Position, reducing the complexity of our code and the emitted GLSL code.
2019-05-31input_common/sdl/sdl_impl: Silence sign conversion warningsLioncash
Makes the conversions explicit, as opposed to implicit.
2019-05-31common/math_util: Provide a template deduction guide for Common::RectangleLioncash
Allows for things such as: auto rect = Common::Rectangle{0, 0, 0, 0}; as opposed to being required to explicitly write out the underlying type, such as: auto rect = Common::Rectangle<int>{0, 0, 0, 0}; The only requirement for the deduction is that all constructor arguments be the same type.
2019-05-30game_list_worker: Use QFile over our own IOFile instance or std streamsLioncash
Stays consistent in our code with using Qt's provided mechanisms, and also properly handles Unicode paths (which file streams on Windows don't do very well).
2019-05-30game_list_worker: Remove template specializationsLioncash
This is equivalent to specifying two separate functions, so we can just do that.
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-30Merge pull request #2431 from DarkLordZach/game-list-cachebunnei
yuzu: Implement a caching mechanism for the game list
2019-05-30gl_shader_cache: Store a system class and drop global accessorsReinUsesLisp
2019-05-30gl_shader_cache: Add commentaries explaining the intention in shaders creationReinUsesLisp
2019-05-30gl_shader_cache: Flip if condition in GetStageProgram to reduce indentationReinUsesLisp
2019-05-30gl_buffer_cache: Remove unused ReserveMemory methodReinUsesLisp
2019-05-30maxwell_to_gl: Use GL_CLAMP to emulate Clamp wrap modeReinUsesLisp
2019-05-30gl_rasterizer: Move alpha testing to the OpenGL pipelineReinUsesLisp
Removes the alpha testing code from each fragment shader invocation.
2019-05-30gl_rasterizer: Use GL_QUADS to emulate quads renderingReinUsesLisp
2019-05-30rasterizer_opengl: Remove OpenGL core profileReinUsesLisp
2019-05-30main: Remove extraneous commentZach Hilman
2019-05-29qt: Silence name collision warningsReinUsesLisp
2019-05-29yuzu: Remove unused birthday settingfearlessTobi
Fixes #2522.
2019-05-29Merge pull request #2446 from ReinUsesLisp/tidbunnei
shader: Implement S2R Tid{XYZ} and CtaId{XYZ}
2019-05-29Merge pull request #2518 from ReinUsesLisp/sdl2-windowbunnei
yuzu_cmd: Split emu_window OpenGL implementation into its own file
2019-05-29yuzu/software_keyboard: Remove unnecessary GetStatus() member functionLioncash
Like with the profile selection dialog, we can just use the result of QDialog's exec() function to determine whether or not a dialog was accepted.
2019-05-29profile_select: Remove unnecessary GetStatus() member functionLioncash
This behavior is already provided by the built-in exec() function. We just need to check the return value of it.
2019-05-29profile_select: Return int instead of u32 for GetIndex()Lioncash
Qt uses a signed value to represent indices. We should follow this convention where applicable to avoid unnecessary sign-conversion warnings, as well as making it easier to interoperate with other aspects of Qt. While we're at it, we can also make a sign-conversion explicit.
2019-05-29core/core: Remove unnecessary includesLioncash
The contents of these includes aren't used anywhere in this translation unit.
2019-05-28yuzu_cmd/yuzu: Correct formatting specifierLioncash
Amends the formatting specifier to obey libfmt. Prevents the application from terminating due to a formatting issue in the error case.
2019-05-28core/loader: Remove LoadKernelSystemModeLioncash
This is a hold-over from Citra and doesn't apply to yuzu.
2019-05-28core/telemetry_session: Remove unnecessary web service nulling out in destructorLioncash
This will automatically occur when the backend instance goes out of scope at the end of the destructor's execution.
2019-05-28core/telemetry_session: Remove usages of the global system accessorLioncash
Makes the dependency explicit in the TelemetrySession's interface instead of making it a hidden dependency. This also revealed a hidden issue with the way the telemetry session was being initialized. It was attempting to retrieve the app loader and log out title-specific information. However, this isn't always guaranteed to be possible. During the initialization phase, everything is being constructed. It doesn't mean an actual title has been selected. This is what the Load() function is for. This potentially results in dead code paths involving the app loader. Instead, we explicitly add this information when we know the app loader instance is available.
2019-05-28core/telemetry_session: Explicitly delete copy and move constructorsLioncash
NonCopyable is misleading here. It also makes the class non-moveable as well, so we can be explicit about this.
2019-05-28core/telemetry_session: Remove unused includeLioncash
2019-05-27Merge pull request #2519 from lioncash/signbunnei
loader/nso, core/core_timing_util: Silence sign-comparison warning
2019-05-27gl_device: Add commentary to AOFFI unit test source codeReinUsesLisp
The intention behind this commit is to hint someone inspecting an apitrace dump to ignore this ill-formed GLSL code.
2019-05-27gl_shader_gen: Always declare extensions after the version declarationReinUsesLisp
This addresses a bug on geometry shaders where code was being written before all #extension declarations were done. Ref to #2523
2019-05-26ncm: Implement LR OpenAddOnContentLocationResolver (2)Zach Hilman
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
2019-05-26ncm: Implement LR OpenRegisteredLocationResolver (1)Zach Hilman
Returns an object of type IRegisteredLocationResolver for the StorageId.
2019-05-26ncm: Implement LR OpenLocationResolver (0)Zach Hilman
Returns an object of type ILocationResolver with the provided StorageId.
2019-05-26game_list_worker: Add better error handling to cachingZach Hilman
2019-05-26yuzu: Clear partial/full game list cache when data is updatedZach Hilman
2019-05-26game_list: Implement caching for game listZach Hilman
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
2019-05-26ui_settings: Add option to cache game listZach Hilman
2019-05-26vk_device: Let formats array type be deducedReinUsesLisp
2019-05-26vk_shader_decompiler: Misc fixesReinUsesLisp
Fix missing OpSelectionMerge instruction. This caused devices loses on most hardware, Intel didn't care. Fix [-1;1] -> [0;1] depth conversions. Conditionally use VK_EXT_scalar_block_layout. This allows us to use non-std140 layouts on UBOs. Update external Vulkan headers.