From 131d751d20f20eac9dcc2a71b8fdac89e1f4dfad Mon Sep 17 00:00:00 2001 From: smremde_cp <2296c648a83df9531cb573d8dfdead9aa751ab92VfNzPxkR> Date: Wed, 12 Mar 2008 23:54:53 +0000 Subject: [PATCH] fixed read/write byte --- source/Cosmos/Cosmos.Hardware/IOSpace.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Cosmos/Cosmos.Hardware/IOSpace.cs b/source/Cosmos/Cosmos.Hardware/IOSpace.cs index 75c5813fe..548aa36b8 100644 --- a/source/Cosmos/Cosmos.Hardware/IOSpace.cs +++ b/source/Cosmos/Cosmos.Hardware/IOSpace.cs @@ -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; }