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

Comparing BasiliskII/src/video.cpp (file contents):
Revision 1.11 by cebix, 2001-06-28T21:19:59Z vs.
Revision 1.12 by gbeauche, 2001-06-28T21:36:46Z

# Line 39 | Line 39
39  
40  
41   // List of supported video modes
42 < vector<video_mode> VideoModes;
42 > std::vector<video_mode> VideoModes;
43  
44   // Description of the main monitor
45   monitor_desc VideoMonitor;
# Line 98 | Line 98 | static std::vector<video_mode>::const_it
98   static video_depth max_depth_of_resolution(uint32 id)
99   {
100          video_depth m = VDEPTH_1BIT;
101 <        vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
101 >        std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
102          while (i != end) {
103                  if (i->depth > m)
104                          m = i->depth;
# Line 114 | Line 114 | static video_depth max_depth_of_resoluti
114  
115   static void get_size_of_resolution(uint32 id, uint32 &x, uint32 &y)
116   {
117 <        vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
117 >        std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
118          while (i != end) {
119                  if (i->resolution_id == id) {
120                          x = i->x;
# Line 581 | Line 581 | int16 VideoDriverStatus(uint32 pb, uint3
581                          uint16 mode = ReadMacInt16(param + csDepthMode);
582                          D(bug(" GetVideoParameters %04x/%08x\n", mode, id));
583  
584 <                        vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
584 >                        std::vector<video_mode>::const_iterator i = VideoModes.begin(), end = VideoModes.end();
585                          while (i != end) {
586                                  if (DepthToAppleMode(i->depth) == mode && i->resolution_id == id) {
587                                          uint32 vp = ReadMacInt32(param + csVPBlockPtr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines