mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
fixed read/write byte
This commit is contained in:
parent
50e33e1a79
commit
131d751d20
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ namespace Cosmos.Hardware
|
||||||
#region Write to IO space
|
#region Write to IO space
|
||||||
public static unsafe void Write8(uint address, byte data)
|
public static unsafe void Write8(uint address, byte data)
|
||||||
{
|
{
|
||||||
ushort* pointer = (ushort*)address;
|
byte* pointer = (byte*)address;
|
||||||
*pointer = data;
|
*pointer = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue