fix CustomizedDisplay: forgot to do setup after drawText
This commit is contained in:
parent
d31cf7d266
commit
969122d85f
2 changed files with 5 additions and 1 deletions
|
@ -3285,7 +3285,7 @@
|
|||
<title lang="en-US">Customized display</title>
|
||||
<title lang="ja-JP">カスタマイズ表示</title>
|
||||
<author>sup39(サポミク)</author>
|
||||
<version>0.1</version>
|
||||
<version>0.2</version>
|
||||
<date>Oct 15, 2022</date>
|
||||
<dependencies>drawText</dependencies>
|
||||
<description lang="en-US">
|
||||
|
|
|
@ -407,6 +407,10 @@ export default function codegen(version) {
|
|||
}
|
||||
// addi r1, r1, spOff
|
||||
if (spOff) program.push(ASM.addi(1, 1, spOff));
|
||||
// addi r3, r1, 0xE90
|
||||
program.push(ASM.addi(3, 1, 0xe90));
|
||||
// bl setup
|
||||
program.bl(addrSetup2D);
|
||||
// b orig+4
|
||||
program.b(addrOrig + 4);
|
||||
|
||||
|
|
Loading…
Reference in a new issue