1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-23 06:02:55 +00:00

Minor icon change

This commit is contained in:
biroder 2023-04-03 17:35:22 +03:00
parent beb290dafb
commit bc91d9f366
5 changed files with 3 additions and 4 deletions

View file

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -102,8 +102,7 @@ impl BuiltinFS {
FSNode::File("builtin_font_0.png", include_bytes!("builtin/builtin_font_0.png")),
FSNode::File("builtin_font_1.png", include_bytes!("builtin/builtin_font_1.png")),
FSNode::File("gamecontrollerdb.txt", include_bytes!("builtin/gamecontrollerdb.txt")),
FSNode::File("icon.bmp", include_bytes!("builtin/icon.bmp")),
FSNode::File("icon2.bmp", include_bytes!("builtin/icon2.bmp")),
FSNode::File("icon.bmp", include_bytes!("../../res/sue.bmp")),
FSNode::File(
"organya-wavetable-doukutsu.bin",
include_bytes!("builtin/organya-wavetable-doukutsu.bin"),

View file

@ -87,7 +87,7 @@ impl GlutinEventLoop {
#[cfg(not(any(target_os = "windows", target_os = "android", target_os = "horizon")))]
{
let mut file = filesystem::open(&ctx, "/builtin/icon2.bmp").unwrap();
let mut file = filesystem::open(&ctx, "/builtin/icon.bmp").unwrap();
let mut buf: Vec<u8> = Vec::new();
file.read_to_end(&mut buf);

View file

@ -182,7 +182,7 @@ impl SDL2EventLoop {
let mut window = win_builder.build().map_err(|e| GameError::WindowError(e.to_string()))?;
#[cfg(not(any(target_os = "windows", target_os = "android", target_os = "horizon")))]
{
let mut file = filesystem::open(&ctx, "/builtin/icon2.bmp").unwrap();
let mut file = filesystem::open(&ctx, "/builtin/icon.bmp").unwrap();
let mut buf: Vec<u8> = Vec::new();
file.read_to_end(&mut buf)?;