create melon folder before trying to write modified firmware file
This commit is contained in:
parent
7336217bd8
commit
358f1dfd33
|
@ -159,6 +159,8 @@ namespace BizHawk.Emulation.Cores.Consoles.Nintendo.NDS
|
|||
/// <returns>Returns a path to the new file.</returns>
|
||||
public static string CreateModifiedFirmware(string firmwarePath)
|
||||
{
|
||||
Directory.CreateDirectory("melon");
|
||||
|
||||
const string newPath = "melon/tohash.bin";
|
||||
byte[] bytes = File.ReadAllBytes(firmwarePath);
|
||||
|
||||
|
|
Loading…
Reference in New Issue