mirror of
https://github.com/liquidraver/ZephCore.git
synced 2026-09-17 03:24:20 +00:00
fs revert cleanup
This commit is contained in:
@@ -32,7 +32,7 @@ bool RegionMap::is_name_char(uint8_t c) {
|
||||
}
|
||||
|
||||
bool RegionMap::load(const char* path) {
|
||||
const char* filepath = path ? path : "/lfs/repeater/regions2";
|
||||
const char* filepath = path;
|
||||
|
||||
struct fs_file_t file;
|
||||
fs_file_t_init(&file);
|
||||
@@ -76,7 +76,7 @@ bool RegionMap::load(const char* path) {
|
||||
}
|
||||
|
||||
bool RegionMap::save(const char* path) {
|
||||
const char* filepath = path ? path : "/lfs/repeater/regions2";
|
||||
const char* filepath = path;
|
||||
|
||||
// Remove old file first
|
||||
fs_unlink(filepath);
|
||||
|
||||
Reference in New Issue
Block a user