fix default pixfmt in sdl2 example, add ffmpeg4 to dev-dependencies in preparation for ffmpeg example
This commit is contained in:
parent
e0e02397a7
commit
3a37efea02
|
@ -12,9 +12,11 @@ libretro-sys = "^0.1"
|
|||
failure = "^0.1"
|
||||
libloading = "^0.5"
|
||||
num_enum = "^0.4"
|
||||
structopt = "^0.3"
|
||||
|
||||
[dev-dependencies]
|
||||
# example: sdl2_emulator
|
||||
sdl2 = "^0.32"
|
||||
crossbeam-channel = "^0.4"
|
||||
structopt = "^0.3"
|
||||
# example: ffmpeg_recorder
|
||||
ffmpeg4 = "*"
|
||||
|
|
|
@ -64,7 +64,7 @@ impl MyEmulator {
|
|||
);
|
||||
|
||||
let mut av_info = retro.get_system_av_info();
|
||||
let pixel_format = sdl2::pixels::PixelFormatEnum::ABGR1555;
|
||||
let pixel_format = sdl2::pixels::PixelFormatEnum::ARGB1555;
|
||||
|
||||
// HACK: some cores don't report this 'til we get an environ call to set_system_av_info...
|
||||
// which is too late for this constructor to pass along to SDL.
|
||||
|
|
Loading…
Reference in New Issue