teclilla18 / wiicoverflow

Automatically exported from code.google.com/p/wiicoverflow
0 stars 0 forks source link

Codes folder not created #326

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. remove "codes" folder
2. try to use ocarina
3. generated file is in root of SD card

What is the expected output? What do you see instead?
Generated file should be in "codes" folder, they are not. Because of this
the cheats are not working 

What version of the product are you using? On what operating system?
1.0, system menu 4.0

Please provide any additional information below.
Looking at the code in cheats.c, I think you need to make a minor change in
create_gct. You could change

    chdir("/");
    chdir(GCT_PATH);
to
    chdir("/");
    (void) mkdir(GCT_PATH); // create directory if it does not yet exist
    chdir(GCT_PATH);

I cannot test this as I cannot compile the source though

Original issue reported on code.google.com by richard....@gmail.com on 9 Jul 2009 at 11:48

GoogleCodeExporter commented 8 years ago
Thanks for help, will add this!

Original comment by scognito@gmail.com on 9 Jul 2009 at 12:11

GoogleCodeExporter commented 8 years ago
Fixed in r797 / r798 thanks to Richard

Original comment by scognito@gmail.com on 11 Jul 2009 at 10:55