mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -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:
@@ -10,6 +10,7 @@
|
||||
#include "decompiler/config.h"
|
||||
#include "decompiler/util/DecompilerTypeSystem.h"
|
||||
#include "common/link_types.h"
|
||||
#include "common/util/BitUtils.h"
|
||||
|
||||
namespace decompiler {
|
||||
// There are three link versions:
|
||||
@@ -197,14 +198,6 @@ static uint32_t c_symlink3(LinkedObjectFile& f,
|
||||
return link_ptr + 1;
|
||||
}
|
||||
|
||||
static uint32_t align64(uint32_t in) {
|
||||
return (in + 63) & (~63);
|
||||
}
|
||||
|
||||
static uint32_t align16(uint32_t in) {
|
||||
return (in + 15) & (~15);
|
||||
}
|
||||
|
||||
/*!
|
||||
* Process link data for a "V4" or "V2" object file.
|
||||
* In reality a V4 seems to be just a V2 object, but with the link data after the real data.
|
||||
|
||||
Reference in New Issue
Block a user