mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -04:00
[decompiler] Jak 2 modifications, new all-types code (#1553)
* temp * look at old game types * clean up
This commit is contained in:
@@ -53,7 +53,7 @@ TEST_F(FormRegressionTest, VectorDegToVectorRad) {
|
||||
" (none)\n"
|
||||
" )\n"
|
||||
" )";
|
||||
test_final_function(func, type, expected);
|
||||
test_final_function_jak1(func, type, expected);
|
||||
}
|
||||
|
||||
// weird short circuit thing
|
||||
@@ -141,7 +141,7 @@ TEST_F(FormRegressionTest, WeirdShortCircuit) {
|
||||
" )\n"
|
||||
" s5-0\n"
|
||||
" )";
|
||||
test_with_stack_structures(func, type, expected, "[[16, \"event-message-block\"]]");
|
||||
test_with_stack_structures_jak1(func, type, expected, "[[16, \"event-message-block\"]]");
|
||||
}
|
||||
|
||||
TEST_F(FormRegressionTest, WeirdShortCircuit2) {
|
||||
@@ -162,5 +162,5 @@ TEST_F(FormRegressionTest, WeirdShortCircuit2) {
|
||||
" daddu sp, sp, r0";
|
||||
std::string type = "(function actor-link-info object)";
|
||||
std::string expected = "(the-as object (and (-> arg0 prev) (-> arg0 prev extra process)))";
|
||||
test_with_stack_structures(func, type, expected, "[[16, \"event-message-block\"]]");
|
||||
test_with_stack_structures_jak1(func, type, expected, "[[16, \"event-message-block\"]]");
|
||||
}
|
||||
Reference in New Issue
Block a user