Commit graph

998 commits

Author SHA1 Message Date
wheremyfoodat
5217a1115f Add retroachievements define 2023-09-05 17:02:14 +03:00
wheremyfoodat
e67dc65118 Add ExtSaveData::CreateDirectory and stub srv::unsubscribe 2023-09-05 14:28:52 +03:00
wheremyfoodat
85e102c40f Change vector to unique_ptr 2023-09-03 17:58:06 +03:00
wheremyfoodat
bdfdc5af62 Revert 3DSX NCCH changes
Co-Authored-By: Théo B. <16072534+LiquidFenrir@users.noreply.github.com>
2023-09-03 16:45:23 +03:00
wheremyfoodat
a380aa83f0 Add 3DSX RomFS reads via NCCH archive 2023-09-03 11:14:24 +03:00
wheremyfoodat
53917841bc Run clang-format 2023-09-03 10:40:57 +03:00
wheremyfoodat
414e8cf6c8 Merge branch 'load-3dsx' of https://github.com/LiquidFenrir/Panda3DS into load-3dsx 2023-09-03 10:39:49 +03:00
wheremyfoodat
38be95fffa Gently bonk 3DSX 2023-09-03 10:36:54 +03:00
Théo B
2f056e820a libctru expects this to be 32-readable 2023-09-03 01:23:19 +02:00
Théo B
29352d223b feat: 3dsx loading
romFS works too, pretty neat
2023-09-03 00:31:03 +02:00
wheremyfoodat
243a645cc5
Merge pull request #249 from wheremyfoodat/timerz
Warning for unimplemented ACT functions
2023-09-02 18:33:23 +03:00
wheremyfoodat
d68efb2f44 Warning for unimplemented ACT functions 2023-09-02 18:09:43 +03:00
wheremyfoodat
55af705860
Fix clang-format stupidity 2023-09-01 18:42:41 +03:00
wheremyfoodat
c64910d963
Reorder function in Y2R::handleSyncRequest 2023-09-01 18:38:00 +03:00
wheremyfoodat
909c5e9d14 Reordering 2023-09-01 17:59:39 +03:00
georgemoralis
2e40d7a59c added some y2r service calls 2023-09-01 11:58:38 +03:00
wheremyfoodat
137f29509f Add warning 2023-08-31 22:48:35 +03:00
wheremyfoodat
cb3f7fa134 Remove hacky timer hacks 2023-08-31 22:47:43 +03:00
wheremyfoodat
ce58b9cc2f Merge branch 'master' into timerz 2023-08-31 22:11:50 +03:00
wheremyfoodat
28f0b938f5
Merge pull request #244 from GPUCode/little-star
gpu: Saturate color before interpolation
2023-08-29 22:13:14 +03:00
GPUCode
dc68fc9943 gpu: Saturate color before interpolation 2023-08-29 21:59:59 +03:00
wheremyfoodat
92a1f18af7 [MIC] Add GetPower 2023-08-28 18:56:12 +03:00
wheremyfoodat
e9f94aab24 Default TEV source 15 to the vertex colour
Co-Authored-By: GPUCode <47210458+GPUCode@users.noreply.github.com>
2023-08-28 12:43:35 +03:00
wheremyfoodat
c41b4b465a Stub SetThisSaveDataSecureValue 2023-08-27 22:14:25 +03:00
wheremyfoodat
5f52a1bec4 [FS] AbnegateAccessRight, SetArchivePriority, GetArchiveResource 2023-08-27 17:41:32 +03:00
wheremyfoodat
7bf97ab840 Stub FS functions 2023-08-27 16:38:21 +03:00
wheremyfoodat
80cdf0354f
Merge pull request #142 from Wunkolo/vulkan-framebuffer
[Vulkan] Implement framebuffer management
2023-08-27 13:41:43 +03:00
Wunkolo
c77740acf0 Fix render-texture size
Use the width/height provided and not the current `fbSize`.
Fixes a division exception.
2023-08-26 22:44:57 -07:00
Wunkolo
2f96c1d24d Fix Depth/Stencil render-target aspects
Views must have a singular aspect set, while pipeline barriers need both aspects.

Fixes more validation messages
2023-08-26 22:25:18 -07:00
Wunkolo
225d2095b9 Remove redundant semaphore wait
Don't need this anymore now that we sync on the host anyways
2023-08-26 22:11:44 -07:00
Wunkolo
085d7d5568 Add clear-buffer support for Depth/Stencil 2023-08-26 22:06:46 -07:00
Wunkolo
1540c941d0 Write and flush top/bottom-screen descriptors
A descriptor is consumed immediately when bound to a command buffer and
cannot be updated after unless we mark the descriptors with
`UPDATE_AFTER_BIND` flags and such.

For now, just flush the writes immediately before binding the
descriptors.

Fixes all of the validation messages regarding invalid command buffers
due to updated/deleted descriptor-sets.
2023-08-26 22:06:46 -07:00
wheremyfoodat
00e553a120 [NFC] Add more functions 2023-08-26 18:52:41 +03:00
Wunkolo
57ee0a3db9 Fix display drawing
Disable depth-testing, the display vertex-shader, and the
viewport/scissor positioning of the bottom screen.

We have visual!
2023-08-24 11:31:55 -07:00
Wunkolo
e4195d4d4d Implement color-buffer clears 2023-08-24 11:27:49 -07:00
Wunkolo
d781802eb0 Fix render-texture cache lookups
`[32bit loc | 32bit attributes]`
Use `std::map::lower_bound(loc << 32)` to find the first address that matches the key in O(logn) time, finer grained searchs can happen after the fact in O(n) time.

Fixes render-texture cache lookups
2023-08-24 10:40:02 -07:00
Wunkolo
be5ebeefed Default all texture layouts to eShaderReadOnlyOptimal
By default, a texture sitting somewhere and ignored should be in a shader-read-only state, and transitioned into other layouts in exception to this passive state.

This allows all shaders to be ready to be interpreted by shaders by default.
2023-08-24 09:47:11 -07:00
wheremyfoodat
46ce2c14cd Initial UserSaveData impl 2023-08-24 17:58:16 +03:00
wheremyfoodat
bd169f9274
Merge pull request #234 from wheremyfoodat/mii_selector
More FRD stuffs
2023-08-24 16:04:44 +03:00
wheremyfoodat
45593b3eab
[APT] Revert accidental switch from panicDev to panic 2023-08-24 15:51:13 +03:00
wheremyfoodat
52304763bb Merge branch 'master' into mii_selector 2023-08-24 15:45:38 +03:00
wheremyfoodat
f3042672fb More FRD stuffs 2023-08-24 15:35:44 +03:00
wheremyfoodat
3908900bca
Merge pull request #158 from wheremyfoodat/mii_selector
Initial work on HLE applets
2023-08-24 01:54:21 +03:00
wheremyfoodat
150cac89a4 [APT] Check for resume event before signalling 2023-08-24 01:35:40 +03:00
wheremyfoodat
467ab161ff Applets: Warn instead of panic 2023-08-24 01:32:57 +03:00
wheremyfoodat
74f7aeedbb Proper applet manager class 2023-08-23 18:07:24 +03:00
wheremyfoodat
9e337603d0 derp 2023-08-23 17:22:11 +03:00
wheremyfoodat
7fb3cf1236 Implement more of AC 2023-08-23 17:20:51 +03:00
wheremyfoodat
f099cc12fa Add swkbd applet 2023-08-23 01:16:27 +03:00
wheremyfoodat
865e8e299f Add FRD::GetFriendProfile and FRD::GetFriendAttributeFlags 2023-08-22 23:43:56 +03:00