Cleanup and update Win32 background issue.
This commit is contained in:
parent
526b5ef901
commit
1d5bd23e7a
6 changed files with 4 additions and 18 deletions
|
@ -15,7 +15,7 @@ https://github.com/dgis/emu48android
|
|||
|
||||
QUICK START
|
||||
|
||||
1. From the left side, slide your finger to open the menu.
|
||||
1. Click on the 3 dots button at the top left (or from the left side, slide your finger to open the menu).
|
||||
2. Touch the "New..." menu item.
|
||||
3. Select a default calculator (or "[Select a Custom KML script folder...]" where you have copied the KML scripts and ROM files (Android 11 may not be able to use the Download folder)).
|
||||
4. And the calculator should now be opened.
|
||||
|
@ -304,7 +304,7 @@ Either use Android Studio:
|
|||
Or in the command line, build the signed APK:
|
||||
* In the root folder, create a keystore.jks file with:
|
||||
** keytool -genkey -keystore ./keystore.jks -keyalg RSA -validity 9125 -alias key0
|
||||
** keytool -genkeypair -v -keystore ./keystore.jks -keyalg RSA -validity 9125 -alias key0
|
||||
** (or keytool -genkeypair -v -keystore ./keystore.jks -keyalg RSA -validity 9125 -alias key0)
|
||||
* create the file ./keystore.properties , with the following properties:
|
||||
storeFile=../keystore.jks
|
||||
storePassword=myPassword
|
||||
|
|
|
@ -40,15 +40,7 @@ android {
|
|||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
// cppFlags '-std=c++11'
|
||||
// cppFlags '-std=gnu99'
|
||||
// cppFlags '-std=c99'
|
||||
// cppFlags '-std=c++11 -std=gnu99'
|
||||
|
||||
// cppFlags '-std=c++11 -Wno-error=implicit-function-declaration'
|
||||
// add_compile_options(-fpermissive)
|
||||
cppFlags '-std=c++11 -fpermissive -Wno-error=incompatible-pointer-types'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +77,6 @@ android {
|
|||
externalNativeBuild {
|
||||
cmake {
|
||||
path file('CMakeLists.txt')
|
||||
//version '3.18.1'
|
||||
}
|
||||
}
|
||||
ndkVersion '25.1.8937393'
|
||||
|
|
|
@ -15,7 +15,7 @@ https://github.com/dgis/emu48android
|
|||
|
||||
QUICK START
|
||||
|
||||
1. From the left side, slide your finger to open the menu.
|
||||
1. Click on the 3 dots button at the top left (or from the left side, slide your finger to open the menu).
|
||||
2. Touch the "New..." menu item.
|
||||
3. Select a default calculator (or "[Select a Custom KML script folder...]" where you have copied the KML scripts and ROM files (Android 11 may not be able to use the Download folder)).
|
||||
4. And the calculator should now be opened.
|
||||
|
|
|
@ -2315,7 +2315,7 @@ void StretchBltInternal(int xDest, int yDest, int wDest, int hDest,
|
|||
// black pixels on a white background.
|
||||
BYTE * destinationPixel = destinationPixelBase + (x >> 3);
|
||||
UINT bitNumber = (UINT) (7 - (x % 8));
|
||||
if(backgroundColor == sourceColor) {
|
||||
if((backgroundColor & 0xFFFFFF) == (sourceColor & 0xFFFFFF)) {
|
||||
*destinationPixel |= (1 << bitNumber); // 1 White
|
||||
} else {
|
||||
*destinationPixel &= ~(1 << bitNumber); // 0 Black
|
||||
|
|
|
@ -1439,7 +1439,6 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
|||
String romFilename = null;
|
||||
for (DocumentFile file : kmlFolderDocumentFile.listFiles()) {
|
||||
String name = file.getName();
|
||||
//if (name != null && name.compareTo(kmlFilename) == 0) {
|
||||
if (name != null && kmlFilename.contains(name)) {
|
||||
try {
|
||||
DocumentFile documentFile = DocumentFile.fromSingleUri(this, file.getUri());
|
||||
|
|
|
@ -27,7 +27,3 @@ allprojects {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
//task clean(type: Delete) {
|
||||
// delete rootProject.buildDir
|
||||
//}
|
||||
|
|
Loading…
Reference in a new issue