File caprice32.dif of Package caprice32
Index: cap32.cpp
===================================================================
--- cap32.cpp.orig
+++ cap32.cpp
@@ -4148,7 +4148,7 @@ void loadConfiguration (void)
strcpy(CPC.sdump_file, chPath);
}
- strncpy(chPath, chAppPath, sizeof(chPath)-5);
+ strncpy(chPath, "__ROMDIR__/caprice32", sizeof(chPath)-5);
strcat(chPath, "/rom");
getConfigValueString(chFileName, "rom", "rom_path", CPC.rom_path, sizeof(CPC.rom_path)-1, chPath);
for (int iRomNum = 0; iRomNum < 16; iRomNum++) { // loop for ROMs 0-15