MCPcopy Create free account
hub / github.com/doldecomp/mkdd / loadDVDFile

Method loadDVDFile

libs/JSystem/JAudio/Utility/JAUSectionHeap.cpp:423–435  ·  view source on GitHub ↗

Cast is needed, sadly

Source from the content-addressed store, hash-verified

421// Cast is needed, sadly
422const void *JAUSection::loadDVDFile(const char *path, bool defaultAlignment, JKRExpandSwitch expSwitch)
423{
424#line 500
425 JUT_ASSERT(isOpen());
426 JUT_ASSERT(isBuilding());
427
428 void *ret;
429 {
430 TPushCurrentHeap pushHeap(getHeap_());
431 ret = (u8*)JKRDvdToMainRam(path, NULL, expSwitch, 0, getHeap_(), defaultAlignment ? JKRDvdRipper::ALLOC_DIR_BOTTOM : JKRDvdRipper::ALLOC_DIR_TOP, 0, NULL, NULL);
432 }
433 return ret;
434}
435
436
437void* JAUSection::newCopy(const void *src, u32 n, s32 alignment)
438{

Callers 1

loadMethod · 0.80

Calls 1

JKRDvdToMainRamFunction · 0.85

Tested by

no test coverage detected