mirror of
https://github.com/libretro/gambatte-libretro.git
synced 2024-11-23 16:00:06 +00:00
Update libgambatte/libretro/libretro.cpp
This commit is contained in:
parent
99c01e286a
commit
07fd2932d5
@ -181,10 +181,16 @@ bool retro_load_game(const struct retro_game_info *info)
|
||||
gb.setDmgPaletteColor(1, 2, rgb32);
|
||||
else if(line.startswith("Sprite%2013="))
|
||||
gb.setDmgPaletteColor(1, 3, rgb32);
|
||||
///...
|
||||
|
||||
}
|
||||
}
|
||||
else if(line.startswith("Sprite%2020="))
|
||||
gb.setDmgPaletteColor(2, 0, rgb32);
|
||||
else if(line.startswith("Sprite%2021="))
|
||||
gb.setDmgPaletteColor(2, 1, rgb32);
|
||||
else if(line.startswith("Sprite%2022="))
|
||||
gb.setDmgPaletteColor(2, 2, rgb32);
|
||||
else if(line.startswith("Sprite%2023="))
|
||||
gb.setDmgPaletteColor(2, 3, rgb32);
|
||||
} // endfor
|
||||
|
||||
palette_file.close();
|
||||
return(false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user