From 448c8dc4c177ebd05481a79c0aab426f58d72234 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Mon, 8 Dec 2014 15:34:34 -0600 Subject: 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 --- partition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 6225f221f..d84e48fae 100644 --- a/partition.cpp +++ b/partition.cpp @@ -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) { -- cgit v1.2.3