mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-01 17:18:59 +02:00
chained calls for ppc64
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
61fb9a9dba
commit
a55fea2d6c
7 changed files with 32 additions and 25 deletions
3
externals/powah/powah_emit.hpp
vendored
3
externals/powah/powah_emit.hpp
vendored
|
|
@ -366,6 +366,9 @@ struct Context {
|
|||
void LI(GPR const rx, uint32_t value) { ADDI(rx, R0, value); }
|
||||
void LIS(GPR const rx, uint32_t value) { ADDIS(rx, R0, value); }
|
||||
|
||||
void MFLR(GPR const rt) { MFSPR(powah::GPR{8}, rt, powah::GPR{0}); }
|
||||
void MTLR(GPR const rt) { MTSPR(powah::GPR{8}, rt, powah::GPR{0}); }
|
||||
|
||||
void BLR() {
|
||||
base[offset++] = 0x4e800020; //BCLR(R0, CR0, R0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue