Curious this fact because i find these lines in the same source file:
Code:
// video options: extract the data stemp = options().video(); if (strcmp(stemp, "d3d") == 0) video_config.mode = VIDEO_MODE_D3D; else if (strcmp(stemp, "auto") == 0) video_config.mode = VIDEO_MODE_D3D; else if (strcmp(stemp, "ddraw") == 0) video_config.mode = VIDEO_MODE_DDRAW; else if (strcmp(stemp, "gdi") == 0) video_config.mode = VIDEO_MODE_GDI; else if (strcmp(stemp, "bgfx") == 0) video_config.mode = VIDEO_MODE_BGFX; else if (strcmp(stemp, "none") == 0) { video_config.mode = VIDEO_MODE_NONE; if (options().seconds_to_run() == 0) osd_printf_warning("Warning: -video none doesn't make much sense without -seconds_to_run\n"); } #if (USE_OPENGL) else if (strcmp(stemp, "opengl") == 0) video_config.mode = VIDEO_MODE_OPENGL; #endif else { osd_printf_warning("Invalid video value %s; reverting to gdi\n", stemp); video_config.mode = VIDEO_MODE_GDI; }
So it's available in MAME. You (and others asking about this option) might want to have a look at: https://github.com/bkaradzic/bgfx Peace.
|