Added CpuFastSet stub
This commit is contained in:
parent
9b7aa3cee7
commit
5b98d5d406
|
@ -0,0 +1 @@
|
|||
void __attribute__((naked)) cpufastset(void *source, void *dest, int mode) {}
|
|
@ -1,5 +1,6 @@
|
|||
typedef unsigned char byte;
|
||||
#define QUESTION_MARK 0x1F;
|
||||
#define CPUFASTSET_FILL (0x1000000)
|
||||
|
||||
unsigned short *tile_offset = (unsigned short*)0x30051EC;
|
||||
unsigned short *palette_mask = (unsigned short*)0x3005228;
|
||||
|
@ -19,3 +20,5 @@ extern const byte m2_nybbles_to_bits[];
|
|||
extern const byte *m2_font_table[];
|
||||
extern const byte m2_font_heights[];
|
||||
extern unsigned short const *m2_widths_table[];
|
||||
|
||||
extern void cpufastset(void *source, void *dest, int mode);
|
||||
|
|
|
@ -579,6 +579,7 @@ m2_enemy_attributes:
|
|||
//==============================================================================
|
||||
|
||||
.org 0x80FCE6C
|
||||
.include "syscalls.asm"
|
||||
.include "m2-vwf.asm"
|
||||
.include "m2-vwf-entries.asm"
|
||||
.include "m2-formatting.asm"
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
cpufastset:
|
||||
swi 0xC
|
||||
bx lr
|
Loading…
Reference in New Issue