mirror of
https://github.com/open-goal/jak-project
synced 2026-05-29 08:43:08 -04:00
extractor: cleanup, support unicode properly, and add multi-game support (#1609)
* extractor: refactor and cleanup for multi-game support * deps: switch to `ghc::filesystem` as it is utf-8 everywhere by default * extractor: finally working with unicode * unicode: fix unicode cli args on windows in all `main` functions
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include "game/common/str_rpc_types.h"
|
||||
|
||||
namespace decompiler {
|
||||
StrFileReader::StrFileReader(const std::filesystem::path& file_path) {
|
||||
StrFileReader::StrFileReader(const fs::path& file_path) {
|
||||
auto data = file_util::read_binary_file(file_path);
|
||||
ASSERT(data.size() >= SECTOR_SIZE); // must have at least the header sector
|
||||
ASSERT(data.size() % SECTOR_SIZE == 0); // should be multiple of the sector size.
|
||||
|
||||
Reference in New Issue
Block a user