mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 21:38:52 +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
|
||||
public static unsafe void Write8(uint address, byte data)
|
||||
{
|
||||
ushort* pointer = (ushort*)address;
|
||||
byte* pointer = (byte*)address;
|
||||
*pointer = data;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue