Commit Graph

90441 Commits

Author SHA1 Message Date
Matt Borgerson
0155721cfe ui: Create SnapshotManager, check snapshot disc image path 2023-06-04 20:24:43 -07:00
Matt Borgerson
756e423eac ui: Also clear search regex after creating snapshot 2023-06-04 20:24:43 -07:00
Matt Borgerson
2cc2df0be7 ui: Move all snapshot actions into a context menu 2023-06-04 20:24:43 -07:00
Matt Borgerson
a96d0c5f79 ui: Stretch snapshot search box 2023-06-04 20:24:43 -07:00
Matt Borgerson
86cdc0a9ab ui: Use stylized toggle for snapshot filter by title 2023-06-04 20:24:43 -07:00
Matt Borgerson
458de1758a ui: Unify snapshot filter and title name search box 2023-06-04 20:24:43 -07:00
Matt Borgerson
4104b3d540 ui: Change snapshot 'Save' button to 'Replace' for clarity 2023-06-04 20:24:43 -07:00
Matt Borgerson
d147280cd1 ui: Drop extra snapshot create button 2023-06-04 20:24:43 -07:00
Matt Borgerson
d7cbda5081 ui: Allow clicking snapshot Create button without name 2023-06-04 20:24:43 -07:00
Matt Borgerson
f62bfc95e3 ui: Improve extra snapshot data storage
- Store snapshot extra data in BE, per convention
- Add a version field for back compat
- Some minor refactoring and renaming for clarity
2023-06-04 20:24:43 -07:00
Matt Borgerson
60a7f55ac4 ui: Scale snapshot thumbnail placeholder properly 2023-06-04 20:24:43 -07:00
Matt Borgerson
348b45b436 ui: Support widescreen thumbnails 2023-06-04 20:24:43 -07:00
Antonio Abbatangelo
9c9f1e83eb ui: Add snapshot management UI 2023-06-04 20:24:43 -07:00
Erik Abair
fe5160e859 build: Discover latest macOS SDK instead of hardcoding. 2023-06-04 11:38:38 -07:00
Antonio Abbatangelo
546fe068de nv2a: Ignore nop draws in SET_BEGIN_END_OP_END 2023-05-17 00:15:47 +08:00
Matt Borgerson
8bea1e38e5 ui: Fix FilePicker UAF 2023-05-16 22:01:11 +08:00
Florin9doi
9e1f5f2f19 Set correct version for macOS bundles
Closes #1344
2023-05-02 14:53:13 -07:00
Erik Abair
9723b435fb nv2a: Make multiplication by 0 match HW behavior.
Fixes #1008

The nv2a returns 0 for anything multiplied by zero, including exceptional
values such as Inf and NaN. Desktop GPUs do not enforce this, leading to
conditions where NaNs wipe out calculations and lead to erroneous behavior.

[Test](https://github.com/abaire/nxdk_vsh_tests/blob/main/src/tests/americasarmyshader.cpp)
[HW Results](https://github.com/abaire/nxdk_vsh_tests_golden_results/wiki/Results-AmericasArmyShader)
2023-05-01 13:58:48 -07:00
Antonio Abbatangelo
4a99fd0f18 ui: Add clear button to file picker 2023-03-26 22:20:11 -07:00
wutno
065c74a00f nv2a: Don't manually set NV_PFB_CFG0 reg 2023-03-06 14:02:41 -07:00
Dustin Holden
d8fa50e524 smc: Implement read/write of SMC error code storage 2023-02-14 17:10:40 -07:00
Matt Borgerson
d0d3e7b4fa xemu-win64-toolchain/sdl2.mk: Specify PKG_FILE 2023-01-23 10:37:06 -07:00
Matt Borgerson
c08183c54d xemu-win64-toolchain: Add libslirp v4.7.0 2023-01-23 10:37:06 -07:00
Julien Reichardt
ca6e712ecd
xemu.appdata.xml: Add screenshots to appdata file 2023-01-18 12:17:10 -07:00
Matt Borgerson
328656dbd9 ci: Fix release double build 2023-01-17 13:09:02 -07:00
Matt Borgerson
8fbbe0f0f3 ci: Use bot to push releases and trigger site update
Apparently using the default actions token will not allow triggering
workflows. Use bot access token instead to publish the release.
2023-01-17 12:28:13 -07:00
wutno
6b0c66c6a1 ui: Add fullscreen exclusive mode 2023-01-17 10:42:06 -07:00
Matt Borgerson
fd1fcc32c2 ci: Update website on release publish event 2023-01-16 17:01:01 -07:00
Matt Borgerson
70099808b1 ci: Prefix AppImage xemu version with 'v' 2023-01-16 16:41:44 -07:00
mborgerson
69ee655a76 ci: Update xemu-win64-toolchain image tag 2023-01-15 16:19:03 -07:00
Matt Borgerson
99d540a630 build: Update Windows SDL2 to 2.26.2 2023-01-15 03:36:56 -07:00
mborgerson
946c8e486b ci: Update win64 build image
Use new image builds from CI via GHCR
2023-01-14 21:30:34 -07:00
Matt Borgerson
e872a95e83 ci: Fix toolchain image name, tags, labels 2023-01-14 14:22:09 -07:00
Matt Borgerson
e44e78fa06 ci: Build xemu-win64-toolchain container image 2023-01-14 03:29:35 -07:00
Matt Borgerson
92b62d942f ci: Don't use /tmp with cache@v3 on macOS 2023-01-13 17:06:01 -07:00
Matt Borgerson
929f035933 ci: Unpack Ubuntu runner artifacts 2023-01-13 16:47:25 -07:00
Matt Borgerson
906784d181 ci: Fix release artifact glob 2023-01-13 16:25:43 -07:00
Matt Borgerson
aedaef0265 ci: Generate AppImage 2023-01-13 15:57:02 -07:00
Matt Borgerson
7144f19ab0 xemu.appdata.xml: Create 2023-01-13 15:57:02 -07:00
Matt Borgerson
ad6b0cb9db ci: Update action versions 2023-01-13 15:57:02 -07:00
Matt Borgerson
a0cffd77de ci: Pin macOS runner to macOS-11 for now 2023-01-06 16:16:25 -07:00
Antonio Abbatangelo
27c99af5e3 nv2a: Set unpack alignment on surface upload 2023-01-05 13:22:18 -07:00
Antonio Abbatangelo
22db3304a4 ui: Display MCPX, BIOS MD5 hashes in About view 2022-10-11 11:35:37 -07:00
Antonio Abbatangelo
080022833d nv2a: Cache shaders to disk 2022-09-10 12:52:51 -07:00
Erik Abair
f7b2acbb79 nv2a: Ensure SurfaceBinding.size can always fit surface
It is possible to specify a pitch that is smaller than the native size of a
surface (i.e., `pitch < width * bytes_per_pixel`). On hardware this is handled
gracefully, whereas in xemu it will cause buffer overruns when dealing with
swizzling/unswizzling.

Fixes #1152

[Test](https://github.com/abaire/nxdk_pgraph_tests/blob/main/src/tests/surface_pitch_tests.cpp)
[HW Results](https://github.com/abaire/nxdk_pgraph_tests_golden_results/wiki/Results-Surface_pitch)

Note that xemu's swizzling behavior still does not match HW with this change,
it just prevents the test from crashing.
2022-09-09 13:56:53 -07:00
Antonio Abbatangelo
d219d92214 vl: Initialize usb daughterboard at machine start 2022-09-09 13:10:44 -07:00
gaasedelen
940bee452c
main-loop: Fix QEMU serial debugging on Windows 2022-08-05 11:14:23 -07:00
Erik Abair
c2031108c5 nv2a: Cache texture attributes to avoid resetting unnecessarily 2022-07-25 10:44:38 -07:00
Erik Abair
5f306e749e nv2a: Apply texture parameters when reusing textures
Fixes the edge case where a texture is reusable but has modified usage
parameters (e.g., `GL_TEXTURE_WRAP_S`). Prior to this change, texture
parameters would be cached permanently until the texture was recreated.

Fixes #1034
2022-07-25 10:44:38 -07:00
Erik Abair
c83b53e09d nv2a: Handles depth borders in 3D bordered textures
3D textures with texture borders have 4 layers of border on either side of the
content layers in addition to the normal 4 pixel border per layer. This change
handles those extra depth layers in roughly the same way that the per-layer
border texels are handled.

Fixes #1171

[Test](https://github.com/abaire/nxdk_pgraph_tests/blob/main/src/tests/texture_border_tests.cpp)
[HW results](https://github.com/abaire/nxdk_pgraph_tests_golden_results/wiki/Results-Texture_border)
2022-07-25 10:02:15 -07:00