[sparticle] 2d hud particles (#849)

* wip, taking a break to work on asm stuff first

* the goal code for sparticle

* mips2c the first sparticle asm function

* temp

* particle processing no longer crashing

* temp

* working texture cache for vi1 and hud textures

* sprites

* cleanup 1

* temp

* temp

* add zstd library

* temp

* working

* tests

* include fix

* uncomment

* better decomp of sparticle stuff, part 1

* update references
This commit is contained in:
water111
2021-09-26 11:41:58 -04:00
committed by GitHub
parent d777337095
commit f0ceea8b2e
158 changed files with 19773 additions and 44989 deletions
+1 -12
View File
@@ -8,6 +8,7 @@
#include "TypeInspector.h"
#include "decompiler/IR/IR.h"
#include "decompiler/IR2/Form.h"
#include "common/util/BitUtils.h"
namespace decompiler {
namespace {
@@ -30,18 +31,6 @@ Register get_expected_fpr_backup(int n, int total) {
return fpr_backups.at((total - 1) - n);
}
uint32_t align16(uint32_t in) {
return (in + 15) & (~15);
}
uint32_t align8(uint32_t in) {
return (in + 7) & (~7);
}
uint32_t align4(uint32_t in) {
return (in + 3) & (~3);
}
} // namespace
Function::Function(int _start_word, int _end_word) : start_word(_start_word), end_word(_end_word) {