fix virtu build with analyzers

This commit is contained in:
Morilli 2025-07-07 15:21:25 +02:00
parent 8486b56395
commit fa77b408ff
4 changed files with 11 additions and 11 deletions

View File

@ -4,10 +4,10 @@
{ {
// read Device Select' address $C0nX; n = slot number + 8 // read Device Select' address $C0nX; n = slot number + 8
int ReadIoRegionC0C0(int address); int ReadIoRegionC0C0(int address);
// read I/O Select' address $CsXX; s = slot number // read I/O Select' address $CsXX; s = slot number
int ReadIoRegionC1C7(int address); int ReadIoRegionC1C7(int address);
// read I/O Strobe' address $C800-$CFFF // read I/O Strobe' address $C800-$CFFF
int ReadIoRegionC8CF(int address); int ReadIoRegionC8CF(int address);
@ -16,7 +16,7 @@
// write I/O Select' address $CsXX; s = slot number // write I/O Select' address $CsXX; s = slot number
void WriteIoRegionC1C7(int address, int data); void WriteIoRegionC1C7(int address, int data);
// write I/O Strobe' address $C800-$CFFF // write I/O Strobe' address $C800-$CFFF
void WriteIoRegionC8CF(int address, int data); void WriteIoRegionC8CF(int address, int data);
} }

View File

@ -2214,7 +2214,7 @@ namespace Jellyfish.Virtu
private Action<int, byte> _writeIoRegionC3C3; private Action<int, byte> _writeIoRegionC3C3;
private Action<int, byte> _writeIoRegionC8CF; private Action<int, byte> _writeIoRegionC8CF;
private Action<int, byte> _writeRomRegionD0FF; private Action<int, byte> _writeRomRegionD0FF;
public Action<uint> ReadCallback; public Action<uint> ReadCallback;
public Action<uint> WriteCallback; public Action<uint> WriteCallback;
public Action<uint> ExecuteCallback; public Action<uint> ExecuteCallback;

View File

@ -1,7 +1,7 @@
using System.Reflection; using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("Virtu")] [assembly: AssemblyTitle("Virtu")]
@ -13,8 +13,8 @@ using System.Runtime.InteropServices;
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from // to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type. // COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
@ -24,11 +24,11 @@ using System.Runtime.InteropServices;
// Version information for an assembly consists of the following four values: // Version information for an assembly consists of the following four values:
// //
// Major Version // Major Version
// Minor Version // Minor Version
// Build Number // Build Number
// Revision // Revision
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyVersion("1.0.0.0")]

View File

@ -507,7 +507,7 @@ namespace Jellyfish.Virtu
else else
{ {
// 3 2 1 0 // 3 2 1 0
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// //
// - - - - - - - - 0 0 0 0 0 0 0 0 + + + + + + + + // - - - - - - - - 0 0 0 0 0 0 0 0 + + + + + + + +
// H 1 0 H 6 5 4 3 2 1 0 H 1 0 // H 1 0 H 6 5 4 3 2 1 0 H 1 0
@ -565,7 +565,7 @@ namespace Jellyfish.Virtu
else else
{ {
// 3 2 1 0 // 3 2 1 0
// 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
// //
// - - - - - - - - 0 0 0 0 0 0 0 0 + + + + + + + + // - - - - - - - - 0 0 0 0 0 0 0 0 + + + + + + + +
// X 1 0 X 6 5 4 3 2 1 0 X 1 0 // X 1 0 X 6 5 4 3 2 1 0 X 1 0