summarylogtreecommitdiffstats
path: root/previous-romdefault.patch
diff options
context:
space:
mode:
authorRefutationalist2016-02-25 00:44:57 +0900
committerorumin2016-02-25 00:44:57 +0900
commite7f6e961457aace07306235e9ade49c2c98edb22 (patch)
tree149d64c04bc30aa5c294c5affa4c165ded124777 /previous-romdefault.patch
parent598414399f96fca238dd17a6f4e25598637b1328 (diff)
downloadaur-previous-svn.tar.gz
Switch branch to 1.4 and add desktop, icon files.
- uses the recently released 1.4 branch which includes NeXTdimension support and improved 68k emulation - added official icons, and a desktop file - patched to use /usr/share/previous for default rom locations
Diffstat (limited to 'previous-romdefault.patch')
-rw-r--r--previous-romdefault.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/previous-romdefault.patch b/previous-romdefault.patch
new file mode 100644
index 00000000000..9e591ef1bfd
--- /dev/null
+++ b/previous-romdefault.patch
@@ -0,0 +1,29 @@
+diff -Naur previous/src/configuration.c patch.previous/src/configuration.c
+--- previous/src/configuration.c 2016-02-22 10:13:54.149766936 -0800
++++ patch.previous/src/configuration.c 2016-02-22 19:43:31.024100388 -0800
+@@ -416,12 +416,9 @@
+ ConfigureParams.Sound.bEnableSound = true;
+
+ /* Set defaults for Rom */
+- sprintf(ConfigureParams.Rom.szRom030FileName, "%s%cRev_1.0_v41.BIN",
+- Paths_GetWorkingDir(), PATHSEP);
+- sprintf(ConfigureParams.Rom.szRom040FileName, "%s%cRev_2.5_v66.BIN",
+- Paths_GetWorkingDir(), PATHSEP);
+- sprintf(ConfigureParams.Rom.szRomTurboFileName, "%s%cRev_3.3_v74.BIN",
+- Paths_GetWorkingDir(), PATHSEP);
++ sprintf(ConfigureParams.Rom.szRom030FileName, "/usr/share/previous/Rev_1.0_v41.BIN");
++ sprintf(ConfigureParams.Rom.szRom040FileName, "/usr/share/previous/Rev_2.5_v66.BIN");
++ sprintf(ConfigureParams.Rom.szRomTurboFileName, "/usr/share/previous/Rev_3.3_v74.BIN");
+
+
+ /* Set defaults for System */
+@@ -451,8 +448,7 @@
+ ConfigureParams.Dimension.nMemoryBankSize[1] = 4;
+ ConfigureParams.Dimension.nMemoryBankSize[2] = 4;
+ ConfigureParams.Dimension.nMemoryBankSize[3] = 4;
+- sprintf(ConfigureParams.Dimension.szRomFileName, "%s%cdimension_eeprom.bin",
+- Paths_GetWorkingDir(), PATHSEP);
++ sprintf(ConfigureParams.Dimension.szRomFileName, "/usr/share/previous/dimension_eeprom.bin");
+
+ /* Initialize the configuration file name */
+ if (strlen(psHomeDir) < sizeof(sConfigFileName)-13)