Skip to content

Commit 2cf73ec

Browse files
committed
stub: fix regression with statically-linked playloads
1 parent f6c3327 commit 2cf73ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/djdev64/stub/stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ int djstub_main(int argc, char *argv[], char *envp[],
481481
stubinfo.self_fd = ifile;
482482
stubinfo.self_offs = coffset;
483483
#if PASS_EMBOV_TO_SECOND_LDR
484-
stubinfo.self_size = (emb_ov ? 0 : coffsize);
484+
stubinfo.self_size = ((emb_ov && dyn && pl32) ? 0 : coffsize);
485485
#else
486486
stubinfo.self_size = coffsize;
487487
#endif

0 commit comments

Comments
 (0)