Hourglass doesn't set all pointer palette entries
Jon Abbott (1421) 2651 posts |
When turning the Hourglass on, only palette entry 3 is being passed through to GraphicsV. Entries 1 and 2 are missing. *Pointer 1 sends all three entries okay and I’m not seeing any problems with any custom pointers in games etc. |
Jon Abbott (1421) 2651 posts |
Repro
|
Jon Abbott (1421) 2651 posts |
ProgramPointer in the Hourglass Module is only programming the pointer colours that change, which may explain the issue. Lines 775 to 777 possibly need removing to resolve this bug? Is the VSync wait at line 778/779 actually required? |
Jon Abbott (1421) 2651 posts |
A possible workaround for this is to turn the pointer on and then off in Service_ModeChange. Essentially, Hourglass isn’t aware when the video driver changes and consequently doesn’t know the palette has been reset. |
Jeffrey Lee (213) 6048 posts |
More correctly, the GraphicsV driver isn’t notified of the current pointer colours when a new driver is selected. Which I should have fixed a few days ago (via the change to InitialiseMode): https://www.riscosopen.org/viewer/revisions/logs?ident=1517771877-507299.html |