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 |
|
{ |
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 |
|
|
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 |
+ |
} |