Match and link CARAMManager.cpp

Former-commit-id: a566a6bc24deff0cb3b11bcf9bc1edf0f917aae0
This commit is contained in:
Phillip Stephens 2023-10-12 05:22:02 -07:00
parent 043b4d2cb4
commit fcc8b0b8e7
2 changed files with 3 additions and 3 deletions

View File

@ -893,7 +893,7 @@ config.libs = [
RetroLib(
"Kyoto2",
[
Object(NonMatching, "Kyoto/CARAMManager.cpp"),
Object(Matching, "Kyoto/CARAMManager.cpp"),
Object(NonMatching, "Kyoto/Math/CFrustumPlanes.cpp"),
Object(NonMatching, "Kyoto/Graphics/CCubeMaterial.cpp"),
Object(NonMatching, "Kyoto/Graphics/CCubeSurface.cpp"),

View File

@ -109,7 +109,7 @@ bool CARAMManager::Free(const void* ptr) {
uint CARAMManager::DMAToARAM(void* src, void* dest, uint len, EDMAPriority priority) {
DCStoreRange(src, len);
SAramDMARequest* req = new SAramDMARequest();
SAramDMARequest* req = rs_new SAramDMARequest();
req->mComplete = false;
req->mUniqueID = mDMAUniqueID;
mActiveDMAs.push_back(req);
@ -123,7 +123,7 @@ uint CARAMManager::DMAToARAM(void* src, void* dest, uint len, EDMAPriority prior
int CARAMManager::DMAToMRAM(void* src, void* dest, uint len, EDMAPriority priority) {
DCInvalidateRange(dest, len);
SAramDMARequest* req = new SAramDMARequest();
SAramDMARequest* req = rs_new SAramDMARequest();
req->mComplete = false;
req->mUniqueID = mDMAUniqueID;
mActiveDMAs.push_back(req);