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

Comparing BasiliskII/src/main.cpp (file contents):
Revision 1.12 by cebix, 2002-03-19T14:25:50Z vs.
Revision 1.13 by cebix, 2002-04-25T11:00:30Z

# Line 176 | Line 176 | bool InitAll(void)
176          // Set default video mode in XPRAM
177          XPRAM[0x56] = 0x42;     // 'B'
178          XPRAM[0x57] = 0x32;     // '2'
179 <        XPRAM[0x58] = DepthToAppleMode(VideoMonitor.mode.depth);
179 >        const monitor_desc &main_monitor = *VideoMonitors[0];
180 >        XPRAM[0x58] = main_monitor.depth_to_apple_mode(main_monitor.get_current_mode().depth);
181          XPRAM[0x59] = 0;
182  
183   #if EMULATED_68K

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines