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

Comparing BasiliskII/src/MacOSX/video_macosx.mm (file contents):
Revision 1.11 by cebix, 2004-01-12T15:29:24Z vs.
Revision 1.12 by nigel, 2004-01-20T23:41:11Z

# Line 1030 | Line 1030 | OSX_monitor::switch_to_current_mode(void
1030                          failure = "Could not get base address of screen";
1031  
1032          }
1033 + #ifdef CGIMAGEREF
1034          // Clean up the old CGImageRef stuff
1035          else if ( display_type == DISPLAY_WINDOW && imageRef )
1036          {
# Line 1048 | Line 1049 | OSX_monitor::switch_to_current_mode(void
1049                  else
1050                          failure = "Could not video_open() requested mode";
1051          }
1052 + #endif
1053          else if ( ! video_open(mode) )
1054                  failure = "Could not video_open() requested mode";
1055  
# Line 1103 | Line 1105 | void VideoInterrupt(void)
1105   void VideoRefresh(void)
1106   {
1107   }
1108 +
1109 +
1110 +
1111 + // Deal with a memory access signal referring to the screen.
1112 + // For now, just ignore
1113 + bool Screen_fault_handler(char *a, char *b)
1114 + {
1115 + //      NSLog(@"Got a screen fault %lx %lx", a, b);
1116 + //      [output setNeedsDisplay: YES];
1117 +        return YES;
1118 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines