mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
24161e34d2
* JASProbe OK * JASRegisterParam OK * Import JASReport * JASDvdThread OK
17 lines
278 B
C
17 lines
278 B
C
#ifndef JASMUTEX_H
|
|
#define JASMUTEX_H
|
|
|
|
#include "dolphin/os/OSMutex.h"
|
|
|
|
struct JASMutexLock {
|
|
JASMutexLock(OSMutex* mutex) {
|
|
mMutex = mutex;
|
|
OSLockMutex(mMutex);
|
|
}
|
|
~JASMutexLock() { OSUnlockMutex(mMutex); }
|
|
|
|
/* 0x0 */ OSMutex* mMutex;
|
|
};
|
|
|
|
#endif
|