mirror of
https://github.com/zeldaret/ss
synced 2026-05-23 15:01:38 -04:00
26af4db82d
* update from dtk-template and start work towards using clangd * include <a> -> "a" * Update build.yml * remove/add non-trivial class in union warning
31 lines
572 B
C++
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
|