mirror of
https://github.com/LIV2/WinUAE.git
synced 2025-12-06 00:12:52 +00:00
Do not use direct allocation if uae boot rom is not needed. Direct can conflict with some other expansion in same address space.
This commit is contained in:
parent
4a77c24310
commit
7fabd6e761
@ -540,6 +540,12 @@ static uae_u32 REGPARAM2 uae_puts (TrapContext *ctx)
|
||||
|
||||
void rtarea_init_mem (void)
|
||||
{
|
||||
if (need_uae_boot_rom(&currprefs)) {
|
||||
rtarea_bank.flags &= ~ABFLAG_ALLOCINDIRECT;
|
||||
} else {
|
||||
// not enabled and something else may use same address space
|
||||
rtarea_bank.flags |= ABFLAG_ALLOCINDIRECT;
|
||||
}
|
||||
rtarea_bank.reserved_size = RTAREA_SIZE;
|
||||
rtarea_bank.start = rtarea_base;
|
||||
if (!mapped_malloc (&rtarea_bank)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user