mirror of
https://github.com/open-goal/jak-project
synced 2026-08-22 07:04:29 -04:00
[decompiler] jak2-style rtype-of, setup gcommon stuff (#1616)
* [decompiler] support jak2-style rtype-of, get gcommon decompiling to use for tests * more decompiler debugging
This commit is contained in:
@@ -164,7 +164,7 @@ std::optional<TypeSpec> get_typecast_for_atom(const SimpleAtom& atom,
|
||||
const Env& env,
|
||||
const TypeSpec& expected_type,
|
||||
int my_idx) {
|
||||
auto type_info = env.dts->ts.lookup_type(expected_type);
|
||||
auto type_info = env.dts->ts.lookup_type_allow_partial_def(expected_type);
|
||||
switch (atom.get_kind()) {
|
||||
case SimpleAtom::Kind::VARIABLE: {
|
||||
if (atom.var().reg().get_kind() == Reg::VF) {
|
||||
|
||||
Reference in New Issue
Block a user