diff options
Diffstat (limited to 'include/JSystem')
| -rw-r--r-- | include/JSystem/JGadget/linklist.h | 6 | ||||
| -rw-r--r-- | include/JSystem/JUtility/JUTConsole.h | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/include/JSystem/JGadget/linklist.h b/include/JSystem/JGadget/linklist.h index 1a3390f1ac..fb7c08e8e8 100644 --- a/include/JSystem/JGadget/linklist.h +++ b/include/JSystem/JGadget/linklist.h @@ -55,10 +55,8 @@ struct TLinkList : public TNodeLinkList { iterator(TNodeLinkList::iterator iter) : TNodeLinkList::iterator(iter) {} }; - TLinkListNode* Element_toNode(T* element) const { - return &element->mListNode; - } - + TLinkListNode* Element_toNode(T* element) const { return &element->mListNode; } + void Insert(TLinkList::iterator iter, T* element) { TLinkListNode* node = Element_toNode(element); TNodeLinkList::Insert(iter, node); diff --git a/include/JSystem/JUtility/JUTConsole.h b/include/JSystem/JUtility/JUTConsole.h index 9c73f30cc7..5d1668f173 100644 --- a/include/JSystem/JUtility/JUTConsole.h +++ b/include/JSystem/JUtility/JUTConsole.h @@ -51,9 +51,7 @@ public: *((u8*)mBuf + (field_0x20 + 2) * param_0) = param_1; } - u8* getLinePtr(int param_0) const { - return ((u8*)mBuf + (field_0x20 + 2) * param_0 + 1); - } + u8* getLinePtr(int param_0) const { return ((u8*)mBuf + (field_0x20 + 2) * param_0 + 1); } int diffIndex(int param_0, int param_1) const { int diff = param_1 - param_0; @@ -64,6 +62,7 @@ public: } /* 0x18 */ JGadget::TLinkListNode mListNode; + private: /* 0x20 */ u32 field_0x20; /* 0x24 */ u32 field_0x24; |
