Port #3335 and #3373 from Citra: "Small SDL fixes" and "Print the actual error preventing SDL from working" (#637)

* Port #3335 and #3373 from Citra

* Fixup: Use the new logging placeholders
This commit is contained in:
Tobias 2018-07-12 18:26:27 +02:00 committed by bunnei
parent 4f41ffdd41
commit 316b933a31
2 changed files with 4 additions and 6 deletions

View file

@ -22,10 +22,8 @@
#include "yuzu_cmd/config.h"
#include "yuzu_cmd/emu_window/emu_window_sdl2.h"
#ifdef _MSC_VER
#include <getopt.h>
#else
#include <getopt.h>
#ifndef _MSC_VER
#include <unistd.h>
#endif