mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-25 18:29:41 +00:00
Windows HACK: default to the DIB driver as it looks smoother to me and
doesn't require locking the surfaces, which probably the cause of apparent slowness when using the DirectX backend. This needs to be investigated more
This commit is contained in:
parent
a7da877356
commit
5fbaa95fbc
|
@ -44,3 +44,8 @@ Unix:
|
|||
prevent/allow for non-floppy/CDROM devices
|
||||
- ESD is also available on Solaris
|
||||
- display progress bar during disk file creation in prefs editor
|
||||
|
||||
Windows
|
||||
- main_windows.cpp: undo the SDL/DIB driver trick
|
||||
- video_windows.cpp: implement with DirectX
|
||||
- audio_windows.cpp, scsi_windows.cpp: merge from original Windows version
|
||||
|
|
|
@ -305,6 +305,10 @@ int main(int argc, char **argv)
|
|||
// Load win32 libraries
|
||||
KernelInit();
|
||||
|
||||
// FIXME: default to DIB driver
|
||||
if (getenv("SDL_VIDEODRIVER") == NULL)
|
||||
putenv("SDL_VIDEODRIVER=windib");
|
||||
|
||||
// Initialize SDL system
|
||||
int sdl_flags = 0;
|
||||
#ifdef USE_SDL_VIDEO
|
||||
|
|
Loading…
Reference in New Issue
Block a user