Lioncash
5b4f92ca79
yuzu/CMakeLists: Disable implicit type narrowing in connect() calls
Prevents hard-to-diagnose bugs from potentially occurring and requires
any type narrowing to be explicitly performed by our code.
7 years ago
Zach Hilman
28ca105671
Merge pull request #2510 from SciresM/desired_language
Implement/Fix IApplicationFunctions::GetDesiredLanguage
7 years ago
Zach Hilman
436a453514
Merge pull request #2527 from lioncash/index
yuzu/{profile_select, software_keyboard}: Tidy up interface
7 years ago
Zach Hilman
c37c5f2262
Merge pull request #2534 from ReinUsesLisp/shader-cleanup
gl_shader_cache: Minor style changes
7 years ago
Zach Hilman
b650b97995
Merge pull request #2531 from ReinUsesLisp/qt-warnings
qt: Silence name collision warnings
7 years ago
Zach Hilman
985da7236f
Merge pull request #2515 from lioncash/narrowing
yuzu/configuration/configure_graphics: Eliminate type narrowing in a connect call
7 years ago
Zach Hilman
d51501ffdf
Merge pull request #2532 from ShalokShalom/patch-2
Remove outdated info about compability
7 years ago
Zach Hilman
5a5829b5ba
Merge pull request #2536 from lioncash/cache
game_list_worker: Use QFile over our own IOFile instance or std streams for the game list cache
7 years ago
Rodrigo Locatti
6bfe76b9a9
Merge pull request #2529 from lioncash/boot
yuzu/bootmanager: Minor interface tidying
7 years ago
Mat M
3249558b9d
Merge pull request #2525 from FearlessTobi/remove-unused-settings
yuzu: Remove unused birthday setting
7 years ago
Hexagon12
d7b2f55430
Merge pull request #2543 from FernandoS27/exit-flow
shader_bytecode: Mark EXIT as flow instruction
7 years ago
Fernando Sahmkow
a8250f511b
shader_bytecode: Mark EXIT as flow instruction
7 years ago
Lioncash
e1a9cc2889
yuzu/bootmanager: Log out screenshot destination path
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).
7 years ago
Lioncash
564f80d4fd
yuzu/bootmanager: Treat the resolution factor as a u32
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.
7 years ago
Lioncash
c0600099bd
yuzu/bootmanager: Default EmuThread's destructor in the cpp file
This class contains non-trivial members, so we should default the
destructor's definition within the cpp file.
7 years ago
Lioncash
982ebbb022
yuzu/bootmanager: unsigned -> u32
Same thing (for platforms we support), less reading.
7 years ago
Lioncash
0cbdedd429
yuzu/bootmanager: Change false literal to 0 for setSwapInterval()
This function is defined as taking an int, not a bool.
7 years ago
Lioncash
8d120b9121
yuzu/bootmanager: Remove pointer downcast in GRenderWindow's constructor
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).
7 years ago
Lioncash
531072e387
yuzu/bootmanager: Remove unnecessary pointer casts
We can just invoke these functions by qualifying the object name before
the function.
7 years ago
Lioncash
cbbf86ba97
input_common/sdl/sdl_impl: Silence sign conversion warnings
Makes the conversions explicit, as opposed to implicit.
7 years ago
Lioncash
f2551410bf
common/math_util: Provide a template deduction guide for Common::Rectangle
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.
7 years ago
Lioncash
a1874b586a
game_list_worker: Use QFile over our own IOFile instance or std streams
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).
7 years ago
Lioncash
7e7505d5a0
game_list_worker: Remove template specializations
This is equivalent to specifying two separate functions, so we can just
do that.
7 years ago
bunnei
a42ca86140
Merge pull request #1931 from DarkLordZach/mii-database-1
mii: Implement MiiManager backend and several mii service commands
7 years ago
bunnei
31f43225bc
Merge pull request #2431 from DarkLordZach/game-list-cache
yuzu: Implement a caching mechanism for the game list
7 years ago
ReinUsesLisp
ca5758de77
gl_shader_cache: Store a system class and drop global accessors
7 years ago
ReinUsesLisp
07e1a695c8
gl_shader_cache: Add commentaries explaining the intention in shaders creation
7 years ago
ReinUsesLisp
165b4307ea
gl_shader_cache: Flip if condition in GetStageProgram to reduce indentation
7 years ago
Zach Hilman
99e5ba2e98
main: Remove extraneous comment
7 years ago
ShalokShalom
19ddb3358e
Remove outdated info about compability
7 years ago
ReinUsesLisp
0d80feda2d
qt: Silence name collision warnings
7 years ago
fearlessTobi
5dc330f1ef
yuzu: Remove unused birthday setting
Fixes #2522 .
7 years ago
bunnei
fe5f59d53d
Merge pull request #2446 from ReinUsesLisp/tid
shader: Implement S2R Tid{XYZ} and CtaId{XYZ}
7 years ago
bunnei
cd85ef05c2
Merge pull request #2518 from ReinUsesLisp/sdl2-window
yuzu_cmd: Split emu_window OpenGL implementation into its own file
7 years ago
Lioncash
a4d4b67322
yuzu/software_keyboard: Remove unnecessary GetStatus() member function
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.
7 years ago
Lioncash
5cf1aab5a8
profile_select: Remove unnecessary GetStatus() member function
This behavior is already provided by the built-in exec() function. We
just need to check the return value of it.
7 years ago
Lioncash
5f2adf1a9e
profile_select: Return int instead of u32 for GetIndex()
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.
7 years ago
bunnei
cf1d3d3e5f
Merge pull request #2519 from lioncash/sign
loader/nso, core/core_timing_util: Silence sign-comparison warning
7 years ago
bunnei
ca6c830594
Merge pull request #2524 from ReinUsesLisp/fixup-extension
gl_shader_gen: Always declare extensions after the version declaration
7 years ago
ReinUsesLisp
ae6e56271f
gl_device: Add commentary to AOFFI unit test source code
The intention behind this commit is to hint someone inspecting an
apitrace dump to ignore this ill-formed GLSL code.
7 years ago
ReinUsesLisp
469bcc66b1
gl_shader_gen: Always declare extensions after the version declaration
This addresses a bug on geometry shaders where code was being written
before all #extension declarations were done. Ref to #2523
7 years ago
Zach Hilman
2cc382429e
game_list_worker: Add better error handling to caching
7 years ago
Zach Hilman
246a57be6f
yuzu: Clear partial/full game list cache when data is updated
7 years ago
Zach Hilman
6aba84eee1
game_list: Implement caching for game list
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
7 years ago
Zach Hilman
14a039fa95
ui_settings: Add option to cache game list
7 years ago
ReinUsesLisp
2410482b11
emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by
reference.
7 years ago
bunnei
e8f7abaf34
Merge pull request #2516 from lioncash/label
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
7 years ago
bunnei
4b08b2d0aa
Merge pull request #2509 from lioncash/aoc
service/aoc_u: Minor cleanup
7 years ago
bunnei
8df82eb4ad
Merge pull request #2511 from lioncash/file-str
common/file_util: Minor cleanup
7 years ago
bunnei
f07e35f5ee
Merge pull request #2517 from lioncash/hotkey
configure_hotkeys: Minor cleanup
7 years ago