mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
minor windows fixes (#1311)
* [pp2] put `define` dest on a single line * update source! * Update type_analysis.cpp * update old credits & racer code * change clang-cl args (REALLY force avx) * Update credits_REF.gc * comment small unused code * add timer to decompiler * fix unnecessary copy-constructors (no speed increase) * fixes * Update expression_build.cpp * wtf is this thing anyway * im bored. * clang * fix! * Revert "fix!" This reverts commit5b1ce6c718. * Revert "clang" This reverts commit5e67d9ccd1. * Revert "im bored." This reverts commit070e957ce8. * Revert "Update expression_build.cpp" This reverts commitb94d092fc5. * Revert "fixes" This reverts commitf3d871f60a. * Revert "fix unnecessary copy-constructors (no speed increase)" This reverts commit9100725802. * Keep the random inoffensive changes * Revert "Update type_analysis.cpp" This reverts commitd2456a5c75. * Update type_analysis.cpp
This commit is contained in:
@@ -325,7 +325,7 @@ struct TieFrag {
|
||||
u16 tgt_ip1_ptr = 0;
|
||||
u16 tgt_ip2_ptr = 0;
|
||||
u16 kick_addr = 0;
|
||||
u16 clr_ptr = 0;
|
||||
// u16 clr_ptr = 0;
|
||||
u16 point_ptr = 0;
|
||||
u16 misc_x = 0; // at 971's x.
|
||||
math::Vector4f gifbufs;
|
||||
@@ -1250,7 +1250,7 @@ void emulate_tie_prototype_program(std::vector<TieProtoInfo>& protos) {
|
||||
// iaddi vi15, vi00, 0x0 | nop
|
||||
frag.prog_info.kick_addr = 0;
|
||||
// mtir vi03, vf_clrbuf.x | nop
|
||||
frag.prog_info.clr_ptr = 198; // just forcing it to one buffer for now
|
||||
// frag.prog_info.clr_ptr = 198; // just forcing it to one buffer for now
|
||||
// iaddiu vi_point_ptr, vi00, 0x32 | nop
|
||||
frag.prog_info.point_ptr = 0x32;
|
||||
|
||||
@@ -1315,7 +1315,7 @@ void emulate_tie_instance_program(std::vector<TieProtoInfo>& protos) {
|
||||
// we omit the pipeline startup here.
|
||||
|
||||
// this was set by the previous program that sets up this prototype frag
|
||||
u16 clr_ptr = frag.prog_info.clr_ptr;
|
||||
// u16 clr_ptr = frag.prog_info.clr_ptr;
|
||||
u16 tgt_bp1_ptr = frag.prog_info.tgt_bp1_ptr;
|
||||
u16 tgt_bp2_ptr = frag.prog_info.tgt_bp2_ptr;
|
||||
u16 tgt_ip1_ptr = frag.prog_info.tgt_ip1_ptr;
|
||||
@@ -1358,7 +1358,7 @@ void emulate_tie_instance_program(std::vector<TieProtoInfo>& protos) {
|
||||
|
||||
// iaddi vi_clr_ptr, vi_clr_ptr, 0x7 | nop
|
||||
// u16 clr_ptr_base = clr_ptr;
|
||||
clr_ptr += 6; // it says 7, but we want to point to the first index data.
|
||||
// clr_ptr += 6; // it says 7, but we want to point to the first index data.
|
||||
|
||||
// mtir vi_ind, vf_inds.y | addx.w vf_res13, vf_res02, vf00 <- flags crap
|
||||
// div Q, vf00.w, vf_pos02.w | mulaw.xyzw ACC, vf_clr2, vf00
|
||||
|
||||
Reference in New Issue
Block a user