Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions 32blit-pico/blit_launch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ static std::string get_file_ext(const char *path) {
return ext;
}

#endif

static bool cleanup_duplicates(RawMetadata &meta, uint32_t new_offset) {
bool ret = false;
for(uint32_t off = 0; off < flash_end;) {
Expand Down Expand Up @@ -218,6 +216,8 @@ static bool cleanup_duplicates(RawMetadata &meta, uint32_t new_offset) {
return ret;
}

#endif

// 32blit API

RawMetadata *get_running_game_metadata() {
Expand Down Expand Up @@ -535,6 +535,9 @@ void *get_type_handler_metadata(const char *filetype) {

const char *get_launch_path() {
#ifdef BUILD_LOADER
if(!launch_path[0])
return nullptr;

return launch_path;
#else
return nullptr;
Expand Down
Loading