mirror of https://github.com/PrimeDecomp/prime.git
Match and link CARAMManager.cpp
Former-commit-id: a566a6bc24deff0cb3b11bcf9bc1edf0f917aae0
This commit is contained in:
parent
043b4d2cb4
commit
fcc8b0b8e7
|
@ -893,7 +893,7 @@ config.libs = [
|
||||||
RetroLib(
|
RetroLib(
|
||||||
"Kyoto2",
|
"Kyoto2",
|
||||||
[
|
[
|
||||||
Object(NonMatching, "Kyoto/CARAMManager.cpp"),
|
Object(Matching, "Kyoto/CARAMManager.cpp"),
|
||||||
Object(NonMatching, "Kyoto/Math/CFrustumPlanes.cpp"),
|
Object(NonMatching, "Kyoto/Math/CFrustumPlanes.cpp"),
|
||||||
Object(NonMatching, "Kyoto/Graphics/CCubeMaterial.cpp"),
|
Object(NonMatching, "Kyoto/Graphics/CCubeMaterial.cpp"),
|
||||||
Object(NonMatching, "Kyoto/Graphics/CCubeSurface.cpp"),
|
Object(NonMatching, "Kyoto/Graphics/CCubeSurface.cpp"),
|
||||||
|
|
|
@ -109,7 +109,7 @@ bool CARAMManager::Free(const void* ptr) {
|
||||||
|
|
||||||
uint CARAMManager::DMAToARAM(void* src, void* dest, uint len, EDMAPriority priority) {
|
uint CARAMManager::DMAToARAM(void* src, void* dest, uint len, EDMAPriority priority) {
|
||||||
DCStoreRange(src, len);
|
DCStoreRange(src, len);
|
||||||
SAramDMARequest* req = new SAramDMARequest();
|
SAramDMARequest* req = rs_new SAramDMARequest();
|
||||||
req->mComplete = false;
|
req->mComplete = false;
|
||||||
req->mUniqueID = mDMAUniqueID;
|
req->mUniqueID = mDMAUniqueID;
|
||||||
mActiveDMAs.push_back(req);
|
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) {
|
int CARAMManager::DMAToMRAM(void* src, void* dest, uint len, EDMAPriority priority) {
|
||||||
DCInvalidateRange(dest, len);
|
DCInvalidateRange(dest, len);
|
||||||
SAramDMARequest* req = new SAramDMARequest();
|
SAramDMARequest* req = rs_new SAramDMARequest();
|
||||||
req->mComplete = false;
|
req->mComplete = false;
|
||||||
req->mUniqueID = mDMAUniqueID;
|
req->mUniqueID = mDMAUniqueID;
|
||||||
mActiveDMAs.push_back(req);
|
mActiveDMAs.push_back(req);
|
||||||
|
|
Loading…
Reference in New Issue