Merge remote-tracking branch 'origin/main' into agent/channel-title-20260921
This commit is contained in:
10
configure.py
10
configure.py
@@ -625,7 +625,7 @@ config.libs = [
|
||||
Object(Matching, "system/RIPL_BoardRecord.c"),
|
||||
Object(Equivalent, "system/iplSystem.cpp"),
|
||||
Object(NonMatching, "system/iplController.cpp"),
|
||||
Object(Equivalent, "system/iplChannelManager.cpp"),
|
||||
Object(Matching, "system/iplChannelManager.cpp"),
|
||||
Object(Matching, "system/iplChannelScriptManager.cpp"),
|
||||
Object(Matching, "system/iplNand.cpp"),
|
||||
Object(NonMatching, "system/iplNandShared.cpp"),
|
||||
@@ -633,14 +633,14 @@ config.libs = [
|
||||
Object(Matching, "system/iplNandManager.cpp"),
|
||||
Object(Matching, "system/iplNandWall.cpp"),
|
||||
Object(Matching, "system/iplFramework.cpp"),
|
||||
Object(NonMatching, "system/iplException.cpp"),
|
||||
Object(Matching, "system/iplException.cpp"),
|
||||
Object(Matching, "system/iplMessage.cpp"),
|
||||
Object(Matching, "system/iplMessageManager.cpp"),
|
||||
Object(Matching, "system/iplNigaoeManager.cpp"),
|
||||
Object(Matching, "system/iplNigaoe.cpp"),
|
||||
Object(Matching, "system/iplCdbManager.cpp"),
|
||||
Object(Matching, "system/iplCdbWrapper.cpp"),
|
||||
Object(Equivalent, "system/iplPlayTimeLog.cpp"),
|
||||
Object(Matching, "system/iplPlayTimeLog.cpp"),
|
||||
Object(Equivalent, "system/iplNwc24Manager.cpp"),
|
||||
Object(Matching, "system/iplPointer.cpp"),
|
||||
Object(Matching, "system/iplPointerCore.cpp"),
|
||||
@@ -656,7 +656,7 @@ config.libs = [
|
||||
Object(NonMatching, "system/iplSaveDataManager.cpp"),
|
||||
Object(Matching, "system/iplChannelRsoThread.cpp"),
|
||||
Object(Equivalent, "system/RsoSystem.cpp"),
|
||||
Object(Equivalent, "system/iplCdbBackup.cpp"),
|
||||
Object(Matching, "system/iplCdbBackup.cpp"),
|
||||
Object(NonMatching, "system/odh.cpp"),
|
||||
Object(Matching, "system/iplSDVFWorker.cpp"),
|
||||
Object(Matching, "system/iplNandWrapper.cpp"),
|
||||
@@ -871,7 +871,7 @@ config.libs = [
|
||||
Object(NonMatching, "scene/setting/iplSensitivity.cpp"),
|
||||
Object(Matching, "scene/setting/iplNCDSetting.cpp"),
|
||||
Object(Matching, "scene/setting/iplParental.cpp"),
|
||||
Object(NonMatching, "scene/setting/iplAPScanThread.cpp"),
|
||||
Object(Matching, "scene/setting/iplAPScanThread.cpp"),
|
||||
Object(NonMatching, "scene/setting/iplUSBAP.cpp"),
|
||||
Object(NonMatching, "scene/setting/iplUSBAPThread.cpp"),
|
||||
Object(NonMatching, "scene/setting/iplAOSSThread.cpp"),
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
#include "scene/address/iplAddress.h"
|
||||
|
||||
#include "system/MESGEntries.h"
|
||||
#include "system/iplSystem.h"
|
||||
|
||||
extern "C" char smArg__Q23ipl6System;
|
||||
extern "C" void checkUserId__Q33ipl5nwc247ManagerFUx();
|
||||
extern "C" void getErrCode__Q33ipl5nwc247ManagerFv();
|
||||
@@ -8,6 +11,9 @@ extern "C" void deleteFriendInfo__Q33ipl5nwc247ManagerFUl();
|
||||
extern "C" void getScene__Q33ipl5scene7ManagerFi();
|
||||
extern "C" void setEventHandler__Q33ipl5scene6ButtonFPQ23gui12EventHandlerPQ23gui12EventHandler();
|
||||
extern "C" void calc__Q33ipl6layout6ObjectFv();
|
||||
extern "C" int init__Q33ipl5scene15FriendListCacheFv(void*);
|
||||
extern "C" void onInitFriendList__Q33ipl5scene7AddressFv(void*);
|
||||
extern "C" void callBtn1__Q23ipl12DialogWindowFUlUl(void*, unsigned int, unsigned int);
|
||||
|
||||
extern "C" asm void getChild__Q33ipl5scene4BaseFv() {
|
||||
nofralloc
|
||||
@@ -66,6 +72,20 @@ extern "C" asm void calcCommon__Q33ipl5scene14FaderSceneBaseFv() {
|
||||
blr
|
||||
}
|
||||
|
||||
extern "C" void fistt_wait_open__Q33ipl5scene7AddressFv(ipl::scene::Address* self) {
|
||||
char* address = reinterpret_cast<char*>(self);
|
||||
if (init__Q33ipl5scene15FriendListCacheFv(*reinterpret_cast<void**>(address + 0x274))) {
|
||||
onInitFriendList__Q33ipl5scene7AddressFv(self);
|
||||
*reinterpret_cast<int*>(address + 0xa4) = 1;
|
||||
} else if (*reinterpret_cast<int*>(address + 0xa8) >= 300) {
|
||||
callBtn1__Q23ipl12DialogWindowFUlUl(ipl::System::getDialog(), MESG_ERROR_NWC24_FATAL,
|
||||
MESG_CMN_OK);
|
||||
*reinterpret_cast<int*>(address + 0xac) = 0x18;
|
||||
*reinterpret_cast<int*>(address + 0xa4) = 2;
|
||||
}
|
||||
*reinterpret_cast<int*>(address + 0xa8) += 1;
|
||||
}
|
||||
|
||||
void ipl::scene::Address::destroy() {
|
||||
getFriendCache()->fin();
|
||||
}
|
||||
|
||||
@@ -15,10 +15,19 @@ enum {
|
||||
ODH_ERROR_80000005 = 0x80000005,
|
||||
};
|
||||
|
||||
struct SArCDJ_OdhMaster {
|
||||
u16 field0;
|
||||
u16 field2;
|
||||
u8 field4;
|
||||
u8 padding[0x22B];
|
||||
u8* data;
|
||||
};
|
||||
|
||||
class CArGBAOdh {
|
||||
public:
|
||||
s32 decompressGbaOdh(u8* src, int srcSize, u8* dest, int destSize, u8* work, int unk, int format);
|
||||
s32 compressGbaOdh(u8* src, u8* dest, int width, int height, int quality, u32 sizeLimit, u8* work, int format);
|
||||
void cdj_c_makeHeader(SArCDJ_OdhMaster* master, u32 size);
|
||||
|
||||
private:
|
||||
s32 ScaleLimit(s32 scale);
|
||||
@@ -65,6 +74,16 @@ int ODHGetHeight(u8* data) {
|
||||
return (((u32*)data)[1] >> 11 & 0x7FF) + 7 & 0x7F8;
|
||||
}
|
||||
|
||||
void CArGBAOdh::cdj_c_makeHeader(SArCDJ_OdhMaster* master, u32 size) {
|
||||
master->data[0] = 'A';
|
||||
master->data[1] = 'J';
|
||||
master->data[2] = 'P';
|
||||
master->data[3] = 'G';
|
||||
*(u32*)&master->data[4] = master->field0 | (u32)master->field2 << 11 | (u32)master->field4 << 24;
|
||||
*(u32*)&master->data[8] = size;
|
||||
*(u32*)&master->data[12] = 0;
|
||||
}
|
||||
|
||||
s32 CArGBAOdh::ScaleLimit(s32 scale) {
|
||||
s32 newScale = scale;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user