Skip to content

Commit

Permalink
Stop breaking things! (should not do newline first or XMB Plugin Mana…
Browse files Browse the repository at this point in the history
…ger will die if plugins are removed)
  • Loading branch information
krazynez committed Aug 13, 2024
1 parent a041124 commit 7cb422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/menus/arkMenu/src/browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,11 +395,11 @@ void Browser::installPlugin(){
draw_progress = true;

int fd = sceIoOpen(path_entries[pret+1].name, PSP_O_WRONLY|PSP_O_CREAT|PSP_O_APPEND, 0777);
sceIoWrite(fd, "\n", 1);
sceIoWrite(fd, mode.c_str(), mode.size());
sceIoWrite(fd, ", ", 2);
sceIoWrite(fd, plugin.c_str(), plugin.size());
sceIoWrite(fd, ", on\n", 5);
sceIoWrite(fd, "\n", 1);
sceIoClose(fd);

draw_progress = false;
Expand Down

0 comments on commit 7cb422e

Please sign in to comment.