mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
rearrange globals
scripted find/replace gives slightly better code on ARM, less unnecessary asm, ~400 bytes saved
This commit is contained in:
parent
759c9d3846
commit
93f9619ed8
47 changed files with 532 additions and 573 deletions
|
@ -131,7 +131,7 @@ static HBITMAP png2hb(const char *fname, int is_480)
|
|||
static void PrepareForROM(void)
|
||||
{
|
||||
unsigned char *rom_data = NULL;
|
||||
int i, ret, show = PicoAHW & PAHW_PICO;
|
||||
int i, ret, show = PicoIn.AHW & PAHW_PICO;
|
||||
|
||||
PicoGetInternal(PI_ROM, (pint_ret_t *) &rom_data);
|
||||
EnableMenuItem(mmain, 2, MF_BYPOSITION|(show ? MF_ENABLED : MF_GRAYED));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue