2 functions left in JASTrack.o

This commit is contained in:
Headpenguin 2023-08-21 19:23:31 -04:00
parent 9fade8f824
commit 332579c9f4
3 changed files with 5 additions and 4 deletions

View File

@ -58,7 +58,7 @@ public:
class JASBankList {
public:
JASBankList();
JASBankList() NO_INLINE;
virtual JASBank* getBank(u32) const = 0;
};

View File

@ -59,6 +59,7 @@ namespace JGadget {
iterator() NO_INLINE;
inline iterator(iteratorData data) : curr(data.curr) {}
iterator(TLinkListNode *) NO_INLINE;
inline iterator(TLinkListNode *node, bool pretend) : curr(node) {}
iterator(const iterator &) NO_INLINE;
iterator& operator++() NO_INLINE;
TLinkListNode* operator->() const NO_INLINE;
@ -88,8 +89,8 @@ namespace JGadget {
iterator() NO_INLINE : TNodeLinkList::iterator() {}
inline iterator(TLinkListNode *iter) : curr(iter) {}
iterator(TNodeLinkList::iterator iter) NO_INLINE : TNodeLinkList::iterator(iter) {}
iterator(const iterator &rOther) {
curr = rOther.curr;
iterator(const iterator &rOther) : TNodeLinkList::iterator(rOther.curr, false) {
//curr = rOther.curr;
}
const iterator& operator=(const iterator &rOther) NO_INLINE {
TIterator<std::bidirectional_iterator_tag, T>::operator=(rOther);

View File

@ -652,7 +652,7 @@ void JASTrack::TList::append(JASTrack *track) {
void JASTrack::TList::seqMain() {
JGADGET_LINK_LIST(JASTrack, _248)::iterator iter, next;
for(iter = JGADGET_LINK_LIST(JASTrack, _248)::iterator(_0.begin()); iter != JGADGET_LINK_LIST(JASTrack, _248)::iterator(_0.end()); iter = next) {
for(iter = JGADGET_LINK_LIST(JASTrack, _248)::iterator(_0.begin()); iter != _0.end(); iter = next) {
next = iter;
++next;
if(iter->seqMain() < 0) {