summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-25common: Add Common::DivCeil and Common::DivCeilLog2ReinUsesLisp
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.
2020-11-25Merge pull request #4976 from comex/poll-eventsRodrigo Locatti
Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off main thread
2020-11-25Merge pull request #4946 from ameerj/alpha-testRodrigo Locatti
renderer_vulkan: Implement alpha testing
2020-11-25cleanup unneeded comments and newlinesameerj
2020-11-25Merge pull request #4959 from Morph1984/emulated-controller-stylesetbunnei
configure_input_player: Use the NpadStyleSet to limit the available controllers shown
2020-11-25Merge pull request #4932 from ogniK5377/misc-audiobunnei
audren: Make use of nodiscard, rework downmixing, release all buffers
2020-11-25Merge pull request #4978 from bunnei/shutdown-crashbunnei
core: cpu_manager: Fix shutdown crash when closing before emulation starts.
2020-11-25Refactor MaxwellToSpirvComparison. Use Common::BitCastameerj
Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc>
2020-11-24Address PR feedback from Reinameerj
2020-11-24vulkan_renderer: Alpha Test Culling Implementationameerj
Used by various textures in many titles, e.g. SSBU menu.
2020-11-24Merge pull request #4905 from german77/AnalogFromButtonbunnei
Allow to dial any angle with digital joystick
2020-11-24Merge pull request #4799 from bunnei/execute-programbunnei
core: Refactor loader and implement ExecuteProgram
2020-11-24core: cpu_manager: Fix shutdown crash when closing before emulation starts.bunnei
2020-11-24frontend: yuzu (qt): Register a callback for ExecuteProgram.bunnei
2020-11-24service: am: Implement ExecuteProgram and required stubs.bunnei
- This is used by Super Mario 3D All-Stars.
2020-11-24core: loader: Implement support for loading indexed programs.bunnei
2020-11-24hle: services: Fix a crash with improper NVFlinger lifetime management. (#4977)bunnei
* hle: services: Fix a crash with improper NVFlinger lifetime management. - This crash would happen when attempting to shutdown yuzu early on in boot.
2020-11-24Merge pull request #3681 from lioncash/componentRodrigo Locatti
decoder/image: Fix incorrect G24R8 component sizes in GetComponentSize()
2020-11-24Merge pull request #4942 from lioncash/systemRodrigo Locatti
core: Make use of [[nodiscard]] with the System class
2020-11-24Merge pull request #4972 from lioncash/unused4Rodrigo Locatti
svc: Remove unnecessary [[maybe_unused]] tag
2020-11-23input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].bunnei
2020-11-23Merge pull request #4980 from bunnei/error-fixupbunnei
input_common: Add more missing [[maybe_unused]] from #4927.
2020-11-23input_common: Add more missing [[maybe_unused]] from #4927.bunnei
2020-11-23Fix warnings in core/frontend/input.h with [[maybe_unused]]bunnei
Fixes build break due to #4927
2020-11-23Merge pull request #4927 from lioncash/input-errorbunnei
input_common: Treat warnings as errors
2020-11-23Overhaul EmuWindow::PollEvents to fix yuzu-cmd calling SDL_PollEvents off ↵comex
main thread EmuWindow::PollEvents was called from the GPU thread (or the CPU thread in sync-GPU mode) when swapping buffers. It had three implementations: - In GRenderWindow, it didn't actually poll events, just set a flag and emit a signal to indicate that a frame was displayed. - In EmuWindow_SDL2_Hide, it did nothing. - In EmuWindow_SDL2, it did call SDL_PollEvents, but this is wrong because SDL_PollEvents is supposed to be called on the thread that set up video - in this case, the main thread, which was sleeping in a busyloop (regardless of whether sync-GPU was enabled). On macOS this causes a crash. To fix this: - Rename EmuWindow::PollEvents to OnFrameDisplayed, and give it a default implementation that does nothing. - In EmuWindow_SDL2, do not override OnFrameDisplayed, but instead have the main thread call SDL_WaitEvent in a loop.
2020-11-23Merge pull request #4451 from slashiee/extended-loggingbunnei
logging/settings: Increase maximum log size to 100 MB and add extended logging option
2020-11-23svc: Remove unnecessary [[maybe_unused]] tagLioncash
The parameter is used in this function, so this suppression isn't necessary.
2020-11-22Merge pull request #4969 from liushuyu/masterbunnei
CI: move refreshenv to the configure step
2020-11-22CI: move refreshenv to the configure step...liushuyu
... so that cmake can find the Vulkan SDK binaries
2020-11-22input_common: Treat warnings as errorsLioncash
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-11-21Merge pull request #4944 from lioncash/system-rembunnei
patch_manager: Remove usages of the global system instance
2020-11-22Merge pull request #4954 from lioncash/compareMorph
gl_rasterizer: Make floating-point literal a float
2020-11-21Merge pull request #4955 from lioncash/move3bunnei
async_shaders: std::move data within QueueVulkanShader()
2020-11-21Merge pull request #4960 from liushuyu/masterRodrigo Locatti
ci: install Vulkan SDK in MSVC build
2020-11-20Merge pull request #4907 from ogniK5377/nvdrv-cleanupbunnei
core: Make nvservices more standardized
2020-11-20ci: install Vulkan SDK in MSVC buildliushuyu
2020-11-20applets/controller: Use a pair of emulated controller index to controller typeMorph
2020-11-20configure_input_player: Use the npad style set to show the available controllersMorph
This will reduce the likelihood of an invalid controller type to be set within a game
2020-11-20Merge pull request #4957 from ReinUsesLisp/alpha-test-rtLC
gl_rasterizer: Remove warning of untested alpha test
2020-11-20gl_rasterizer: Remove warning of untested alpha testReinUsesLisp
Alpha test has been proven to only affect the first render target.
2020-11-20Merge pull request #4953 from lioncash/shader-shadowbunnei
shader_bytecode: Eliminate variable shadowing
2020-11-20Merge pull request #4951 from bunnei/olsc-stubbunnei
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
2020-11-20olsc: Move member initialization to after member functions.bunnei
2020-11-20async_shaders: emplace threads into the worker thread vectorLioncash
Same behavior, but constructs the threads in place instead of moving them.
2020-11-20async_shaders: Simplify implementation of GetCompletedWork()Lioncash
This is equivalent to moving all the contents and then clearing the vector. This avoids a redundant allocation.
2020-11-20async_shaders: Simplify moving data into the pending queueLioncash
2020-11-20async_shaders: std::move data within QueueVulkanShader()Lioncash
Same behavior, but avoids redundant copies. While we're at it, we can simplify the pushing of the parameters into the pending queue.
2020-11-20gl_rasterizer: Make floating-point literal a floatLioncash
Gets rid of an unnecessary expansion from float to double.
2020-11-20shader_bytecode: Make use of [[nodiscard]] where applicableLioncash
Ensures that all queried values are made use of.