summaryrefslogtreecommitdiff
path: root/src/emulators.rs
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-10-29 09:10:07 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2024-10-29 09:10:07 +1300
commitffb979f9cd7d8029251e5bb244428ddaa6724d04 (patch)
treecd500b1c35966c1aefb2c58c372f8bdb80bcf7ef /src/emulators.rs
parentcbb20c667c8c13fe1d14d1ef146ea0f815e619cc (diff)
downloadbedrock-pc-ffb979f9cd7d8029251e5bb244428ddaa6724d04.zip
Make configuration code less confusing
The unwrap_or for the the dimensions value was to get around the fact that we don't have guaranteed dimensions at this point. It makes it look like something more important is happening though, so instead we just make the config struct mutable and overwrite the dimensions field with the real value when we get access to it.
Diffstat (limited to 'src/emulators.rs')
0 files changed, 0 insertions, 0 deletions