mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
Pass deduplicate one step further
This commit is contained in:
parent
8158bc1ff3
commit
f097e152cc
|
@ -11,4 +11,5 @@ pub(crate) trait Config {
|
|||
pub(crate) trait Image {
|
||||
fn filename(&self) -> String;
|
||||
fn colours(&self) -> Colours;
|
||||
fn deduplicate(&self) -> bool;
|
||||
}
|
||||
|
|
|
@ -47,6 +47,10 @@ impl config::Image for BackgroundGfxOption {
|
|||
fn colours(&self) -> Colours {
|
||||
self.colours
|
||||
}
|
||||
|
||||
fn deduplicate(&self) -> bool {
|
||||
self.deduplicate
|
||||
}
|
||||
}
|
||||
|
||||
impl Parse for BackgroundGfxOption {
|
||||
|
|
Loading…
Reference in a new issue