diff options
author | Helge Deller <deller@gmx.de> | 2023-06-21 16:46:59 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-21 16:46:59 +0200 |
commit | 5bddafeaf61fa11f4902598e1aeb075968a29a6d (patch) | |
tree | 1f1c414c69eadccc60bac146b39db3ed7491fae6 | |
parent | 1cfbe76ff625fce9ed5991f7e13d80ffec900f40 (diff) | |
download | seabios-hppa-5bddafeaf61fa11f4902598e1aeb075968a29a6d.zip seabios-hppa-5bddafeaf61fa11f4902598e1aeb075968a29a6d.tar.gz seabios-hppa-5bddafeaf61fa11f4902598e1aeb075968a29a6d.tar.bz2 |
stirom: Don't initialize graphics twice
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/parisc/stirom.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parisc/stirom.c b/src/parisc/stirom.c index b128551..4c41d7c 100644 --- a/src/parisc/stirom.c +++ b/src/parisc/stirom.c @@ -3582,6 +3582,10 @@ void sti_rom_init(void) struct font *font_ptr, *font_next, *font_start; int i; + /* STI ROM already initialized? */ + if (sti_proc_rom.font_start) + return; + sti_rom_size = (_sti_rom_end - _sti_rom_start) / 4096; if (sti_region_list[0].region_desc.length != sti_rom_size) { /* The STI ROM size is wrong. Try to fix it. |