mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 14:55:51 -04:00
[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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user