Updated ViceC64, courtesy of Lubomyr

This commit is contained in:
Sergii Pylypenko
2013-03-04 20:56:15 +02:00
parent 157a63e47f
commit f46c8f3743
15 changed files with 737 additions and 95 deletions

View File

@@ -1003,48 +1003,51 @@ case "$MinimumScreenSize" in
esac
echo Patching project/src/Globals.java
cat project/src/Globals.java | \
sed "s/public static String ApplicationName = .*;/public static String ApplicationName = \"$AppShortName\";/" | \
sed "s/public static final boolean Using_SDL_1_3 = .*;/public static final boolean Using_SDL_1_3 = $UsingSdl13;/" | \
sed "s@public static String DataDownloadUrl = .*@public static String DataDownloadUrl = \"$AppDataDownloadUrl1\";@" | \
sed "s/public static boolean SwVideoMode = .*;/public static boolean SwVideoMode = $SwVideoMode;/" | \
sed "s/public static int VideoDepthBpp = .*;/public static int VideoDepthBpp = $VideoDepthBpp;/" | \
sed "s/public static boolean NeedDepthBuffer = .*;/public static boolean NeedDepthBuffer = $NeedDepthBuffer;/" | \
sed "s/public static boolean NeedStencilBuffer = .*;/public static boolean NeedStencilBuffer = $NeedStencilBuffer;/" | \
sed "s/public static boolean NeedGles2 = .*;/public static boolean NeedGles2 = $NeedGles2;/" | \
sed "s/public static boolean CompatibilityHacksVideo = .*;/public static boolean CompatibilityHacksVideo = $CompatibilityHacks;/" | \
sed "s/public static boolean CompatibilityHacksStaticInit = .*;/public static boolean CompatibilityHacksStaticInit = $CompatibilityHacksStaticInit;/" | \
sed "s/public static boolean CompatibilityHacksTextInputEmulatesHwKeyboard = .*;/public static boolean CompatibilityHacksTextInputEmulatesHwKeyboard = $CompatibilityHacksTextInputEmulatesHwKeyboard;/" | \
sed "s/public static boolean HorizontalOrientation = .*;/public static boolean HorizontalOrientation = $HorizontalOrientation;/" | \
sed "s^public static boolean KeepAspectRatioDefaultSetting = .*^public static boolean KeepAspectRatioDefaultSetting = $SdlVideoResizeKeepAspect;^" | \
sed "s/public static boolean InhibitSuspend = .*;/public static boolean InhibitSuspend = $InhibitSuspend;/" | \
sed "s/public static boolean AppUsesMouse = .*;/public static boolean AppUsesMouse = $AppUsesMouse;/" | \
sed "s/public static boolean AppNeedsTwoButtonMouse = .*;/public static boolean AppNeedsTwoButtonMouse = $AppNeedsTwoButtonMouse;/" | \
sed "s/public static boolean ForceRelativeMouseMode = .*;/public static boolean ForceRelativeMouseMode = $ForceRelativeMouseMode;/" | \
sed "s/public static boolean ShowMouseCursor = .*;/public static boolean ShowMouseCursor = $ShowMouseCursor;/" | \
sed "s/public static boolean AppNeedsArrowKeys = .*;/public static boolean AppNeedsArrowKeys = $AppNeedsArrowKeys;/" | \
sed "s/public static boolean AppNeedsTextInput = .*;/public static boolean AppNeedsTextInput = $AppNeedsTextInput;/" | \
sed "s/public static boolean AppUsesJoystick = .*;/public static boolean AppUsesJoystick = $AppUsesJoystick;/" | \
sed "s/public static boolean AppUsesAccelerometer = .*;/public static boolean AppUsesAccelerometer = $AppUsesAccelerometer;/" | \
sed "s/public static boolean AppUsesGyroscope = .*;/public static boolean AppUsesGyroscope = $AppUsesGyroscope;/" | \
sed "s/public static boolean AppUsesMultitouch = .*;/public static boolean AppUsesMultitouch = $AppUsesMultitouch;/" | \
sed "s/public static boolean NonBlockingSwapBuffers = .*;/public static boolean NonBlockingSwapBuffers = $NonBlockingSwapBuffers;/" | \
sed "s/public static boolean ResetSdlConfigForThisVersion = .*;/public static boolean ResetSdlConfigForThisVersion = $ResetSdlConfigForThisVersion;/" | \
sed "s|public static String DeleteFilesOnUpgrade = .*;|public static String DeleteFilesOnUpgrade = \"$DeleteFilesOnUpgrade\";|" | \
sed "s/public static int AppTouchscreenKeyboardKeysAmount = .*;/public static int AppTouchscreenKeyboardKeysAmount = $AppTouchscreenKeyboardKeysAmount;/" | \
sed "s/public static int AppTouchscreenKeyboardKeysAmountAutoFire = .*;/public static int AppTouchscreenKeyboardKeysAmountAutoFire = $AppTouchscreenKeyboardKeysAmountAutoFire;/" | \
sed "s/public static int StartupMenuButtonTimeout = .*;/public static int StartupMenuButtonTimeout = $StartupMenuButtonTimeout;/" | \
sed "s/public static int AppMinimumRAM = .*;/public static int AppMinimumRAM = $AppMinimumRAM;/" | \
sed "s/public static Settings.Menu HiddenMenuOptions .*;/public static Settings.Menu HiddenMenuOptions [] = { $HiddenMenuOptions1 };/" | \
sed "s@public static Settings.Menu FirstStartMenuOptions .*;@public static Settings.Menu FirstStartMenuOptions [] = { $FirstStartMenuOptions };@" | \
sed "s%public static String ReadmeText = .*%public static String ReadmeText = \"$ReadmeText\";%" | \
sed "s%public static String CommandLine = .*%public static String CommandLine = \"$AppCmdline\";%" | \
sed "s/public static String AdmobPublisherId = .*/public static String AdmobPublisherId = \"$AdmobPublisherId\";/" | \
sed "s/public static String AdmobTestDeviceId = .*/public static String AdmobTestDeviceId = \"$AdmobTestDeviceId\";/" | \
sed "s/public static String AdmobBannerSize = .*/public static String AdmobBannerSize = \"$AdmobBannerSize\";/" | \
sed "s/public static String AppLibraries.*/public static String AppLibraries[] = { $LibrariesToLoad };/" > \
project/src/Globals.java.1
mv -f project/src/Globals.java.1 project/src/Globals.java
sed -i "s/public static String ApplicationName = .*;/public static String ApplicationName = \"$AppShortName\";/" project/src/Globals.java
sed -i "s/public static final boolean Using_SDL_1_3 = .*;/public static final boolean Using_SDL_1_3 = $UsingSdl13;/" project/src/Globals.java
# Work around "Argument list too long" problem when compiling VICE
#sed -i "s@public static String DataDownloadUrl = .*@public static String DataDownloadUrl = \"$AppDataDownloadUrl1\";@" project/src/Globals.java
sed -i "s@public static String\[\] DataDownloadUrl = .*@public static String[] DataDownloadUrl = { ### };@" project/src/Globals.java
echo "$AppDataDownloadUrl1" | tr '^' '\n' | while read URL; do sed -i "s@###@\"$URL\", ###@" project/src/Globals.java ; done
sed -i "s@###@@" project/src/Globals.java
sed -i "s/public static boolean SwVideoMode = .*;/public static boolean SwVideoMode = $SwVideoMode;/" project/src/Globals.java
sed -i "s/public static int VideoDepthBpp = .*;/public static int VideoDepthBpp = $VideoDepthBpp;/" project/src/Globals.java
sed -i "s/public static boolean NeedDepthBuffer = .*;/public static boolean NeedDepthBuffer = $NeedDepthBuffer;/" project/src/Globals.java
sed -i "s/public static boolean NeedStencilBuffer = .*;/public static boolean NeedStencilBuffer = $NeedStencilBuffer;/" project/src/Globals.java
sed -i "s/public static boolean NeedGles2 = .*;/public static boolean NeedGles2 = $NeedGles2;/" project/src/Globals.java
sed -i "s/public static boolean CompatibilityHacksVideo = .*;/public static boolean CompatibilityHacksVideo = $CompatibilityHacks;/" project/src/Globals.java
sed -i "s/public static boolean CompatibilityHacksStaticInit = .*;/public static boolean CompatibilityHacksStaticInit = $CompatibilityHacksStaticInit;/" project/src/Globals.java
sed -i "s/public static boolean CompatibilityHacksTextInputEmulatesHwKeyboard = .*;/public static boolean CompatibilityHacksTextInputEmulatesHwKeyboard = $CompatibilityHacksTextInputEmulatesHwKeyboard;/" project/src/Globals.java
sed -i "s/public static boolean HorizontalOrientation = .*;/public static boolean HorizontalOrientation = $HorizontalOrientation;/" project/src/Globals.java
sed -i "s^public static boolean KeepAspectRatioDefaultSetting = .*^public static boolean KeepAspectRatioDefaultSetting = $SdlVideoResizeKeepAspect;^" project/src/Globals.java
sed -i "s/public static boolean InhibitSuspend = .*;/public static boolean InhibitSuspend = $InhibitSuspend;/" project/src/Globals.java
sed -i "s/public static boolean AppUsesMouse = .*;/public static boolean AppUsesMouse = $AppUsesMouse;/" project/src/Globals.java
sed -i "s/public static boolean AppNeedsTwoButtonMouse = .*;/public static boolean AppNeedsTwoButtonMouse = $AppNeedsTwoButtonMouse;/" project/src/Globals.java
sed -i "s/public static boolean ForceRelativeMouseMode = .*;/public static boolean ForceRelativeMouseMode = $ForceRelativeMouseMode;/" project/src/Globals.java
sed -i "s/public static boolean ShowMouseCursor = .*;/public static boolean ShowMouseCursor = $ShowMouseCursor;/" project/src/Globals.java
sed -i "s/public static boolean AppNeedsArrowKeys = .*;/public static boolean AppNeedsArrowKeys = $AppNeedsArrowKeys;/" project/src/Globals.java
sed -i "s/public static boolean AppNeedsTextInput = .*;/public static boolean AppNeedsTextInput = $AppNeedsTextInput;/" project/src/Globals.java
sed -i "s/public static boolean AppUsesJoystick = .*;/public static boolean AppUsesJoystick = $AppUsesJoystick;/" project/src/Globals.java
sed -i "s/public static boolean AppUsesAccelerometer = .*;/public static boolean AppUsesAccelerometer = $AppUsesAccelerometer;/" project/src/Globals.java
sed -i "s/public static boolean AppUsesGyroscope = .*;/public static boolean AppUsesGyroscope = $AppUsesGyroscope;/" project/src/Globals.java
sed -i "s/public static boolean AppUsesMultitouch = .*;/public static boolean AppUsesMultitouch = $AppUsesMultitouch;/" project/src/Globals.java
sed -i "s/public static boolean NonBlockingSwapBuffers = .*;/public static boolean NonBlockingSwapBuffers = $NonBlockingSwapBuffers;/" project/src/Globals.java
sed -i "s/public static boolean ResetSdlConfigForThisVersion = .*;/public static boolean ResetSdlConfigForThisVersion = $ResetSdlConfigForThisVersion;/" project/src/Globals.java
sed -i "s|public static String DeleteFilesOnUpgrade = .*;|public static String DeleteFilesOnUpgrade = \"$DeleteFilesOnUpgrade\";|" project/src/Globals.java
sed -i "s/public static int AppTouchscreenKeyboardKeysAmount = .*;/public static int AppTouchscreenKeyboardKeysAmount = $AppTouchscreenKeyboardKeysAmount;/" project/src/Globals.java
sed -i "s/public static int AppTouchscreenKeyboardKeysAmountAutoFire = .*;/public static int AppTouchscreenKeyboardKeysAmountAutoFire = $AppTouchscreenKeyboardKeysAmountAutoFire;/" project/src/Globals.java
sed -i "s/public static int StartupMenuButtonTimeout = .*;/public static int StartupMenuButtonTimeout = $StartupMenuButtonTimeout;/" project/src/Globals.java
sed -i "s/public static int AppMinimumRAM = .*;/public static int AppMinimumRAM = $AppMinimumRAM;/" project/src/Globals.java
sed -i "s/public static Settings.Menu HiddenMenuOptions .*;/public static Settings.Menu HiddenMenuOptions [] = { $HiddenMenuOptions1 };/" project/src/Globals.java
sed -i "s@public static Settings.Menu FirstStartMenuOptions .*;@public static Settings.Menu FirstStartMenuOptions [] = { $FirstStartMenuOptions };@" project/src/Globals.java
sed -i "s%public static String ReadmeText = .*%public static String ReadmeText = \"$ReadmeText\";%" project/src/Globals.java
sed -i "s%public static String CommandLine = .*%public static String CommandLine = \"$AppCmdline\";%" project/src/Globals.java
sed -i "s/public static String AdmobPublisherId = .*/public static String AdmobPublisherId = \"$AdmobPublisherId\";/" project/src/Globals.java
sed -i "s/public static String AdmobTestDeviceId = .*/public static String AdmobTestDeviceId = \"$AdmobTestDeviceId\";/" project/src/Globals.java
sed -i "s/public static String AdmobBannerSize = .*/public static String AdmobBannerSize = \"$AdmobBannerSize\";/" project/src/Globals.java
sed -i "s/public static String AppLibraries.*/public static String AppLibraries[] = { $LibrariesToLoad };/" project/src/Globals.java
echo Patching project/jni/Settings.mk
echo '# DO NOT EDIT THIS FILE - it is automatically generated, edit file SettingsTemplate.mk' > project/jni/Settings.mk
@@ -1087,7 +1090,9 @@ rm -rf project/$OUT/local/*/objs*/sdl-*/src/video/SDL_video.o
rm -rf project/$OUT/local/*/objs*/sdl-*/SDL_renderer_gles.o
rm -rf project/$OUT/local/*/objs*/sdl_*
# Do not rebuild several huge libraries that do not depend on SDL version
for LIB in freetype intl jpeg png lua mad stlport tremor xerces xml2; do
for LIB in freetype intl jpeg png lua mad stlport tremor xerces xml2 curl lua mikmod \
boost boost_signals boost_thread boost_filesystem boost_date_time boost_system boost_regex boost_iostreams boost_program_options \
ffmpeg swscale avcodec avdevice avresample avutil avfilter swresample avformat; do
for ARCH in armeabi armeabi-v7a; do
if [ -e "project/$OUT/local/$ARCH/objs*/$LIB" ] ; then
find project/$OUT/local/$ARCH/objs*/$LIB -name "*.o" | xargs touch -c

View File

@@ -188,7 +188,7 @@ class DataDownloader extends Thread
@Override
public void run()
{
String [] downloadFiles = Globals.DataDownloadUrl.split("\\^");
String [] downloadFiles = Globals.DataDownloadUrl;
int total = 0;
int count = 0;
for( int i = 0; i < downloadFiles.length; i++ )
@@ -204,7 +204,7 @@ class DataDownloader extends Thread
( Globals.OptionalDataDownload.length > i && Globals.OptionalDataDownload[i] ) ||
( Globals.OptionalDataDownload.length <= i && downloadFiles[i].indexOf("!") == 0 ) )
{
if( ! DownloadDataFile(downloadFiles[i], DOWNLOAD_FLAG_FILENAME + String.valueOf(i) + ".flag", count+1, total) )
if( ! DownloadDataFile(downloadFiles[i], DOWNLOAD_FLAG_FILENAME + String.valueOf(i) + ".flag", count+1, total, i) )
{
DownloadFailed = true;
return;
@@ -216,7 +216,7 @@ class DataDownloader extends Thread
initParent();
}
public boolean DownloadDataFile(final String DataDownloadUrl, final String DownloadFlagFileName, int downloadCount, int downloadTotal)
public boolean DownloadDataFile(final String DataDownloadUrl, final String DownloadFlagFileName, int downloadCount, int downloadTotal, int downloadIndex)
{
Resources res = Parent.getResources();
@@ -238,7 +238,7 @@ class DataDownloader extends Thread
if( checkFile != null )
{
try {
byte b[] = new byte[ Globals.DataDownloadUrl.getBytes("UTF-8").length + 1 ];
byte b[] = new byte[ Globals.DataDownloadUrl[downloadIndex].getBytes("UTF-8").length + 1 ];
int readed = checkFile.read(b);
String compare = "";
if( readed > 0 )

View File

@@ -32,7 +32,7 @@ class Globals
public static String ApplicationName = "CommanderGenius";
public static String AppLibraries[] = { "sdl-1.2", };
public static final boolean Using_SDL_1_3 = false;
public static String DataDownloadUrl = "Data files are 2 Mb|https://sourceforge.net/projects/libsdl-android/files/CommanderGenius/commandergenius-data.zip/download^High-quality GFX and music - 40 Mb|https://sourceforge.net/projects/libsdl-android/files/CommanderGenius/commandergenius-hqp.zip/download";
public static String[] DataDownloadUrl = { "Data files are 2 Mb|https://sourceforge.net/projects/libsdl-android/files/CommanderGenius/commandergenius-data.zip/download", "High-quality GFX and music - 40 Mb|https://sourceforge.net/projects/libsdl-android/files/CommanderGenius/commandergenius-hqp.zip/download" };
public static int VideoDepthBpp = 16;
public static boolean SwVideoMode = false;
public static boolean NeedDepthBuffer = false;

View File

@@ -453,7 +453,7 @@ class Settings
settingsChanged = true;
if( Globals.OptionalDataDownload == null )
{
String downloads[] = Globals.DataDownloadUrl.split("\\^");
String downloads[] = Globals.DataDownloadUrl;
Globals.OptionalDataDownload = new boolean[downloads.length];
boolean oldFormat = true;
for( int i = 0; i < downloads.length; i++ )
@@ -750,7 +750,7 @@ class Settings
}
void run (final MainActivity p)
{
String [] downloadFiles = Globals.DataDownloadUrl.split("\\^");
String [] downloadFiles = Globals.DataDownloadUrl;
final boolean [] mandatory = new boolean[downloadFiles.length];
AlertDialog.Builder builder = new AlertDialog.Builder(p);

View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Download and patch sources
if [ -e vcmi ]; then
exit 0
else
svn co https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk vcmi && patch -p0 -d vcmi < vcmi-android.diff || exit 1
fi

View File

@@ -0,0 +1,6 @@
vice
vice-v7a
demos
games
list.txt
vice*.tar.gz

File diff suppressed because one or more lines are too long

View File

@@ -5,13 +5,31 @@ LOCAL_PATH=`dirname $0`
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi-v7a/libSDL.so
if [ "$1" = armeabi ]; then
if [ \! -f vice/configure ] ; then
sh -c "cd vice && ./autogen.sh"
fi
if [ \! -f vice/Makefile ] ; then
../setEnvironment.sh sh -c "cd vice && ./configure --host=arm-eabi --without-x --enable-sdlui --with-sdlsound --without-resid"
../setEnvironment.sh sh -c 'cd vice && env toolchain_check=no LIBS='-lsupc++' ./configure --host=arm-linux-androideabi --prefix=. --without-x --enable-sdlui --with-sdlsound --with-resid --without-residfp --disable-ffmpeg'
fi
make -C vice && mv -f vice/src/x64 libapplication.so
make -C vice -j4 && mv -f vice/src/x64 libapplication.so || exit 1
else
if [ \! -f vice-v7a/configure ] ; then
sh -c "cd vice-v7a && ./autogen.sh"
fi
if [ \! -f vice-v7a/Makefile ] ; then
../setEnvironment-armeabi-v7a.sh sh -c 'cd vice-v7a && env toolchain_check=no LIBS="-lsupc++" ac_cv_sizeof_int=4 ./configure --host=arm-linux-androideabi --prefix=. --without-x --enable-sdlui --with-sdlsound --without-resid --with-residfp --disable-ffmpeg' && \
../setEnvironment-armeabi-v7a.sh sh -c 'sed -i "s@^CXXFLAGS =.*@CXXFLAGS = $CXXFLAGS@" vice-v7a/src/resid-fp/Makefile' || exit 1
fi
make -C vice-v7a -j4 && mv -f vice-v7a/src/x64 libapplication-armeabi-v7a.so || exit 1
fi

View File

@@ -0,0 +1,11 @@
#!/bin/sh
# Download and patch sources
if [ -e vice -a -e vice-v7a ]; then
exit 0
else
wget -c "http://sourceforge.net/projects/vice-emu/files/releases/vice-2.4.tar.gz" && \
tar xvf vice-2.4.tar.gz && \
mv vice-2.4 vice && \
patch -d vice -p1 < vice-2.4-android.diff && cp -as `pwd`/vice vice-v7a || exit 1
fi

View File

@@ -0,0 +1,29 @@
#!/bin/sh
rm -f list.txt list2.txt
mkdir -p games demos
for f in `seq 2400` ; do
[ -e games/$f.html ] || { wget -O games/$f.html "http://www.c64.com/games/$f" && sleep 1 || exit 1 ; }
TITLE="$(cat games/$f.html | iconv -f iso-8859-1 -t utf-8 | grep 'property="og:title"' | sed 's/.*content="\([^"]*\)".*/\1/')"
if [ "$TITLE" = "by - C64.COM" -o "$TITLE" = " by - C64.COM" ]; then
continue
fi
echo "$f: $TITLE"
echo "$TITLE|http://www.c64.com/games/download.php?id=$f^" >> list.txt
done
for f in `seq 2400` ; do
[ -e demos/$f.html ] || { wget -O demos/$f.html "http://www.c64.com/demos/demos_show.php?showid=$f" && sleep 1 || exit 1 ; }
TITLE="$(cat demos/$f.html | iconv -f iso-8859-1 -t utf-8 | grep -m 1 -A 1 'title="' | sed 's/.*title="\([^"]*\)".*/\1 by /' | sed 's@.*<br>\([^<]*\)<br>.*@\1@' | tr -d '\n' | sed 's/ [ ]*/ /g')"
if echo "$TITLE" | grep 'Search results per page by' > /dev/null; then
continue
fi
echo "$f: $TITLE"
echo "$TITLE- C64.COM|http://www.c64.com/demos/download.php?id=$f^" >> list.txt
done
sort list.txt > list2.txt
cat list2.txt | tr -d '\n' > list.txt
rm -f list2.txt

View File

@@ -1,2 +0,0 @@
Download VICE from http://sourceforge.net/projects/vice-emu/ ,
put or symlink it here under dir name "vice", and hit build.sh.

View File

@@ -1 +0,0 @@
../../../../../vice

View File

@@ -0,0 +1,569 @@
Only in vice/build: Makefile
Only in vice: confdefs.h
Only in vice: config.log
Only in vice: config.status
diff -u -r vice-2.4/config.sub vice/config.sub
--- vice-2.4/config.sub 2010-09-23 05:22:39.000000000 +0300
+++ vice/config.sub 2013-03-04 20:33:34.561747790 +0200
@@ -1194,7 +1194,7 @@
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+ | -udi* | -eabi* | -androideabi* | -lites* | -ieee* | -go32* | -aux* \
| -chorusos* | -chorusrdb* | -cegcc* \
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
diff -u -r vice-2.4/configure vice/configure
--- vice-2.4/configure 2012-11-02 23:06:04.000000000 +0200
+++ vice/configure 2013-03-04 20:39:33.873744502 +0200
@@ -1453,6 +1453,7 @@
fi
# Check all directory arguments for consistency.
+if false; then
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
@@ -1472,6 +1473,7 @@
esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
+fi
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
Only in vice/data/C128: Makefile
Only in vice/data/C64: Makefile
Only in vice/data/C64DTV: Makefile
Only in vice/data/CBM-II: Makefile
Only in vice/data/DRIVES: Makefile
Only in vice/data/fonts: Makefile
Only in vice/data: Makefile
Only in vice/data/PET: Makefile
Only in vice/data/PLUS4: Makefile
Only in vice/data/PRINTER: Makefile
Only in vice/data/VIC20: Makefile
Only in vice/doc/html: Makefile
Only in vice/doc: Makefile
Only in vice: Makefile
Only in vice/man: Makefile
Only in vice/po: Makefile.in
Only in vice/src/arch/amigaos: .deps
Only in vice/src/arch/amigaos: genintl_h.sh
Only in vice/src/arch/amigaos: Makefile
Only in vice/src/arch/beos: .deps
Only in vice/src/arch/beos: Makefile
Only in vice/src/arch: Makefile
Only in vice/src/arch/msdos: .deps
Only in vice/src/arch/msdos: Makefile
Only in vice/src/arch/os2: .deps
Only in vice/src/arch/os2/dialogs: .deps
Only in vice/src/arch/os2/dialogs: Makefile
Only in vice/src/arch/os2/kbd: .deps
Only in vice/src/arch/os2/kbd: Makefile
Only in vice/src/arch/os2: Makefile
Only in vice/src/arch/os2/snippets: .deps
Only in vice/src/arch/os2/snippets: Makefile
Only in vice/src/arch/os2/vac++: Makefile
diff -u -r vice-2.4/src/arch/sdl/archdep_unix.c vice/src/arch/sdl/archdep_unix.c
--- vice-2.4/src/arch/sdl/archdep_unix.c 2012-10-21 04:20:33.000000000 +0300
+++ vice/src/arch/sdl/archdep_unix.c 2013-03-04 20:33:34.561747790 +0200
@@ -146,18 +146,18 @@
const char *archdep_boot_path(void)
{
- if (boot_path == NULL) {
-#ifdef USE_PROC_SELF_EXE
- /* known from setup in archdep_init_extra() so just reuse it */
- boot_path = lib_stralloc(argv0);
-#else
- boot_path = findpath(argv0, getenv("PATH"), IOUTIL_ACCESS_X_OK);
-#endif
-
- /* Remove the program name. */
- *strrchr(boot_path, '/') = '\0';
- }
-
+// if (boot_path == NULL) {
+//#ifdef USE_PROC_SELF_EXE
+// /* known from setup in archdep_init_extra() so just reuse it */
+// boot_path = lib_stralloc(argv0);
+//#else
+// boot_path = findpath(argv0, getenv("PATH"), IOUTIL_ACCESS_X_OK);
+//#endif
+//
+// /* Remove the program name. */
+// *strrchr(boot_path, '/') = '\0';
+// }
+boot_path = ".";
return boot_path;
}
Only in vice/src/arch/sdl: .deps
Only in vice/src/arch/sdl/dingoo-files: Makefile
diff -u -r vice-2.4/src/arch/sdl/kbd.c vice/src/arch/sdl/kbd.c
--- vice-2.4/src/arch/sdl/kbd.c 2010-09-12 12:35:32.000000000 +0300
+++ vice/src/arch/sdl/kbd.c 2013-03-04 20:33:34.561747790 +0200
@@ -111,6 +111,11 @@
{
int i = 0;
+ if (key==SDLK_F13) {
+ sdl_vkbd_state=!sdl_vkbd_state;
+ if (sdl_vkbd_state==1) sdl_vkbd_activate();
+ }
+
mod &= (KMOD_CTRL|KMOD_SHIFT|KMOD_ALT|KMOD_META);
if (mod) {
Only in vice/src/arch/sdl: Makefile
Only in vice/src/arch/sdl/syllable-files: Makefile
diff -u -r vice-2.4/src/arch/sdl/uimenu.c vice/src/arch/sdl/uimenu.c
--- vice-2.4/src/arch/sdl/uimenu.c 2011-01-26 17:04:18.000000000 +0200
+++ vice/src/arch/sdl/uimenu.c 2013-03-04 20:33:34.561747790 +0200
@@ -750,8 +750,9 @@
if (vsid_mode && (sdl_vsid_state & SDL_VSID_ACTIVE)) {
sdl_vsid_close();
}
-
+#ifndef ANDROID
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+#endif
sdl_menu_state = 1;
ui_check_mouse_cursor();
}
@@ -762,7 +763,9 @@
sdl_menu_state = 0;
ui_check_mouse_cursor();
+#ifndef ANDROID
SDL_EnableKeyRepeat(0, 0);
+#endif
/* Do not resume sound if in warp mode */
resources_get_int("WarpMode", &warp_state);
Only in vice/src/arch/sdl/win32-msvc: Makefile
Only in vice/src/arch/sdl/win32-watcom: Makefile
Only in vice/src/arch/sdl/win64-msvc: Makefile
Only in vice/src/arch/sdl/winmips-msvc: Makefile
Only in vice/src/arch/sdl/xbox: Makefile
diff -u -r vice-2.4/src/arch/unix/archdep.c vice/src/arch/unix/archdep.c
--- vice-2.4/src/arch/unix/archdep.c 2012-10-19 19:40:13.000000000 +0300
+++ vice/src/arch/unix/archdep.c 2013-03-04 20:33:34.565747790 +0200
@@ -117,13 +117,13 @@
const char *archdep_boot_path(void)
{
- if (boot_path == NULL) {
- boot_path = findpath(argv0, getenv("PATH"), IOUTIL_ACCESS_X_OK);
-
- /* Remove the program name. */
- *strrchr(boot_path, '/') = '\0';
- }
-
+// if (boot_path == NULL) {
+// boot_path = findpath(argv0, getenv("PATH"), IOUTIL_ACCESS_X_OK);
+//
+// /* Remove the program name. */
+// *strrchr(boot_path, '/') = '\0';
+// }
+boot_path = ".";
return boot_path;
}
Only in vice/src/arch/unix: .deps
Only in vice/src/arch/unix/gp2x: .deps
Only in vice/src/arch/unix/gp2x: Makefile
Only in vice/src/arch/unix/gp2x/minimal: .deps
Only in vice/src/arch/unix/gp2x/minimal: Makefile
Only in vice/src/arch/unix/gp2x/wiz: .deps
Only in vice/src/arch/unix/gp2x/wiz: Makefile
Only in vice/src/arch/unix/gui: .deps
Only in vice/src/arch/unix/gui: Makefile
Only in vice/src/arch/unix/macosx/cocoa: .deps
Only in vice/src/arch/unix/macosx/cocoa/dialog: .deps
Only in vice/src/arch/unix/macosx/cocoa/dialog: Makefile
Only in vice/src/arch/unix/macosx/cocoa: Makefile
Only in vice/src/arch/unix/macosx/cocoa/menu: .deps
Only in vice/src/arch/unix/macosx/cocoa/menu: Makefile
Only in vice/src/arch/unix/macosx/cocoa/view: .deps
Only in vice/src/arch/unix/macosx/cocoa/view: Makefile
Only in vice/src/arch/unix/macosx: .deps
Only in vice/src/arch/unix/macosx: Makefile
Only in vice/src/arch/unix/macosx/Resources/English.lproj: Makefile
Only in vice/src/arch/unix/macosx/Resources: Makefile
Only in vice/src/arch/unix: Makefile
Only in vice/src/arch/unix/next_open_rhap: vice.info
Only in vice/src/arch/unix/readline: .deps
Only in vice/src/arch/unix/readline: Makefile
diff -u -r vice-2.4/src/arch/unix/socketimpl.h vice/src/arch/unix/socketimpl.h
--- vice-2.4/src/arch/unix/socketimpl.h 2012-09-26 00:12:04.000000000 +0300
+++ vice/src/arch/unix/socketimpl.h 2013-03-04 20:33:34.565747790 +0200
@@ -85,7 +85,7 @@
#endif
#ifndef HAVE_IN_ADDR_T
-typedef unsigned long in_addr_t;
+//typedef unsigned long in_addr_t;
#endif
#endif /* #ifdef HAVE_NETWORK */
Only in vice/src/arch/unix/x11: .deps
Only in vice/src/arch/unix/x11/gnome: .deps
Only in vice/src/arch/unix/x11/gnome: Makefile
Only in vice/src/arch/unix/x11: Makefile
Only in vice/src/arch/unix/x11/xaw: .deps
Only in vice/src/arch/unix/x11/xaw: Makefile
Only in vice/src/arch/unix/x11/xaw/widgets: .deps
Only in vice/src/arch/unix/x11/xaw/widgets: Makefile
Only in vice/src/arch/win32: .deps
Only in vice/src/arch/win32: Makefile
Only in vice/src/arch/win32/utils: .deps
Only in vice/src/arch/win32/utils: Makefile
diff -u -r vice-2.4/src/arch/win32/vice-version.bat vice/src/arch/win32/vice-version.bat
--- vice-2.4/src/arch/win32/vice-version.bat 2012-11-02 23:23:55.000000000 +0200
+++ vice/src/arch/win32/vice-version.bat 2013-03-04 20:40:28.265744002 +0200
@@ -1 +1 @@
-set VICEVERSION=2.4
+set VICEVERSION=2.4
Only in vice/src/arch/win64: Makefile
Only in vice/src/c128: .deps
Only in vice/src/c128: Makefile
Only in vice/src/c64/cart: .deps
Only in vice/src/c64/cart: Makefile
Only in vice/src/c64: .deps
Only in vice/src/c64: Makefile
Only in vice/src/c64dtv: .deps
Only in vice/src/c64dtv: Makefile
Only in vice/src/cbm2: .deps
Only in vice/src/cbm2: Makefile
Only in vice/src: config.h
Only in vice/src/core: .deps
Only in vice/src/core: Makefile
Only in vice/src/crtc: .deps
Only in vice/src/crtc: Makefile
Only in vice/src: .deps
Only in vice/src/diskimage: .deps
Only in vice/src/diskimage: Makefile
Only in vice/src/drive: .deps
Only in vice/src/drive/iec/c64exp: .deps
Only in vice/src/drive/iec/c64exp: Makefile
Only in vice/src/drive/iec: .deps
Only in vice/src/drive/iec: Makefile
Only in vice/src/drive/iec/plus4exp: .deps
Only in vice/src/drive/iec/plus4exp: Makefile
Only in vice/src/drive/iec128dcr: .deps
Only in vice/src/drive/iec128dcr: Makefile
Only in vice/src/drive/iecieee: .deps
Only in vice/src/drive/iecieee: Makefile
Only in vice/src/drive/ieee: .deps
Only in vice/src/drive/ieee: Makefile
Only in vice/src/drive: Makefile
Only in vice/src/drive/tcbm: .deps
Only in vice/src/drive/tcbm: Makefile
Only in vice/src/fileio: .deps
Only in vice/src/fileio: Makefile
Only in vice/src/fsdevice: .deps
Only in vice/src/fsdevice: Makefile
Only in vice/src/gfxoutputdrv: .deps
diff -u -r vice-2.4/src/gfxoutputdrv/ffmpegdrv.c vice/src/gfxoutputdrv/ffmpegdrv.c
--- vice-2.4/src/gfxoutputdrv/ffmpegdrv.c 2012-02-13 21:31:44.000000000 +0200
+++ vice/src/gfxoutputdrv/ffmpegdrv.c 2013-03-04 20:33:34.565747790 +0200
@@ -343,7 +343,7 @@
c = st->codec;
c->codec_id = ffmpegdrv_fmt->audio_codec;
c->codec_type = AVMEDIA_TYPE_AUDIO;
- c->sample_fmt = SAMPLE_FMT_S16;
+ c->sample_fmt = AV_SAMPLE_FMT_S16;
/* put sample parameters */
c->bit_rate = audio_bitrate;
@@ -613,12 +613,7 @@
if (!video_init_done || !audio_init_done)
return 0;
- if ((*ffmpeglib.p_av_set_parameters)(ffmpegdrv_oc, NULL) < 0) {
- log_debug("ffmpegdrv: Invalid output format parameters");
- return -1;
- }
-
- (*ffmpeglib.p_dump_format)(ffmpegdrv_oc, 0, ffmpegdrv_oc->filename, 1);
+ (*ffmpeglib.p_av_dump_format)(ffmpegdrv_oc, 0, ffmpegdrv_oc->filename, 1);
if (video_st && (ffmpegdrv_open_video(ffmpegdrv_oc, video_st) < 0)) {
ui_error(translate_text(IDGS_FFMPEG_CANNOT_OPEN_VSTREAM));
@@ -632,8 +627,8 @@
}
if (!(ffmpegdrv_fmt->flags & AVFMT_NOFILE)) {
- if ((*ffmpeglib.p_url_fopen)(&ffmpegdrv_oc->pb, ffmpegdrv_oc->filename,
- URL_WRONLY) < 0)
+ if ((*ffmpeglib.p_avio_open)(&ffmpegdrv_oc->pb, ffmpegdrv_oc->filename,
+ AVIO_FLAG_WRITE) < 0)
{
ui_error(translate_text(IDGS_FFMPEG_CANNOT_OPEN_S), ffmpegdrv_oc->filename);
screenshot_stop_recording();
@@ -642,7 +637,7 @@
}
- (*ffmpeglib.p_av_write_header)(ffmpegdrv_oc);
+ (*ffmpeglib.p_avformat_write_header)(ffmpegdrv_oc, NULL);
log_debug("ffmpegdrv: Initialized file successfully");
@@ -724,7 +719,7 @@
(*ffmpeglib.p_av_write_trailer)(ffmpegdrv_oc);
if (!(ffmpegdrv_fmt->flags & AVFMT_NOFILE)) {
/* close the output file */
- (*ffmpeglib.p_url_fclose)(ffmpegdrv_oc->pb);
+ (*ffmpeglib.p_avio_close)(ffmpegdrv_oc->pb);
}
}
diff -u -r vice-2.4/src/gfxoutputdrv/ffmpeglib.c vice/src/gfxoutputdrv/ffmpeglib.c
--- vice-2.4/src/gfxoutputdrv/ffmpeglib.c 2011-09-18 16:09:45.000000000 +0300
+++ vice/src/gfxoutputdrv/ffmpeglib.c 2013-03-04 20:33:34.565747790 +0200
@@ -76,6 +76,12 @@
static void *swscale_so = NULL;
#endif
+#ifdef __ANDROID__
+#define GET_SYMBOL_AND_TEST_AVCODEC( _name_ ) lib->p_##_name_ = &_name_;
+#define GET_SYMBOL_AND_TEST_AVFORMAT( _name_ ) lib->p_##_name_ = &_name_;
+#define GET_SYMBOL_AND_TEST_AVUTIL( _name_ ) lib->p_##_name_ = &_name_;
+#define GET_SYMBOL_AND_TEST_SWSCALE( _name_ ) lib->p_##_name_ = &_name_;
+#else
/* macro for getting functionpointers from avcodec */
#define GET_SYMBOL_AND_TEST_AVCODEC( _name_ ) \
lib->p_##_name_ = (_name_##_t) vice_dynlib_symbol(avcodec_so, #_name_ ); \
@@ -107,6 +113,7 @@
log_debug("getting symbol " #_name_ " failed!"); \
return -1; \
}
+#endif
static int check_version(const char *lib_name, void *handle, const char *symbol,
unsigned ver_inc)
@@ -208,13 +215,12 @@
GET_SYMBOL_AND_TEST_AVFORMAT(av_init_packet);
GET_SYMBOL_AND_TEST_AVFORMAT(av_register_all);
GET_SYMBOL_AND_TEST_AVFORMAT(av_new_stream);
- GET_SYMBOL_AND_TEST_AVFORMAT(av_set_parameters);
- GET_SYMBOL_AND_TEST_AVFORMAT(av_write_header);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avformat_write_header);
GET_SYMBOL_AND_TEST_AVFORMAT(av_write_frame);
GET_SYMBOL_AND_TEST_AVFORMAT(av_write_trailer);
- GET_SYMBOL_AND_TEST_AVFORMAT(url_fopen);
- GET_SYMBOL_AND_TEST_AVFORMAT(url_fclose);
- GET_SYMBOL_AND_TEST_AVFORMAT(dump_format);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avio_open);
+ GET_SYMBOL_AND_TEST_AVFORMAT(avio_close);
+ GET_SYMBOL_AND_TEST_AVFORMAT(av_dump_format);
GET_SYMBOL_AND_TEST_AVFORMAT(av_guess_format);
#ifndef HAVE_FFMPEG_SWSCALE
GET_SYMBOL_AND_TEST_AVFORMAT(img_convert);
@@ -240,13 +246,12 @@
lib->p_av_init_packet = NULL;
lib->p_av_register_all = NULL;
lib->p_av_new_stream = NULL;
- lib->p_av_set_parameters = NULL;
- lib->p_av_write_header = NULL;
+ lib->p_avformat_write_header = NULL;
lib->p_av_write_frame = NULL;
lib->p_av_write_trailer = NULL;
- lib->p_url_fopen = NULL;
- lib->p_url_fclose = NULL;
- lib->p_dump_format = NULL;
+ lib->p_avio_open = NULL;
+ lib->p_avio_close = NULL;
+ lib->p_av_dump_format = NULL;
lib->p_av_guess_format = NULL;
#ifndef HAVE_FFMPEG_SWSCALE
lib->p_img_convert = NULL;
diff -u -r vice-2.4/src/gfxoutputdrv/ffmpeglib.h vice/src/gfxoutputdrv/ffmpeglib.h
--- vice-2.4/src/gfxoutputdrv/ffmpeglib.h 2011-10-24 22:06:48.000000000 +0300
+++ vice/src/gfxoutputdrv/ffmpeglib.h 2013-03-04 20:33:34.565747790 +0200
@@ -64,6 +64,12 @@
#define AV_PKT_FLAG_KEY PKT_FLAG_KEY
#endif
+#if LIBAVCODEC_VERSION_MAJOR >= 54
+typedef struct AVIOContext ByteIOContext;
+
+
+#endif
+
/* generic version function */
typedef unsigned (*ffmpeg_version_t) (void);
@@ -80,12 +86,11 @@
typedef void (*av_init_packet_t) (AVPacket *pkt);
typedef void (*av_register_all_t) (void);
typedef AVStream* (*av_new_stream_t) (AVFormatContext*, int);
-typedef int (*av_set_parameters_t) (AVFormatContext*, AVFormatParameters*);
-typedef int (*av_write_header_t) (AVFormatContext*);
+typedef int (*avformat_write_header_t) (AVFormatContext*, AVDictionary **);
typedef int (*av_write_frame_t) (AVFormatContext*, AVPacket*);
typedef int (*av_write_trailer_t) (AVFormatContext*);
-typedef int (*url_fopen_t) (ByteIOContext**, const char*, int);
-typedef int (*url_fclose_t) (ByteIOContext*);
+typedef int (*avio_open_t) (ByteIOContext**, const char*, int);
+typedef int (*avio_close_t) (ByteIOContext*);
typedef void (*dump_format_t) (AVFormatContext *, int, const char*, int);
typedef AVOutputFormat* (*av_guess_format_t) (const char*, const char*, const char*);
typedef int (*img_convert_t) (AVPicture*, int, AVPicture*, int, int, int);
@@ -118,13 +123,12 @@
av_init_packet_t p_av_init_packet;
av_register_all_t p_av_register_all;
av_new_stream_t p_av_new_stream;
- av_set_parameters_t p_av_set_parameters;
- av_write_header_t p_av_write_header;
+ avformat_write_header_t p_avformat_write_header;
av_write_frame_t p_av_write_frame;
av_write_trailer_t p_av_write_trailer;
- url_fopen_t p_url_fopen;
- url_fclose_t p_url_fclose;
- dump_format_t p_dump_format;
+ avio_open_t p_avio_open;
+ avio_close_t p_avio_close;
+ dump_format_t p_av_dump_format;
av_guess_format_t p_av_guess_format;
#ifndef HAVE_FFMPEG_SWSCALE
img_convert_t p_img_convert;
Only in vice/src/gfxoutputdrv: Makefile
Only in vice/src/iecbus: .deps
Only in vice/src/iecbus: Makefile
Only in vice/src/imagecontents: .deps
Only in vice/src/imagecontents: Makefile
Only in vice/src: infocontrib.h
Only in vice/src/lib: Makefile
Only in vice/src/lib/p64: .deps
Only in vice/src/lib/p64: Makefile
diff -u -r vice-2.4/src/log.c vice/src/log.c
--- vice-2.4/src/log.c 2011-04-29 23:04:04.000000000 +0300
+++ vice/src/log.c 2013-03-04 20:33:34.565747790 +0200
@@ -38,6 +38,9 @@
#include "resources.h"
#include "translate.h"
#include "util.h"
+#ifdef __ANDROID__
+#include <android/log.h>
+#endif
static FILE *log_file = NULL;
@@ -303,6 +306,9 @@
rc = -1;
}
+#ifdef __ANDROID__
+ __android_log_vprint(ANDROID_LOG_INFO, "VICE", format, ap);
+#endif
lib_free(logtxt);
return rc;
Only in vice/src: Makefile
Only in vice/src/monitor: .deps
Only in vice/src/monitor: Makefile
Only in vice/src/parallel: .deps
Only in vice/src/parallel: Makefile
Only in vice/src/pet: .deps
Only in vice/src/pet: Makefile
Only in vice/src/platform: .deps
Only in vice/src/platform: Makefile
Only in vice/src/plus4: .deps
Only in vice/src/plus4: Makefile
Only in vice/src/printerdrv: .deps
Only in vice/src/printerdrv: Makefile
Only in vice/src/raster: .deps
Only in vice/src/raster: Makefile
diff -u -r vice-2.4/src/resid/configure vice/src/resid/configure
--- vice-2.4/src/resid/configure 2012-11-02 23:03:29.000000000 +0200
+++ vice/src/resid/configure 2013-03-04 20:41:31.889743422 +0200
@@ -1137,6 +1137,7 @@
fi
# Check all directory arguments for consistency.
+if false; then
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
@@ -1156,6 +1157,7 @@
esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
+fi
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
diff -u -r vice-2.4/src/resid-dtv/configure vice/src/resid-dtv/configure
--- vice-2.4/src/resid-dtv/configure 2012-11-02 23:04:16.000000000 +0200
+++ vice/src/resid-dtv/configure 2013-03-04 20:41:47.569743283 +0200
@@ -1131,6 +1131,7 @@
fi
# Check all directory arguments for consistency.
+if false; then
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
@@ -1150,6 +1151,7 @@
esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
+fi
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
diff -u -r vice-2.4/src/resid-fp/configure vice/src/resid-fp/configure
--- vice-2.4/src/resid-fp/configure 2012-11-02 23:05:05.000000000 +0200
+++ vice/src/resid-fp/configure 2013-03-04 20:41:57.497743185 +0200
@@ -1144,6 +1144,7 @@
fi
# Check all directory arguments for consistency.
+if false; then
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
@@ -1163,6 +1164,7 @@
esac
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
done
+fi
# There might be people who depend on the old broken behavior: `$host'
# used to hold the argument of --host etc.
Only in vice/src/rs232drv: .deps
Only in vice/src/rs232drv: Makefile
Only in vice/src/rtc: .deps
Only in vice/src/rtc: Makefile
Only in vice/src/serial: .deps
Only in vice/src/serial: Makefile
Only in vice/src/sid: .deps
Only in vice/src/sid: Makefile
Only in vice/src/sounddrv: .deps
Only in vice/src/sounddrv: Makefile
Only in vice/src: stamp-h1
Only in vice/src/tape: .deps
Only in vice/src/tape: Makefile
Only in vice/src: translate.h
Only in vice/src: try.tmp
Only in vice/src/userport: .deps
Only in vice/src/userport: Makefile
Only in vice/src/vdc: .deps
Only in vice/src/vdc: Makefile
Only in vice/src/vdrive: .deps
Only in vice/src/vdrive: Makefile
Only in vice/src/vic20/cart: .deps
Only in vice/src/vic20/cart: Makefile
Only in vice/src/vic20: .deps
Only in vice/src/vic20: Makefile
Only in vice/src/vicii: .deps
Only in vice/src/vicii: Makefile
Only in vice/src/viciisc: .deps
Only in vice/src/viciisc: Makefile
Only in vice/src/video: .deps
Only in vice/src/video: Makefile

View File

@@ -1,26 +0,0 @@
diff -ru orig/vice-2.3/src/arch/sdl/uimenu.c vice-2.3/src/arch/sdl/uimenu.c
--- orig/vice-2.3/src/arch/sdl/uimenu.c 2011-02-19 11:33:41.000000000 -0500
+++ vice-2.3/src/arch/sdl/uimenu.c 2011-02-23 09:56:42.000000000 -0500
@@ -750,8 +750,9 @@
if (vsid_mode && (sdl_vsid_state & SDL_VSID_ACTIVE)) {
sdl_vsid_close();
}
-
+#ifndef ANDROID
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
+#endif
sdl_menu_state = 1;
ui_check_mouse_cursor();
}
@@ -762,8 +763,9 @@
sdl_menu_state = 0;
ui_check_mouse_cursor();
+#ifndef ANDROID
SDL_EnableKeyRepeat(0, 0);
-
+#endif
/* Do not resume sound if in warp mode */
resources_get_int("WarpMode", &warp_state);
if (warp_state == 0) {