mirror of
https://github.com/c3d/DB48X-on-DM42.git
synced 2024-09-28 03:20:53 +02:00
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:
parent
6399a1556a
commit
eeacaf6646
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
// ----------------------------------
|
||||
|
|
Loading…
Reference in a new issue