Commit Graph
96 Commits
Author SHA1 Message Date
Feng Chen c3f1e6562b [common/fs] Preserve Windows roots during path sanitization (#4437)
Commit 5b4c29b123 made SanitizePath rebuild paths from split components after resolving traversal. That reconstruction retained only one leading separator, collapsing UNC paths and breaking network-backed directories.

Parse the path root separately from normal components. Preserve UNC prefixes, drive-absolute and drive-relative forms, and extended UNC/device namespaces while normalizing separators and dot components.

Treat the UNC server/share portion as part of the root so parent traversal cannot escape into another share. Also preserve root-only results such as / and C:\\ instead of stripping their final separator.

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4437
Reviewed-by: lizzie <[email protected]>
Reviewed-by: CamilleLaVey <[email protected]>
2026-09-16 22:12:01 +02:00
Feng Chen 5adaa5b0f7 [core] Fix MSVC handler table initialization (#4421)
Construct FunctionInfoTyped at runtime instead of forcing constant initialization. This avoids malformed static handler tables when MSVC converts typed member-function pointers, particularly for entries with null handlers.

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md)
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4421
Reviewed-by: MaranBr <[email protected]>
Reviewed-by: lizzie <[email protected]>
2026-09-14 16:44:52 +02:00
Feng Chen 666bdc1125 video_core: Fix d24r8/s8d24 convert shader build error in moltenvk 2023-09-07 18:01:36 +08:00
Feng Chen a356e6b8d5 video_core: Add missing scissor update when viewport scale offset disable 2023-09-07 18:01:30 +08:00
Feng Chen ce0c210173 video_core: set vertex buffer num to 16, because mvk have when using more than 16 2023-08-23 23:22:55 +08:00
Feng Chen c8c4aa6ef7 video_core: Fix vulkan assert error 2023-08-18 14:40:11 +08:00
FengChen 255ab12789 video_core: add samples check when find render target 2023-06-17 23:48:51 +08:00
Feng Chen c362895572 video_core: drawtexture support upscale 2023-06-16 20:51:15 +08:00
FengChen ea68bfba5d core: audio: return result when audio_out initialize failed 2023-04-16 12:31:54 +08:00
Feng Chen c7675caf71 video_core: Keep the definition of DimensionControl consistent with nvidia open doc 2023-03-31 12:33:07 +08:00
FengChen 0f336df1ea video_core: Better defined ImageInfo parameters 2023-03-14 22:36:34 +08:00
FengChen e067d314ba video_core: Fix ogl status error when draw_texture 2023-03-12 13:33:31 +08:00
FengChen 5a1d6233b2 video_core: Invalid index_buffer flag when inline_index draw 2023-03-12 13:21:26 +08:00
Feng Chen 63a0d2661c video_core: Update texture format 2023-03-10 21:48:50 +08:00
FengChen b2395ce048 video_core: Speed up video frame data copy 2023-02-11 22:18:54 +08:00
FengChen 667f2331d1 video_core: Implement vulkan clear specified channel 2023-01-28 12:53:05 +08:00
Feng Chen a3da7094bc Address feedback 2023-01-16 10:27:57 +08:00
Feng Chen 3b5e1a24bc video_core: Implement opengl/vulkan draw_texture 2023-01-05 12:41:33 +08:00
Feng Chen 79268b94de video_core: Implement maxwell3d draw texture method 2023-01-05 12:41:28 +08:00
FengChen 690070f088 video_core: Implement other missing vulkan topology 2022-12-26 12:20:49 +08:00
FengChen 2572668950 video_core: Implement vulkan QuadStrip topology 2022-12-26 11:37:34 +08:00
FengChen b40cdac0a4 video_core: Add vertex_array_instance_* sbubbed called warning 2022-12-08 23:19:31 +08:00
FengChen 17596e69b9 video_core: The draw manager manages whether Clear is required. 2022-12-08 23:10:52 +08:00
FengChen f09cf68f91 video_core: Adjust topology update logic 2022-12-08 22:40:28 +08:00
Feng Chen ad05d9fe1e video_core: Implement maxwell3d draw manager and split draw logic 2022-12-08 10:12:19 +08:00
Feng Chen f7e82d2fd6 video_core: Fine tuning the index drawing judgment logic 2022-12-01 19:14:58 +08:00
FengChen 607a965c57 video_core: Optimize maxwell drawing trigger mechanism 2022-11-22 17:53:26 +08:00
FengChen 12f2ab01bb shader: Implement miss attribute layer 2022-11-17 22:45:14 +08:00
Feng Chen e32414b94b video_core: Reimplement inline index buffer binding 2022-11-15 12:10:44 +08:00
FengChen 751f16bf66 video_core: Fix dma copy 1D random crash 2022-11-11 00:23:45 +08:00
FengChen 348c6e5b28 video_core: Fix few issues in Tess stage 2022-11-07 15:42:42 +08:00
FengChen 9d1c9f1f58 video_core:Fix vmm kinds size error 2022-11-06 22:31:22 +08:00
FengChen d1ae6c4092 video_core: Fix scaling graphical regressions for multiple games 2022-11-05 17:21:02 +08:00
Feng Chen bcf6a7c0dd video_core: Fix SNORM texture buffer emulating error (#9001) 2022-11-04 02:39:42 -04:00
FengChen 3e0cc4fd75 video_core: Fix drawing trigger mechanism regression 2022-10-31 21:57:38 +08:00
FengChen 2636c9f876 video_core: Fix drawing trigger mechanism regression 2022-10-27 13:26:52 +08:00
FengChen 072fde772d video_core: Catch vulkan clear op not all channel need clear 2022-10-25 22:39:29 +08:00
Feng Chen 33514a0d94 Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass" 2022-10-25 12:57:25 +08:00
FengChen f5ee1a756a file_sys: Priority display of game titles in the current language 2022-10-24 21:55:25 +08:00
FengChen f9f995c56a video_core: Implement maxwell inline_index method 2022-10-22 16:58:23 +08:00
FengChen 8eed4e7ee5 video_coare: Reimplementing the maxwell drawing trigger mechanism 2022-10-21 17:09:22 +08:00
FengChen 584a200d86 video_core: implement 1D copies based on VMM 'kind' 2022-10-17 15:35:12 +08:00
FengChen 2d53a37461 video_core: Implement memory manager page kind 2022-10-17 15:33:29 +08:00
FengChen 67007ae698 Address feedback 2022-10-17 09:40:44 +08:00
VonChenPlus 9623b1dc5a Core: Fix get nvmap object random crash 2022-10-06 21:00:53 +02:00
FengChen 1dd5d8fc8e video_core: Fix legacy to generic location unpaired 2022-09-20 12:03:31 +08:00
Feng Chen 328ad69854 Merge branch 'master' into mipmap 2022-09-20 11:56:43 +08:00
FengChen 38e9c78843 video_core: Generate mipmap texture by drawing 2022-09-20 11:55:43 +08:00
FengChen b85bd1b548 core: implement HwOpus GetWorkBufferSizeForMultiStreamEx 2022-09-17 00:28:56 +08:00
FengChen b8b37d6900 video_core: Modify astc texture decode error fill value 2022-09-15 17:04:44 +08:00
FengChen ccc4202735 Align index buffe size when vertex_buffer_unified_memory enable 2022-09-10 20:01:33 +08:00
FengChen 98656c14a8 video_code: support rectangle texture 2022-08-25 12:45:58 +08:00
vonchenplus eab51849f7 core:filesystem: speed up IDirectory service 2022-08-23 09:05:59 +08:00
vonchenplus 477cdc7566 video_core: support framebuffer crop rect top not zero 2022-08-20 21:41:40 +08:00
vonchenplus 37a5b8aded core: implement clkrst service 2022-08-20 14:08:59 +08:00
Feng Chen 064470286d Remove invalid assertion statement 2021-12-28 18:51:11 +08:00
Feng Chen 5e725163a0 Remove invalid header include 2021-12-28 18:51:11 +08:00
Feng Chen 669cb21687 Implement few type in bufferqueue query method 2021-12-28 18:51:03 +08:00
vonchenplus 8fe519b656 Address format clang 2021-12-18 14:27:07 +08:00
vonchenplus 8ea541bc11 Remove spirv handle legacy related code 2021-12-18 14:08:50 +08:00
vonchenplus ac51211ce4 Remove glsl handle legacy related code 2021-12-18 14:03:40 +08:00
Feng Chen c8dab19f32 Merge branch 'yuzu-emu:master' into convert_legacy 2021-12-18 13:57:14 +08:00
Feng Chen 755963ada1 Fix blit image/view not compatible 2021-12-10 12:41:09 +08:00
Feng Chen 4a3c1192b8 Address feedback 2021-12-05 00:06:14 +08:00
Feng Chen 10cc89bfdf Support multiple videos playing 2021-12-02 12:48:42 +08:00
Feng Chen 2e834bfa4a Add missing pixel format mapping 2021-11-29 12:39:37 +08:00
Feng Chen dbfa89c40b Implement convert legacy to generic 2021-11-19 22:53:58 +08:00
Feng Chen f4ee936f8b Fix image update/download error when width too small 2021-11-17 12:21:17 +08:00
Feng Chen bc7104cd76 vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
2021-11-05 10:31:40 -04:00
Feng Chen c047b66519 Simply legacy attribute implement 2021-11-04 09:26:16 +08:00
vonchenplus 64a9dffd3d Support gl_FogFragCoord attribute 2021-10-31 23:34:17 +08:00
Feng Chen 60df1f9030 Fix dangling kernel objects when exiting 2021-10-27 09:06:30 +08:00
Feng Chen 301d0ac5e0 Revert PR7009 2021-10-27 09:06:30 +08:00
Feng Chen c13d1e0b0f Fix memory leak 2021-10-27 09:06:22 +08:00
vonchenplus 1c917c6905 Support gl_BackSecondaryColor attribute 2021-10-26 23:14:40 +08:00
vonchenplus 9cd198ede9 Support gl_FrontSecondaryColor attribute 2021-10-26 23:09:44 +08:00
vonchenplus b4301281d5 Support gl_BackColor attribute 2021-10-26 23:01:57 +08:00
Feng Chen 1e1979532e Fix vulkan viewport issue 2021-10-22 22:56:31 +08:00
Feng Chen e0d5680fc2 service/vi: Stub IHOSBinderDriver::TransactParcel GetBufferHistory (#7184) 2021-10-15 18:50:45 -04:00
Feng Chen bd64cc420f applets/web: Fallback to loader to get the manual romfs if none is found 2021-10-11 13:12:51 +08:00
Feng Chen 78317b1a8d h264: Use max allowed max_num_ref_frames when using CPU decoding 2021-10-10 20:07:19 +08:00
Feng Chen 38fc397b0f Fix KShareMemory object leak 2021-09-29 09:51:20 +08:00
Feng Chen 974547f98f Fix KScopedAutoObject object leak when SendSyncRequest 2021-09-25 22:16:21 +08:00
Feng Chen 63aba30181 Detail adjustment 2021-09-08 10:30:00 +08:00
Feng Chen 38b28f1c4d Detail adjustment 2021-09-08 09:53:10 +08:00
Feng Chen 3948edde71 Re-implement get unused location 2021-09-07 13:22:52 +08:00
Feng Chen bd94ea2f5a Move attribute related definitions to spirv anonymous namespace 2021-09-07 12:34:35 +08:00
Feng Chen 63acf10871 Fix blend equation enum error 2021-09-07 10:12:09 +08:00
Feng Chen dc8967ebcd Dynamic get unused location 2021-09-06 10:46:03 +08:00
Feng Chen 1aaa6a353b Implement intput and output fixed fnc textures 2021-09-06 10:36:45 +08:00
Feng Chen 49c66fa4e9 Rename parameters 2021-09-03 23:52:20 +08:00
Feng Chen b3e5a2f75d Fix create GraphicsPipelines crash 2021-09-03 22:55:53 +08:00
Feng Chen a1c9039eae Add input/output location 2021-09-02 23:34:51 +08:00
Feng Chen b86a4caa20 Add colorfront and txtcoord support 2021-09-01 00:07:25 +08:00
Feng Chen 77f209e391 file_sys: Support load game collection (#6582)
Adds support for loading games with multiple programs embedded within such as the Dragon Quest 1+2+3 Collection
2021-07-20 01:10:05 -04:00
Feng ChenandFeng Chen 4adb9d01f7 Out of bound blit (#6531)
* Fix out of bound blit error

* Fix code read

* Fix ci error

Co-authored-by: Feng Chen <[email protected]>
2021-07-08 11:06:09 -07:00