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