EXTERMINATE SPACES
This commit is contained in:
parent
8f7b01bffe
commit
3ea71a2dda
|
@ -389,7 +389,8 @@ namespace BizHawk.BizInvoke
|
|||
|
||||
il.Emit(OpCodes.Ldarg_0);
|
||||
il.Emit(OpCodes.Ldfld, field);
|
||||
il.EmitCalli(OpCodes.Calli,
|
||||
il.EmitCalli(
|
||||
OpCodes.Calli,
|
||||
nativeCall,
|
||||
returnType == typeof(bool) ? typeof(byte) : returnType, // undo winapi style bool garbage
|
||||
paramLoadInfos.Select(p => p.NativeType).ToArray());
|
||||
|
|
|
@ -61,8 +61,11 @@ namespace BizHawk.BizInvoke
|
|||
AllocationType flAllocationType, MemoryProtection flProtect);
|
||||
|
||||
[DllImport("kernel32.dll", SetLastError = true)]
|
||||
public static extern bool VirtualProtect(UIntPtr lpAddress, UIntPtr dwSize,
|
||||
MemoryProtection flNewProtect, out MemoryProtection lpflOldProtect);
|
||||
public static extern bool VirtualProtect(
|
||||
UIntPtr lpAddress,
|
||||
UIntPtr dwSize,
|
||||
MemoryProtection flNewProtect,
|
||||
out MemoryProtection lpflOldProtect);
|
||||
|
||||
[Flags]
|
||||
public enum AllocationType : uint
|
||||
|
@ -123,9 +126,13 @@ namespace BizHawk.BizInvoke
|
|||
public static extern bool UnmapViewOfFile(IntPtr lpBaseAddress);
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern IntPtr MapViewOfFileEx(IntPtr hFileMappingObject,
|
||||
FileMapAccessType dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow,
|
||||
UIntPtr dwNumberOfBytesToMap, IntPtr lpBaseAddress);
|
||||
public static extern IntPtr MapViewOfFileEx(
|
||||
IntPtr hFileMappingObject,
|
||||
FileMapAccessType dwDesiredAccess,
|
||||
uint dwFileOffsetHigh,
|
||||
uint dwFileOffsetLow,
|
||||
UIntPtr dwNumberOfBytesToMap,
|
||||
IntPtr lpBaseAddress);
|
||||
|
||||
[Flags]
|
||||
public enum FileMapAccessType : uint
|
||||
|
|
|
@ -69,8 +69,7 @@ namespace BizHawk.Bizware.BizwareGL
|
|||
new float[] { 0, g, 0, 0, 0 },
|
||||
new float[] { 0, 0, b, 0, 0 },
|
||||
new float[] { 0, 0, 0, a, 0 },
|
||||
new float[] {0, 0, 0, 0, 1}
|
||||
|
||||
new float[] { 0, 0, 0, 0, 1 },
|
||||
};
|
||||
|
||||
var colorMatrix = new ColorMatrix(colorMatrixElements);
|
||||
|
|
|
@ -295,8 +295,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
Path = Path.GetDirectoryName(path),
|
||||
Filter = Path.GetFileName(path),
|
||||
NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite
|
||||
| NotifyFilters.FileName | NotifyFilters.DirectoryName,
|
||||
NotifyFilter = NotifyFilters.LastAccess | NotifyFilters.LastWrite | NotifyFilters.FileName | NotifyFilters.DirectoryName,
|
||||
EnableRaisingEvents = true
|
||||
};
|
||||
|
||||
|
|
|
@ -747,8 +747,7 @@ namespace BizHawk.Emulation.DiscSystem
|
|||
blobstrings.Add(t);
|
||||
}
|
||||
|
||||
var tBlobs = (from a in tr.ImageFileNamePaths
|
||||
select a).ToList();
|
||||
var tBlobs = (from a in tr.ImageFileNamePaths select a).ToList();
|
||||
|
||||
if (tBlobs.Count < 1)
|
||||
throw new MDSParseException("BLOB Error!");
|
||||
|
|
|
@ -235,10 +235,8 @@ namespace BizHawk.Emulation.DiscSystem
|
|||
EControlQ control = ses.LeadoutTrack.Control;
|
||||
|
||||
//ehhh? CDI?
|
||||
//if(toc.tracks[toc.last_track].valid)
|
||||
// control |= toc.tracks[toc.last_track].control & 0x4;
|
||||
//else if(toc.disc_type == DISC_TYPE_CD_I)
|
||||
// control |= 0x4;
|
||||
// if(toc.tracks[toc.last_track].valid) control |= toc.tracks[toc.last_track].control & 0x4;
|
||||
// else if(toc.disc_type == DISC_TYPE_CD_I) control |= 0x4;
|
||||
control |= (EControlQ)(((int)ses.LastInformationTrack.Control) & 4);
|
||||
|
||||
SubchannelQ sq = new SubchannelQ();
|
||||
|
|
Loading…
Reference in New Issue