Commit Graph

428 Commits

Author SHA1 Message Date
Léo Lam 213d9fb00d
ksys/res: Add missing cLoadDataAlignment constant to GameData 2020-11-04 00:41:27 +01:00
Léo Lam f602b5c6be
ksys/res: Declare registerEntryFactory
Implementation coming soon.
2020-11-04 00:41:02 +01:00
Léo Lam 7d8183f0b2
ksys: Add KingEditor (stub) 2020-11-04 00:40:08 +01:00
Léo Lam 0cb4d828fc
ksys/gdt: Add SaveMgr (stub) to prepare for GameDataMgr 2020-11-04 00:39:09 +01:00
Léo Lam b56108318d
lib: Update sead 2020-11-04 00:37:58 +01:00
Léo Lam c9998d3abf
ksys/gdt: Make ~Manager the key function to help with dtor matching
Make syncData a pure virtual function that is overridden in Manager
to turn the destructor into the key function.

Otherwise, the GOT would be used to load the vtable pointer until
syncData is implemented, which is quite inconvenient.
2020-11-03 18:57:52 +01:00
Léo Lam 835e11cb16
ksys/gdt: Add missing <algorithm> include 2020-11-03 02:35:38 +01:00
Léo Lam 911625ac23
ksys/res: Add GameSaveData 2020-11-03 02:27:38 +01:00
Léo Lam 92cd68c374
Update sead 2020-11-01 22:03:27 +01:00
Léo Lam c6ff7af2b0
tools/check: Avoid recreating capstone instances all the time 2020-11-01 17:01:09 +01:00
Léo Lam 41cd5cceea
tools/check: Fix adrp_pair_registers not being updated for identical instructions 2020-11-01 16:57:58 +01:00
Léo Lam d0deedac4c
Compare non-matching functions against expected output
This makes it possible to catch regressions for non-matching functions,
especially those that only have minor issues.

This also reclassifies some minor non-matchings as major non-matchings
whenever it's really not obvious to see that they are equivalent.
2020-11-01 15:43:22 +01:00
Léo Lam 9aacce607d
tools: Reformat progress 2020-11-01 14:57:14 +01:00
Léo Lam 382cb57fc1
ksys/gdt: Declare all remaining TriggerParam functions 2020-11-01 11:45:51 +01:00
Léo Lam 6c686fb962
ksys/gdt: Implement more TriggerParam copy functions 2020-11-01 02:34:14 +01:00
Léo Lam 1ccd65836d
ksys/gdt: Start adding TriggerParam's copy record functions 2020-10-31 14:58:32 +01:00
Léo Lam 2cd8eb111f
ksys/gdt: Implement flag+index getters 2020-10-29 21:56:29 +01:00
Léo Lam abf3276642
ksys/gdt: Implement more parts of TriggerParam (notably setters) 2020-10-28 22:19:34 +01:00
Léo Lam fd9b8ad11d
ksys/gdt: Add TriggerParamConfig 2020-10-27 00:52:51 +01:00
Léo Lam 82a6c0152e
ksys/gdt: Add wrappers for property getters 2020-10-26 02:08:45 +01:00
Léo Lam c612f77fcd
ksys/gdt: Implement TriggerParam::recordFlagChange 2020-10-25 14:32:56 +01:00
Léo Lam da2a57992c
readme: Further clarify that this repo can't be used to play the game 2020-10-25 00:04:02 +02:00
Léo Lam 660336044f
ksys/gdt: Implement more TriggerParam functions 2020-10-24 23:30:53 +02:00
Léo Lam 6cae9c75b5
Use sead::SafeString overload of HashCRC32::calcStringHash 2020-10-24 21:00:59 +02:00
Léo Lam f886213593
data: Mark _ZN4ksys4util13TaskQueueBase4pushERKNS1_7PushArgE as matching 2020-10-24 17:53:38 +02:00
Léo Lam 579b2c509d
readme: Explain that regalloc diffs are rare for truly equivalent code 2020-10-24 17:53:05 +02:00
Léo Lam 45b4c7e29f
ksys/util: Fix minor regalloc issue in TaskQueueBase 2020-10-24 17:49:27 +02:00
Léo Lam 6cb668288f
data: Rename ksys::gdt::Flag<T>::getRandomResetData to FlagT<T> 2020-10-24 01:31:47 +02:00
Léo Lam f974569ef4
ksys/gdt: Fix class hierarchy 2020-10-24 01:27:17 +02:00
Léo Lam 1cbb1a3311
Merge pull request #13 from notyourav/pr
decompile DamageParam
2020-10-24 01:21:18 +02:00
theo3 b11347344a decompile DamageParam 2020-10-23 16:15:23 -07:00
Léo Lam 7f0d6a9b1d
ksys/util: Add safeDeleteHeap 2020-10-22 19:01:18 +02:00
Léo Lam a26ae0ba91
ksys/gdt: Start adding TriggerParam 2020-10-22 18:54:26 +02:00
Léo Lam 228471ee3c
Merge pull request #12 from notyourav/pr3
decompiled resResourceAwareness
2020-10-21 00:59:59 +02:00
theo3 4bb4c935a6 decompiled resResourceAwareness 2020-10-20 15:48:31 -07:00
Léo Lam 3287f5eb25
Merge pull request #8 from notyourav/pr
resResourceShop decompiled
2020-10-21 00:40:39 +02:00
Léo Lam 38859e0f6e
Merge pull request #11 from wildex999/master
ksys/dmg: Implementing some of DamageManagerBase.
2020-10-21 00:32:43 +02:00
Wildex999 05a69f745b ksys/dmg: Implementing some of DamageManagerBase. Added some temporary classes/variables used by DamageManagerBase. 2020-10-21 00:19:48 +02:00
theo3 c562d67fab resResourceShop decompiled 2020-10-20 15:00:08 -07:00
Léo Lam 35ad671acf
readme: Mention the SHA256 hash of the 1.5.0 NSO 2020-10-19 20:32:24 +02:00
Léo Lam 5bc5c7c0b2
lib: Update agl
This silences most check.py warnings.
2020-10-19 01:16:03 +02:00
Léo Lam 27da317935
ksys/res: Add GameData 2020-10-18 20:52:02 +02:00
Léo Lam eb222dc784
ksys/util: Add missing const qualifier to one ByamlIter member function 2020-10-17 23:17:09 +02:00
Léo Lam e3fd543178
ksys/gdt: Add Flag 2020-10-17 22:31:35 +02:00
Léo Lam 906dad46ad
Merge pull request #9 from notyourav/pr2
fix missing pragma once
2020-10-17 12:01:27 +02:00
theo3 b2134d8304 fix missing pragma once 2020-10-16 19:10:04 -07:00
Léo Lam 6c3158c057
tools: Update asm-differ 2020-10-16 01:28:54 +02:00
Léo Lam dbaac9cb78
ksys/act: Add InstParamPack 2020-10-16 00:06:18 +02:00
Léo Lam 2d721f8969
ksys/eco: Add LevelSensor header
It's not implementable yet because Ecosystem and some act:: code hasn't
been decompiled yet.
2020-10-15 21:04:51 +02:00
Léo Lam eedba1cd95
ksys/res: Remove obsolete comment for Handle 2020-10-15 18:40:14 +02:00