diff --git a/higan/target-tomoko/program/interface.cpp b/higan/target-tomoko/program/interface.cpp index f87ecb9f..b00cd66c 100644 --- a/higan/target-tomoko/program/interface.cpp +++ b/higan/target-tomoko/program/interface.cpp @@ -26,7 +26,7 @@ auto Program::open(uint id, string name, vfs::file::mode mode, bool required) -> auto Program::load(uint id, string name, string type, string_vector options) -> Emulator::Platform::Load { string location, option; if(mediumQueue) { - auto entry = mediumQueue.takeLeft().split(":", 1L); + auto entry = mediumQueue.takeLeft().split("|", 1L); location = entry.right(); if(entry.size() == 2) option = entry.left(); } else { diff --git a/higan/target-tomoko/program/program.cpp b/higan/target-tomoko/program/program.cpp index 74170868..ab6241dc 100644 --- a/higan/target-tomoko/program/program.cpp +++ b/higan/target-tomoko/program/program.cpp @@ -69,7 +69,7 @@ Program::Program(string_vector args) { for(auto& argument : args) { if(argument == "--fullscreen") { presentation->toggleFullScreen(); - } else if(directory::exists(argument.split(":", 1L).right())) { + } else if(directory::exists(argument.split("|", 1L).right())) { if(!argument.transform("\\", "/").endsWith("/")) argument.append("/"); mediumQueue.append(argument); } else if(file::exists(argument)) {