mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-17 19:21:30 +12:00
Fiix std::filesystem::path being bad
This commit is contained in:
parent
5993dc4759
commit
eb536ee147
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ int main (int argc, char *argv[]) {
|
||||||
|
|
||||||
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "SimplerTri.elf");
|
auto elfPath = std::filesystem::current_path() / (argc > 1 ? argv[1] : "SimplerTri.elf");
|
||||||
if (!emu.loadELF(elfPath)) {
|
if (!emu.loadELF(elfPath)) {
|
||||||
Helpers::panic("Failed to load ELF file: %s", elfPath.c_str());
|
// For some reason just .c_str() doesn't show the proper path
|
||||||
|
Helpers::panic("Failed to load ELF file: %s", elfPath.string().c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
emu.run();
|
emu.run();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue