mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-15 22:20:06 -04:00
JASDvdThread
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
#ifndef JASDVDTHREAD_H
|
||||
#define JASDVDTHREAD_H
|
||||
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
|
||||
class JASTaskThread : public JKRThread {
|
||||
public:
|
||||
class TCallStack {
|
||||
public:
|
||||
TCallStack(u32);
|
||||
~TCallStack();
|
||||
|
||||
/* 0x00 */ s32 (*field_0x0)(void*);
|
||||
/* 0x04 */ u8* argspace;
|
||||
};
|
||||
|
||||
JASTaskThread(u32 param_1, int param_2, s32 param_3) : JKRThread(param_1, param_2, param_3) {
|
||||
field_0x70 = 0;
|
||||
OSInitThreadQueue(&field_0x68);
|
||||
}
|
||||
~JASTaskThread();
|
||||
bool sendCmdMsg(s32 (*)(void*), void*, u32);
|
||||
void* run();
|
||||
void pause(bool);
|
||||
|
||||
/* 0x68 */ OSThreadQueue field_0x68;
|
||||
/* 0x70 */ u8 field_0x70;
|
||||
};
|
||||
|
||||
namespace JASystem {
|
||||
namespace Dvd {
|
||||
bool createThread(int, int, u32);
|
||||
void resumeThread();
|
||||
void sendCmdMsg(s32 (*)(void*), void*, u32);
|
||||
int checkPassDvdT(u32, u32*, void (*)(u32));
|
||||
u32 checkFile(char*);
|
||||
void unpauseDvdT();
|
||||
int dvdThreadCheckBack(void*);
|
||||
|
||||
extern JASTaskThread* sThread;
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* JASDVDTHREAD_H */
|
||||
Reference in New Issue
Block a user