fixed read/write byte

This commit is contained in:
smremde_cp 2008-03-12 23:54:53 +00:00
parent 50e33e1a79
commit 131d751d20

View file

@ -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;
}