I noticed modifying the logical palette only wasn't effective in fullscreen mode so i modified the palette functions to act a little bit differently: the physical palette is only refreshed globally after all locals colors are modified, that should hopefully fix the speed issue as it looks like there's also a vblank wait when the physical palette is modified (that's how it acts on mac).

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@293 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Franck Charlet
2008-10-21 01:44:46 +00:00
parent 2b232bbc48
commit c3182555b9
4 changed files with 65 additions and 112 deletions

View File

@@ -320,7 +320,7 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>F5B1EEB90EAD1BCA00B087B5</string>
<string>F5B1EEBB0EAD20DC00B087B5</string>
<key>history</key>
<array>
<string>F5B19C160EA4D6E8003F4BA4</string>
@@ -543,7 +543,7 @@
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>F5B1EEBA0EAD1BCA00B087B5</string>
<string>F5B1EEBC0EAD20DC00B087B5</string>
<key>history</key>
<array>
<string>F5B19C160EA4D6E8003F4BA4</string>