Files
Elijah Thomas 26af4db82d update from dtk-template - clangd :) (#66)
* update from dtk-template and start work towards using clangd

* include <a> -> "a"

* Update build.yml

* remove/add non-trivial class in union warning
2024-10-16 15:36:02 -04:00

31 lines
572 B
C++

#ifndef D_DVD_H
#define D_DVD_H
#include "common.h"
#include "egg/core/eggHeap.h"
#include "m/m_dvd.h"
namespace dDvd {
// difference to NSMBW: additional heap arg
void create(s32 priority, EGG::Heap *, EGG::Heap *, EGG::Heap *);
class loader_c {
public:
loader_c();
/** vtable at 0x805033F0 */
virtual ~loader_c();
void *request(const char *path, u8 mountDirection, EGG::Heap *heap);
virtual void remove();
private:
u32 mSize;
mDvd_toMainRam_normal_c *mpCommand;
EGG::Heap *mpHeap;
void *mpBuffer;
};
} // namespace dDvd
#endif