diff options
| author | Pistonight <pistonknight@outlook.com> | 2025-06-18 11:09:20 -0700 |
|---|---|---|
| committer | Pistonight <pistonknight@outlook.com> | 2025-06-18 11:09:20 -0700 |
| commit | 4010977b94df6f09deb30a700fffe68d85b533bb (patch) | |
| tree | 469df24a292ed29633aaae91ad89093f8674c028 /src/KingSystem/Resource/resCache.cpp | |
| parent | 1f833303f9437e79e990ebf394577939adfc8dc9 (diff) | |
rename _c to lane_id
Diffstat (limited to 'src/KingSystem/Resource/resCache.cpp')
| -rw-r--r-- | src/KingSystem/Resource/resCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Resource/resCache.cpp b/src/KingSystem/Resource/resCache.cpp index d59ab29e..d3e3195c 100644 --- a/src/KingSystem/Resource/resCache.cpp +++ b/src/KingSystem/Resource/resCache.cpp @@ -118,7 +118,7 @@ Handle::Status Cache::loadResource(const ControlTaskData& data) { } u8 lane_id = 0xff; - if (data.mResLoadReq._c <= 2) { + if (data.mResLoadReq.mLaneId <= 2) { const bool x = result->mStatusFlags.isOn(ResourceUnit::StatusFlag::LoadFromArchive); #ifdef MATCHING_HACK_NX_CLANG // This makes absolutely no sense at all, but this prevents InstCombine from @@ -127,7 +127,7 @@ Handle::Status Cache::loadResource(const ControlTaskData& data) { // so the conditional still works fine. __builtin_assume(x); #endif - lane_id = 2 * data.mResLoadReq._c + (x ? 1 : 2); + lane_id = 2 * data.mResLoadReq.mLaneId + (x ? 1 : 2); } ResourceUnit::RequestInitLoadArg load_arg; |
