mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Redo Reformat and cleanup.
Rider EAP was having a bug interpreting .editorconfig that didn't generate the code style as we wanted. This is now done with Rider-stable.
This commit is contained in:
@@ -37,8 +37,7 @@ static partial class AppleCommon
|
||||
{
|
||||
internal static string GetBootBlockInformation(byte[] bbSector, Encoding encoding)
|
||||
{
|
||||
if(bbSector is null ||
|
||||
bbSector.Length < 0x100)
|
||||
if(bbSector is null || bbSector.Length < 0x100)
|
||||
return null;
|
||||
|
||||
BootBlock bb = Marshal.ByteArrayToStructureBigEndian<BootBlock>(bbSector);
|
||||
@@ -60,9 +59,9 @@ static partial class AppleCommon
|
||||
if((bb.bbVersion & 0x2000) > 0)
|
||||
{
|
||||
sb.
|
||||
AppendFormat(
|
||||
Localization.System_heap_will_be_extended_by_0_bytes_and_a_1_fraction_of_the_available_RAM,
|
||||
bb.bbSysHeapExtra, bb.bbSysHeapFract).AppendLine();
|
||||
AppendFormat(Localization.System_heap_will_be_extended_by_0_bytes_and_a_1_fraction_of_the_available_RAM,
|
||||
bb.bbSysHeapExtra, bb.bbSysHeapFract).
|
||||
AppendLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -94,10 +93,12 @@ static partial class AppleCommon
|
||||
AppendLine();
|
||||
|
||||
sb.AppendFormat(Localization.Startup_screen_filename_0,
|
||||
StringHandlers.PascalToString(bb.bbScreenName, encoding)).AppendLine();
|
||||
StringHandlers.PascalToString(bb.bbScreenName, encoding)).
|
||||
AppendLine();
|
||||
|
||||
sb.AppendFormat(Localization.First_program_to_execute_at_boot_0,
|
||||
StringHandlers.PascalToString(bb.bbHelloName, encoding)).AppendLine();
|
||||
StringHandlers.PascalToString(bb.bbHelloName, encoding)).
|
||||
AppendLine();
|
||||
|
||||
sb.AppendFormat(Localization.Clipboard_filename_0, StringHandlers.PascalToString(bb.bbScrapName, encoding)).
|
||||
AppendLine();
|
||||
|
||||
Reference in New Issue
Block a user