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
2 changed files with 4 additions and 2 deletions
|
@ -12,9 +12,11 @@ libretro-sys = "^0.1"
|
||||||
failure = "^0.1"
|
failure = "^0.1"
|
||||||
libloading = "^0.5"
|
libloading = "^0.5"
|
||||||
num_enum = "^0.4"
|
num_enum = "^0.4"
|
||||||
structopt = "^0.3"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# example: sdl2_emulator
|
# example: sdl2_emulator
|
||||||
sdl2 = "^0.32"
|
sdl2 = "^0.32"
|
||||||
crossbeam-channel = "^0.4"
|
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 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...
|
// 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.
|
// which is too late for this constructor to pass along to SDL.
|
||||||
|
|
Loading…
Add table
Reference in a new issue