CreateDisplay mode "ask" / manual select fails in amiga 68k

Report any Hollywood bugs here
Post Reply
plouf
Posts: 584
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

CreateDisplay mode "ask" / manual select fails in amiga 68k

Post by plouf »

using the same MCVE as previous :)

fi you select manual mode in WinUAE with UAEGFX mode no matter if you choose a 16bit/32bit mode , script fails saying that it is NOT in palette mode and you should select a 16/32 bit screen (which i do)
no problem in aos4 in UAE/UAEGFX and windows 11

Code: Select all

CreateDisplay(2, {Width = 300, Height = 100, X = 10, Y = 10, Title = "", Borderless = True, Fixed = True, Mode = "Ask", Active = True, Hidden = True})
OpenDisplay(2)

Local DisplayMode = GetAttribute(#DISPLAY, 2, #ATTRMODE)

If DisplayMode = #DISPMODE_WINDOWED
	DebugPrint("NOT LOST TEXT")
ElseIf DisplayMode = #DISPMODE_FULLSCREEN
	DebugPrint("LOST TEXT")
EndIf

WaitLeftMouse()
Christos
User avatar
airsoftsoftwair
Posts: 5626
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: CreateDisplay mode "ask" / manual select fails in amiga 68k

Post by airsoftsoftwair »

True, but seems to occur only with Picasso96. Will be fixed.
Post Reply