mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Fix getItem animation (#37)
This commit is contained in:
@@ -7310,11 +7310,13 @@ void func_80838830(Player* this, s16 objectId) {
|
||||
s32 pad[2];
|
||||
|
||||
if (objectId != OBJECT_UNSET_0) {
|
||||
this->giObjectLoading = true;
|
||||
osCreateMesgQueue(&this->giObjectLoadQueue, &this->giObjectLoadMsg, 1);
|
||||
DmaMgr_SendRequestImpl(&this->giObjectDmaRequest, this->giObjectSegment, gObjectTable[objectId].vromStart,
|
||||
gObjectTable[objectId].vromEnd - gObjectTable[objectId].vromStart, 0,
|
||||
&this->giObjectLoadQueue, OS_MESG_PTR(NULL));
|
||||
// #region 2S2H [Port] We don't care to wait for the item to load, mark it as loaded immediately
|
||||
this->giObjectLoading = false;
|
||||
// osCreateMesgQueue(&this->giObjectLoadQueue, &this->giObjectLoadMsg, 1);
|
||||
// DmaMgr_SendRequestImpl(&this->giObjectDmaRequest, this->giObjectSegment, gObjectTable[objectId].vromStart,
|
||||
// gObjectTable[objectId].vromEnd - gObjectTable[objectId].vromStart, 0,
|
||||
// &this->giObjectLoadQueue, OS_MESG_PTR(NULL));
|
||||
// #endregion
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user