Link iplBoard + iplBoardObject (clean subset) #229
@@ -737,8 +737,8 @@ config.libs = [
|
||||
]
|
||||
),
|
||||
IPLSection("board", [
|
||||
Object(Equivalent, "scene/board/iplBoard.cpp"),
|
||||
Object(Equivalent, "scene/board/iplBoardObject.cpp"),
|
||||
Object(Matching, "scene/board/iplBoard.cpp"),
|
||||
Object(Matching, "scene/board/iplBoardObject.cpp"),
|
||||
Object(Matching, "scene/board/iplBoardSD.cpp"),
|
||||
Object(Matching, "scene/board/iplUrlProcessor.cpp"),
|
||||
Object(Equivalent, "scene/board/iplFocusObject.cpp"),
|
||||
|
||||
@@ -234,6 +234,7 @@ namespace ipl {
|
||||
class ObjList {
|
||||
public:
|
||||
ObjList();
|
||||
~ObjList() {}
|
||||
|
||||
BoardObject* getNext(BoardObject* obj = NULL) const { return (BoardObject*)nw4r::ut::List_GetNext((nw4r::ut::List*)&mUsedObjs, obj); }
|
||||
|
||||
|
||||
@@ -419,12 +419,12 @@ namespace ipl {
|
||||
CDBRecordKey recordKey;
|
||||
|
||||
utility::Date recordDate;
|
||||
int recordDay;
|
||||
int recordMin;
|
||||
int recordHour;
|
||||
|
||||
u32 recordGC = 0;
|
||||
|
||||
int recordHour;
|
||||
int recordMin;
|
||||
int recordDay;
|
||||
|
||||
cdb::Manager* cdbManager = System::getCdbManager();
|
||||
|
||||
BOOL result = TRUE;
|
||||
@@ -460,7 +460,7 @@ namespace ipl {
|
||||
|
||||
// Find any free space to put the object on screen
|
||||
|
||||
BOOL old = OSDisableInterrupts();
|
||||
volatile BOOL old = OSDisableInterrupts();
|
||||
BOOL exist = is_exist_diff_date();
|
||||
BoardObject* obj = mObjList.getNextFree();
|
||||
OSRestoreInterrupts(old);
|
||||
@@ -468,7 +468,7 @@ namespace ipl {
|
||||
if (obj == NULL && exist) {
|
||||
while (obj == NULL) {
|
||||
OSSleepMilliseconds((OSTime)1);
|
||||
BOOL old2 = OSDisableInterrupts();
|
||||
volatile BOOL old2 = OSDisableInterrupts();
|
||||
obj = mObjList.getNextFree();
|
||||
OSRestoreInterrupts(old2);
|
||||
}
|
||||
@@ -513,7 +513,7 @@ namespace ipl {
|
||||
result = TRUE;
|
||||
|
||||
if (((RBRHeader*)rbrData)->magic == RBR_MAGIC && cdbManager->isValidHeader((RBRHeader*)rbrData)) {
|
||||
BOOL old3 = OSDisableInterrupts();
|
||||
volatile BOOL old3 = OSDisableInterrupts();
|
||||
|
||||
if (recordDate == mCurrentDate) {
|
||||
if (mbReading == true && mSearchRecord_Prev.created) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user