summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-08-07memory: Address lioncash's reviewyzct12345
2021-08-07memory: Dedup Read and Write and fix logging bugsyzct12345
2021-08-05memory: Clean up CopyBlock tooyzct12345
2021-08-05memory: Address lioncash's reviewyzct12345
2021-08-05memory: Clean up codeyzct12345
2021-08-04Merge pull request #6819 from Morph1984/i-am-dumbMai M
applet_swkbd: Include the null terminator in the buffer size calculation
2021-08-04Merge pull request #6818 from Morph1984/hex-util-bugMai M
hex_util: Fix incorrect array size in AsArray
2021-08-04applet_swkbd: Include the null terminator in the buffer size calculationMorph
Some games may interpret the read string as a null-terminated string instead of just reading the string up to buffer_size.
2021-08-04hex_util: Fix incorrect array size in AsArrayMorph
Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read.
2021-08-04config: Read connected setting for controllerslat9nq
Currently yuzu will read the mapping but does not connect a controller despite adding subsequent configurations for it. Read the `connected` setting for now as a boolean like the Qt frontend.
2021-08-03nvdec: Implement VA-API hardware video acceleration (#6713)yzct12345
* nvdec: VA-API * Verify formatting * Forgot a semicolon for Windows * Clarify comment about AV_PIX_FMT_NV12 * Fix assert log spam from missing negation * vic: Remove forgotten debug code * Address lioncash's review * Mention VA-API is Intel/AMD * Address v1993's review * Hopefully fix CMakeLists style this time * vic: Improve cache locality * vic: Fix off-by-one error * codec: Async * codec: Forgot the GetValue() * nvdec: Address ameerj's review * codec: Fallback to CPU without VA-API support * cmake: Address lat9nq's review * cmake: Make VA-API optional * vaapi: Multiple GPU * Apply suggestions from code review Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com> * nvdec: Address ameerj's review * codec: Use anonymous instead of static * nvdec: Remove enum and fix memory leak * nvdec: Address ameerj's review * codec: Remove preparation for threading Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-08-02Merge pull request #6805 from lat9nq/fix-user-profilesMorph
config: Only read/write current_user on global config
2021-08-02config: Only read/write current_user on global configlat9nq
2021-08-02network: fix ternary operator in Socket::SendTospholz
2021-08-02decoders: Optimize swizzle copy performance (#6790)yzct12345
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
2021-08-01game_list: Make game list folder icons smaller (#6762)Malte Jürgens
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
2021-08-01service: set: Correct copy amount in GetAvailableLanguageCodesMorph
2021-08-01Merge pull request #6720 from ameerj/vk-screenshotFernando S
renderer_vulkan: Implement screenshots
2021-08-01Merge pull request #6765 from ReinUsesLisp/y-negate-vkAmeer J
vk_rasterizer: Flip viewport on Y_NEGATE
2021-07-31hle: api_version: Update HOS version to 12.1.0Morph
Keeps us up to date with reporting the system version.
2021-07-30Merge pull request #6752 from Morph1984/pt-brbunnei
service: ns, set: Add PT_BR (Brazilian Portuguese)
2021-07-30Merge pull request #6775 from lat9nq/cmd-remove-global-corebunnei
emu_window: Remove global system instance
2021-07-30Merge pull request #6759 from ReinUsesLisp/pipeline-statisticsbunnei
renderer_vulkan: Add setting to log pipeline statistics
2021-07-30emu_window: Remove global system instancelat9nq
It was just the one in emu_window_sdl2, but since _gl and _vk inherit from it, they all needed adjustments. Leaves just the one auto system& in main().
2021-07-30applet_swkbd: Correct string buffer size calculationMorph
The buffer size here does not include the initial 8 bytes.
2021-07-30configure_system: Add Brazilian Portuguese to the list of languagesMorph
2021-07-30service: set: Correct 4.0.0 max_entries to 0x40 (64) instead of 17Morph
2021-07-30service: ns, set: Add PT_BR (Brazilian Portuguese)Morph
2021-07-30Merge pull request #6767 from ReinUsesLisp/fold-float-packMorph
shader: Fold UnpackFloat2x16 and PackFloat2x16
2021-07-29Merge pull request #6722 from ReinUsesLisp/xmad-optsbunnei
shader: Fold integer FMA from Nvidia's pattern
2021-07-29shader: Fold UnpackFloat2x16 and PackFloat2x16ReinUsesLisp
Simplifies the code a bit when possible. These instructions should be no-ops codegen wise.
2021-07-29Merge pull request #6751 from Morph1984/languagecodeAmeer J
service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese
2021-07-29Merge pull request #6742 from Morph1984/uuidbunnei
common: uuid: Return a lower-case hex string in Format
2021-07-29vk_rasterizer: Flip viewport on Y_NEGATEReinUsesLisp
Matches OpenGL's behavior. I don't believe this register flips geometry, but we have to try to match behavior on both backends.
2021-07-28renderers: Add explicit invert_y bool to screenshot callbackameerj
OpenGL and Vulkan images render in different coordinate systems. This allows us to specify the coordinate system of the screenshot within each renderer
2021-07-28renderer_vulkan: Implement screenshotsameerj
2021-07-28vk_blit_screen: Add public CreateFramebuffer methodameerj
2021-07-28vk_blit_screen: Make Draw method more genericameerj
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window.
2021-07-28Merge pull request #6760 from ReinUsesLisp/fp16-collectbunnei
shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructions
2021-07-28Merge pull request #6758 from jbeich/fastmembunnei
host_memory: enable fastmem on FreeBSD
2021-07-28Merge pull request #6700 from lat9nq/fullscreen-enumbunnei
general: Implement FullscreenMode enumeration
2021-07-27Merge pull request #6671 from jls47/masterMorph
applets/web: Addressing QT Navigation issues in Linux
2021-07-27shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructionsReinUsesLisp
Fixes instances where fp16 types are not declared on SPIR-V but they are used. This shouldn't happen on master, as it's been uncovered by an additional optimization pass.
2021-07-27renderer_vulkan: Add setting to log pipeline statisticsReinUsesLisp
Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines.
2021-07-27Merge pull request #6749 from lioncash/rtargetbunnei
render_target: Add missing initializer for size extent
2021-07-27Merge pull request #6730 from Morph1984/buf_to_stdstringbunnei
common: fs: fs_util: Add BufferToUTF8String
2021-07-27host_memory: Add workaround for FreeBSD 12Jan Beich
src/common/host_memory.cpp:360:14: error: use of undeclared identifier 'memfd_create' fd = memfd_create("HostMemory", 0); ^
2021-07-27host_memory: Enable Linux implementation on FreeBSDJan Beich
HW.Memory <Critical> common/host_memory.cpp:HostMemory:492: Fastmem unavailable, falling back to VirtualBuffer for memory allocation
2021-07-27Merge pull request #6748 from lioncash/engine-initRodrigo Locatti
video_core/engine: Consistently initialize rasterizer pointers
2021-07-27Merge pull request #6744 from lioncash/excRodrigo Locatti
exception: Make constructors explicit