Fix png graphics load / display on AArch64
This is mostly kang from AOSP resources.c for loading png files into RAM, but for ease of compatibility we retained the older gr_surface data types throughout and ensured that we retain support for alpha blended png files. Change-Id: Ieea552173d3bfe885460407be73088bbad75663f
This commit is contained in:
+1
-1
@@ -1745,7 +1745,7 @@ bool TWPartition::Backup_DD(string backup_folder) {
|
||||
|
||||
Full_FileName = backup_folder + "/" + Backup_FileName;
|
||||
|
||||
Command = "dd if=" + Actual_Block_Device + " of='" + Full_FileName + "'" + " bs=" + DD_BS + "c count=1";
|
||||
Command = "dd if=" + Actual_Block_Device + " of='" + Full_FileName + "'" + " bs=" + DD_BS + " count=1";
|
||||
LOGINFO("Backup command: '%s'\n", Command.c_str());
|
||||
TWFunc::Exec_Cmd(Command);
|
||||
if (TWFunc::Get_File_Size(Full_FileName) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user