summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7ecc39)
raw | patch | inline | side by side (parent: b7ecc39)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 4 Mar 2017 13:22:57 +0000 (16:22 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Sat, 4 Mar 2017 13:22:57 +0000 (16:22 +0300) |
mps/make.sh | patch | blob | history | |
mps/src/M.java | patch | blob | history | |
mps/src/javax/microedition/lcdui/game/GameCanvas.java | [deleted file] | patch | blob | history |
diff --git a/mps/make.sh b/mps/make.sh
index 3a650504b7e623ed14c3325ccd076b8df1c05d94..c5c0bc0559aad096137ce46f0459e0fe7bbbdea3 100755 (executable)
--- a/mps/make.sh
+++ b/mps/make.sh
-libraryjars $LIBDIR/midpapi20.jar \
-libraryjars $LIBDIR/cldcapi11.jar \
-libraryjars $LIBDIR/microemu-jsr-120.jar \
- -dontshrink -microedition -dontobfuscate \
+ -dontoptimize -dontshrink -microedition -dontobfuscate \
-overloadaggressively -repackageclasses '' -allowaccessmodification \
- -keep public class FW
+ -keep public class FW extends javax.microedition.midlet.MIDlet
rm -rf classes stubs/M.class
diff --git a/mps/src/M.java b/mps/src/M.java
index 38e09a846106b080aa04aea86e4166fbc9f24258..b56e698f1ea7463c965cabf410af4ce2aaf991b1 100644 (file)
--- a/mps/src/M.java
+++ b/mps/src/M.java
public static int KP;
public static int[] IC;
- public M() {}
+ public M() { super(true); }
public static void R() throws Exception {}
public void paint(Graphics g) {}
public void run() {}
diff --git a/mps/src/javax/microedition/lcdui/game/GameCanvas.java b/mps/src/javax/microedition/lcdui/game/GameCanvas.java
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Stub for stub for stubs O_o */
-
-package javax.microedition.lcdui.game;
-
-import javax.microedition.lcdui.*;
-
-public abstract class GameCanvas extends Canvas {}