mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -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
|
@ -327,7 +327,7 @@ struct PicoMisc
|
|||
unsigned char eeprom_cycle; // EEPROM cycle number
|
||||
unsigned char eeprom_slave; // EEPROM slave word for X24C02 and better SRAMs
|
||||
unsigned char eeprom_status;
|
||||
unsigned char pad2;
|
||||
unsigned char status; // rapid_ym2612, multi_ym_updates
|
||||
unsigned short dma_xfers; // 18
|
||||
unsigned char eeprom_wb[2]; // EEPROM latch/write buffer
|
||||
unsigned int frame_count; // 1c for movies and idle det
|
||||
|
@ -352,7 +352,7 @@ struct PicoEState
|
|||
struct Pico *Pico;
|
||||
void *PicoMem_vram;
|
||||
void *PicoMem_cram;
|
||||
int *PicoOpt;
|
||||
unsigned int *PicoOpt;
|
||||
unsigned char *Draw2FB;
|
||||
unsigned short HighPal[0x100];
|
||||
};
|
||||
|
@ -705,8 +705,6 @@ void pcd_state_loaded_mem(void);
|
|||
// pico.c
|
||||
extern struct Pico Pico;
|
||||
extern struct PicoMem PicoMem;
|
||||
extern int PicoPadInt[2];
|
||||
extern int emustatus;
|
||||
extern void (*PicoResetHook)(void);
|
||||
extern void (*PicoLineHook)(void);
|
||||
PICO_INTERNAL int CheckDMA(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue