Skip to content

Commit

Permalink
feat: support for Chinese paths
Browse files Browse the repository at this point in the history
  • Loading branch information
WillowSauceR authored and WillowSauceR committed Aug 29, 2023
1 parent a9840c2 commit 1a0f741
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ bool init_hooks(void)
void create_plugin_dir(void)
{
// also init global path variables
GetCurrentDirectoryA(260, bds_path);
// GetCurrentDirectoryA(260, bds_path);
strcpy(bds_path, ".");

sprintf(data_path, "%s\\plugins\\MediaPlayer", bds_path);
sprintf(data_path_nbs, "%s\\nbs", data_path);
Expand Down

0 comments on commit 1a0f741

Please sign in to comment.