summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-11-28audio_core: Remove temp_mix_bufferChloe Marcec
It's unused and doesn't need to be initialized
2020-11-27Merge pull request #5015 from comex/xx-sign-comparebunnei
tests: Fix warning about comparison between signed and unsigned
2020-11-27Merge pull request #5011 from lioncash/file-str2bunnei
core: Reduce string copies in GetGameFileFromPath()
2020-11-27Merge pull request #5014 from comex/xx-invalid-offsetofLC
CMakeLists: disable -Winvalid-offsetof
2020-11-27CMakeLists: disable -Winvalid-offsetofcomex
This Clang warning complains when offsetof is used on a non-standard-layout type (i.e. any class using various C++ features), even though it works fine (and is not undefined behavior as of C++17).
2020-11-27tests: Fix warning about comparison between signed and unsignedcomex
2020-11-27core: Eliminate remaining usages of the global system instanceLioncash
Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.
2020-11-27savedata_factory: Eliminate usage of the global system instanceLioncash
Now there's only two meaningful instances left in core.
2020-11-27Merge pull request #5018 from lioncash/service-globalRodrigo Locatti
service: Eliminate usages of the global system instance
2020-11-26service: Eliminate usages of the global system instanceLioncash
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-11-26codec: Fix `pragma GCC diagnostic pop` missing corresponding pushcomex
2020-11-26core: Reduce string copies in GetGameFileFromPath()Lioncash
Eliminates some minor string churn where applicable. Also eliminates an unnecessary vector copy.
2020-11-26Merge pull request #4975 from comex/invalid-syncpoint-idbunnei
nvdrv, video_core: Don't index out of bounds when given invalid syncpoint ID
2020-11-25Merge pull request #4981 from ogniK5377/ioctl-ctrlbunnei
nvservices: Reintroducee IoctlCtrl
2020-11-25input_common: ignore some Clang warnings after 5c4774e8ce1dJan Beich
error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
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-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-24nvdrv, video_core: Don't index out of bounds when given invalid syncpoint IDcomex
- Use .at() instead of raw indexing when dealing with untrusted indices. - For the special case of WaitFence with syncpoint id UINT32_MAX, instead of crashing, log an error and ignore. This is what I get when running Super Mario Maker 2.
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-24nvservices: Reintroducee IoctlCtrlChloe Marcec
Fixes regression caused by #4907 which caused games like Breath of the Wild 1.0.0 not to boot.
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-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-20Merge pull request #4907 from ogniK5377/nvdrv-cleanupbunnei
core: Make nvservices more standardized
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