2022-03-07 19:15:30 +01:00
|
|
|
#ifndef DISPLAY_H
|
|
|
|
#define DISPLAY_H
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-03-19 11:52:39 +01:00
|
|
|
struct IORegistersBackup {
|
2022-03-07 19:15:30 +01:00
|
|
|
u16 dispcnt_non_gameplay;
|
|
|
|
u16 bldcnt_non_gameplay;
|
|
|
|
u16 bldalpha_non_gameplay;
|
|
|
|
u8 winin_h_non_gameplay;
|
|
|
|
u8 winout_l_non_gameplay;
|
|
|
|
u16 bg0cnt_write_only;
|
|
|
|
u16 bg1cnt;
|
|
|
|
u16 bg2cnt;
|
|
|
|
u16 bg3cnt;
|
|
|
|
u16 bg0cnt;
|
|
|
|
};
|
|
|
|
|
2022-07-15 01:54:05 +02:00
|
|
|
void IOWriteRegisters(void);
|
|
|
|
void IOWriteRegistersDuringTransition(void);
|
|
|
|
void IOUpdateDISPCNT(u8 operation, u16 value);
|
2022-03-07 19:15:30 +01:00
|
|
|
|
|
|
|
#endif /* DISPLAY_H */
|