mirror of
https://github.com/open-goal/jak-project
synced 2026-06-06 11:47:44 -04:00
Add the STR RPC to overlord and game code (#134)
* work in progress streaming rpc, simple test is working * actually add the test * debug windows failure * windows fix maybe * windows 2 * use str-load-status * update types
This commit is contained in:
@@ -307,4 +307,12 @@ void MakeISOName(char* dst, const char* src) {
|
||||
}
|
||||
*dst_ptr = 0;
|
||||
}
|
||||
|
||||
void assert_file_exists(const char* path, const char* error_message) {
|
||||
if (!std::filesystem::exists(path)) {
|
||||
fprintf(stderr, "File %s was not found: %s\n", path, error_message);
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace file_util
|
||||
|
||||
@@ -25,4 +25,5 @@ uint32_t crc32(const uint8_t* data, size_t size);
|
||||
uint32_t crc32(const std::vector<uint8_t>& data);
|
||||
void MakeISOName(char* dst, const char* src);
|
||||
void ISONameFromAnimationName(char* dst, const char* src);
|
||||
void assert_file_exists(const char* path, const char* error_message);
|
||||
} // namespace file_util
|
||||
|
||||
Reference in New Issue
Block a user