Simulated sdb must be in regular memory

The original sdb is somewhere in the DMCP

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2022-10-13 07:57:32 +02:00
parent 6399a1556a
commit eeacaf6646
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@
int lcd_needsupdate = 0;
uint8_t lcd_buffer[LCD_SCANLINE * LCD_H / 8];
sys_sdb_t sdb;
void LCD_power_off(int clear)
{

View file

@ -355,7 +355,7 @@ typedef struct {
#define t24 (sdb.pds_t24)
#define fReg (sdb.pds_fReg)
#define sdb (*((sys_sdb_t*)0x10002000))
extern sys_sdb_t sdb;
// ----------------------------------