• R/O
  • HTTP
  • SSH
  • HTTPS

dtxmaniaxg-verk-git: Commit

DTXManiaXG(Ver.K)4.00Series


Commit MetaInfo

Revisiona9d02ecbdad02623e0a14c5988c74591e73c2f6e (tree)
Zeit2019-09-02 23:06:23
Autorkairera0467 <gennsou76573@gmai...>
Commiterkairera0467

Log Message

#xxxxx DTXMania Rev:71d2824daf5576ba07040f40397d934132ca9e88の修正を適用

Ändern Zusammenfassung

Diff

--- a/DTXManiaプロジェクト/コード/スコア、曲/CDTX.cs
+++ b/DTXManiaプロジェクト/コード/スコア、曲/CDTX.cs
@@ -1653,8 +1653,8 @@ namespace DTXMania
16531653 {
16541654 #region [ CPUコア数の取得 ]
16551655 CWin32.SYSTEM_INFO sysInfo = new CWin32.SYSTEM_INFO();
1656- CWin32.GetSystemInfo( ref sysInfo );
1657- int nCPUCores = (int) sysInfo.dwNumberOfProcessors;
1656+ CWin32.GetSystemInfo( out sysInfo );
1657+ int nCPUCores = (int) sysInfo.dwNumberOfProcessors;
16581658 #endregion
16591659 #region [ BMP読み込み ]
16601660 if ( this.listBMP != null )
--- a/FDK17プロジェクト/コード/00.共通/CWin32.cs
+++ b/FDK17プロジェクト/コード/00.共通/CWin32.cs
@@ -383,8 +383,8 @@ namespace FDK
383383 [DllImport( "user32.dll", CharSet = CharSet.Auto, SetLastError = true )]
384384 public static extern bool SystemParametersInfo( uint uiAction, uint uiParam, IntPtr pvParam, uint fWinIni );
385385 [DllImport( "kernel32.dll" )]
386- public static extern void GetSystemInfo( ref SYSTEM_INFO ptmpsi );
387- [DllImport( "kernel32.dll" )]
386+ public static extern void GetSystemInfo( out SYSTEM_INFO ptmpsi );
387+ [DllImport( "kernel32.dll" )]
388388 internal static extern ExecutionState SetThreadExecutionState( ExecutionState esFlags );
389389
390390
@@ -519,17 +519,17 @@ namespace FDK
519519 [StructLayout( LayoutKind.Sequential )]
520520 public struct SYSTEM_INFO
521521 {
522- public uint dwOemId;
523- public uint dwPageSize;
524- public uint lpMinimumApplicationAddress;
525- public uint lpMaximumApplicationAddress;
526- public uint dwActiveProcessorMask;
527- public uint dwNumberOfProcessors;
528- public uint dwProcessorType;
529- public uint dwAllocationGranularity;
530- public uint dwProcessorLevel;
531- public uint dwProcessorRevision;
532- }
522+ public uint dwOemId;
523+ public uint dwPageSize;
524+ public IntPtr lpMinimumApplicationAddress;
525+ public IntPtr lpMaximumApplicationAddress;
526+ public UIntPtr dwActiveProcessorMask;
527+ public uint dwNumberOfProcessors;
528+ public uint dwProcessorType;
529+ public uint dwAllocationGranularity;
530+ public ushort dwProcessorLevel;
531+ public ushort dwProcessorRevision;
532+ }
533533 public struct BATTERY_REPORTING_SCALE
534534 {
535535 public ulong Granularity;
--- a/FDK17プロジェクト/コード/03.サウンド/CSound.cs
+++ b/FDK17プロジェクト/コード/03.サウンド/CSound.cs
@@ -360,7 +360,7 @@ namespace FDK
360360 {
361361 #region [ CPU論理コア数の取得 (HT含む) ]
362362 CWin32.SYSTEM_INFO sysInfo = new CWin32.SYSTEM_INFO();
363- CWin32.GetSystemInfo(ref sysInfo);
363+ CWin32.GetSystemInfo(out sysInfo);
364364 int nCPUCores = (int)sysInfo.dwNumberOfProcessors;
365365 #endregion
366366
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ
Show on old repository browser