summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-06-05Merge pull request #2541 from lioncash/inputZach Hilman
input_common/sdl/sdl_impl: Minor cleanup
2019-06-05Merge pull request #2510 from SciresM/desired_languageZach Hilman
Implement/Fix IApplicationFunctions::GetDesiredLanguage
2019-06-05Merge pull request #2527 from lioncash/indexZach Hilman
yuzu/{profile_select, software_keyboard}: Tidy up interface
2019-06-05Merge pull request #2534 from ReinUsesLisp/shader-cleanupZach Hilman
gl_shader_cache: Minor style changes
2019-06-05Merge pull request #2531 from ReinUsesLisp/qt-warningsZach Hilman
qt: Silence name collision warnings
2019-06-05Merge pull request #2515 from lioncash/narrowingZach Hilman
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
2019-06-05Merge pull request #2536 from lioncash/cacheZach Hilman
game_list_worker: Use QFile over our own IOFile instance or std streams for the game list cache
2019-06-04Merge pull request #2529 from lioncash/bootRodrigo Locatti
yuzu/bootmanager: Minor interface tidying
2019-06-04Merge pull request #2525 from FearlessTobi/remove-unused-settingsMat M
yuzu: Remove unused birthday setting
2019-06-04shader_bytecode: Mark EXIT as flow instructionFernando Sahmkow
2019-06-03input_common/sdl/sdl_impl: Correct logging string in SDLState constructorLioncash
If this path was ever taken, a runtime exception would occur due to the lack of a formatting specifier to insert the error code into the format string.
2019-06-03input_common/sdl/sdl_impl: Move documentation comments to header where ↵Lioncash
applicable Places the documentation comments with the rest of SDLState's member function documentation.
2019-06-03input_common/sdl/sdl_impl: Amend names for axes for SDLAnalogPollerLioncash
Adds another underscore to clearly indicate the axis names.
2019-06-03input_common/sdl/sdl_impl: Mark variables const where applicableLioncash
Make it explicit that these aren't modified elsewhere (either through functions by reference, or by other operations).
2019-06-03input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as staticLioncash
Its prototype declared at the top of the translation unit contains the static qualifier, so the function itself should also contain it to make it a proper internally linked function.
2019-06-03input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_castLioncash
It's valid to static_cast a void pointer back into its proper type.
2019-06-03input_common/sdl/sdl_impl: Use insert_or_assign() where applicableLioncash
Same behavior, but without a potential need to unnecessarily default construct a value.
2019-06-03input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handlingLioncash
The deleter can just be set in the constructor and maintained throughout the lifetime of the object. If a contained pointer is null, then the deleter won't execute, so this is safe to do. We don't need to swap it out with a version of a deleter that does nothing.
2019-06-03input_common/sdl/sdl_impl: Resolve two sign conversion warningsLioncash
Silences the final two warnings in SDL code.
2019-06-03input_common/sdl: Remove unused header includes and forward declarationsLioncash
Gets rid of a few unnecessary inclusion dependencies. It also uncovered a few indirect inclusion dependencies being relied upon.
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-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-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-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-26game_list_worker: Add better error handling to cachingZach Hilman
2019-05-26yuzu: Clear partial/full game list cache when data is updatedZach Hilman