ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp
(Generate patch)

Comparing BasiliskII/src/AmigaOS/prefs_editor_amiga.cpp (file contents):
Revision 1.7 by cebix, 2000-07-06T16:04:24Z vs.
Revision 1.8 by cebix, 2000-07-13T17:45:32Z

# Line 1248 | Line 1248 | static void screen_mode_req(struct Windo
1248  
1249          ULONG id;
1250  
1251 <        if (CyberGfxBase) {
1251 >        if (P96Base) {
1252 >                id = p96RequestModeIDTags(
1253 >                        P96MA_MinDepth, 8,
1254 >                        P96MA_FormatsAllowed, RGBFF_CLUT | RGBFF_R5G5B5 | RGBFF_A8R8G8B8,
1255 >                        TAG_END
1256 >                );
1257 >        } else {
1258                  UWORD model_array[] = {PIXFMT_LUT8, PIXFMT_RGB16, PIXFMT_ARGB32, 0, ~0};
1259                  id = (ULONG) CModeRequestTags(NULL,
1260                          CYBRMREQ_MinDepth, 8,
1261                          CYBRMREQ_CModelArray, (ULONG)model_array,
1262                          TAG_END
1263                  );
1258        } else {
1259                id = p96RequestModeIDTags(
1260                        P96MA_MinDepth, 8,
1261                        P96MA_FormatsAllowed, RGBFF_CLUT | RGBFF_R5G5B5 | RGBFF_A8R8G8B8,
1262                        TAG_END
1263                );
1264          }
1265          LT_UnlockWindow(win);
1266  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines