Get rid of some address translation

This commit is contained in:
beeanyew
2021-05-18 19:13:26 +02:00
parent 0884bf6959
commit 5c8eb7ba65
5 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
extern struct Library *A314Base;
ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)";
#define TranslateAddressA314(address) __TranslateAddressA314(A314Base, address)
//ULONG __TranslateAddressA314(__reg("a6") void *, __reg("a0") void *)="\tjsr\t-42(a6)";
#define TranslateAddressA314(address) (ULONG)address
#endif

Binary file not shown.

Binary file not shown.

View File

@@ -1,4 +1,4 @@
with open('a314fs', 'r+b') as f:
with open('../a314fs', 'r+b') as f:
f.seek(0x1c)
b = f.read(4)
f.seek(0x20)

Binary file not shown.