mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-08 20:24:47 -04:00
Debug build now takes .alf as input instead of .dol (#2360)
* Fix debug build * Debug build now takes .alf as input instead of .dol I had to manually remove the following line from symbols.txt for DTK to work: ``` .data = .sbss:0x8074C97C; // type:object size:0x4 scope:local data:byte ``` After that it built OK, and DTK automatically modified all other lines in symbols.txt. * Fix pragma in header messing up debug optimization level
This commit is contained in:
@@ -92,7 +92,7 @@ struct TValueIterator {
|
||||
|
||||
const void* get() const { return mBegin; }
|
||||
|
||||
typename Parser::ParseType operator*() {
|
||||
typename Parser::ParseType operator*() const {
|
||||
return *(typename Parser::ParseType*)get();
|
||||
}
|
||||
|
||||
|
||||
@@ -201,11 +201,11 @@ struct TParseData_fixed : public TParseData<T> {
|
||||
return TParseData::isValid() && getNext() != NULL;
|
||||
}
|
||||
|
||||
Iterator begin() {
|
||||
Iterator begin() const {
|
||||
return Iterator(fileCount);
|
||||
}
|
||||
|
||||
Iterator end() {
|
||||
Iterator end() const {
|
||||
Iterator i(fileCount);
|
||||
i += size();
|
||||
return i;
|
||||
|
||||
@@ -15,6 +15,7 @@ struct TCreateObject : public JStudio::TCreateObject {
|
||||
pJAISoundStarter_ = p_soundStarter;
|
||||
pJSGSystem_ = p_system;
|
||||
mPermit_onExit_notEnd = false;
|
||||
JUT_ASSERT(45, pJAISoundStarter_!=0);
|
||||
}
|
||||
|
||||
/* 8028D550 */ virtual ~TCreateObject();
|
||||
|
||||
@@ -14,6 +14,7 @@ struct TCreateObject : public JStudio::TCreateObject {
|
||||
pJPAEmitterManager_ = p_emitMgr;
|
||||
pJSGSystem_ = p_system;
|
||||
mPermit_onExit_notEnd = false;
|
||||
JUT_ASSERT(48, pJPAEmitterManager_!=0);
|
||||
}
|
||||
|
||||
/* 8028E3A0 */ virtual ~TCreateObject();
|
||||
|
||||
@@ -16,6 +16,7 @@ typedef JStudio::TObject* (*ObjCreateFuncT)(const JStudio::stb::data::TParse_TBl
|
||||
struct TCreateObject : public JStudio::TCreateObject {
|
||||
TCreateObject(const JStage::TSystem* pSystem) {
|
||||
pJSGSystem_ = pSystem;
|
||||
JUT_ASSERT(42, pJSGSystem_!=0);
|
||||
}
|
||||
|
||||
/* 80289B00 */ virtual ~TCreateObject();
|
||||
|
||||
Reference in New Issue
Block a user