mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
JKRThread & JKRThreadSwitch (#147)
* OK __ct__15JKRThreadSwitchFP7JKRHeap * OK createManager__15JKRThreadSwitchFP7JKRHeap * OK enter__15JKRThreadSwitchFP9JKRThreadi * OK callback__15JKRThreadSwitchFP8OSThreadP8OSThread * OK draw__15JKRThreadSwitchFP14JKRThreadName_P10JUTConsole * OK draw__15JKRThreadSwitchFP14JKRThreadName_ * OK __dt__15JKRThreadSwitchFv * JKRThread.cpp cleanup * Fixed tp.py and libelf, changed JUT_ASSERT macro and removed unused .s files. * Changed JKRThread access specifiers Co-authored-by: Julgodis <>
This commit is contained in:
co-authored by
Julgodis <>
parent
7d271be857
commit
800047a854
@@ -2,6 +2,7 @@
|
||||
#define JAISOUND_H
|
||||
|
||||
#include "JSystem/JGeometry.h"
|
||||
#include "JSystem/JUtility/JUTAssert.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -153,11 +154,11 @@ public:
|
||||
JAISoundHandle(); // noninline in JAUClusterSound.cpp
|
||||
~JAISoundHandle();
|
||||
|
||||
bool isSoundAttached() const { return mSound != NULL; }
|
||||
bool isSoundAttached() const { return sound_ != NULL; }
|
||||
|
||||
JAISound* operator->() const {
|
||||
JUT_ASSERT(mSound != NULL);
|
||||
return mSound;
|
||||
JUT_ASSERT("JAISound.h", 0x3a, sound_ != 0);
|
||||
return sound_;
|
||||
}
|
||||
|
||||
operator bool() const { return isSoundAttached(); }
|
||||
@@ -165,7 +166,7 @@ public:
|
||||
void releaseSound();
|
||||
|
||||
private:
|
||||
JAISound* mSound;
|
||||
JAISound* sound_; // member from assert in operator->()
|
||||
};
|
||||
|
||||
class JAISoundHandles {
|
||||
|
||||
Reference in New Issue
Block a user