Skip to content

Commit 99b7346

Browse files
committed
GdromProtocol/packetCommand: putU2 short
1 parent f08610d commit 99b7346

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

classes/sega/dreamcast/gdrom/GdromProtocol.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ public static void packetCommand(GdromCommandPacketInterface command, boolean en
4242
int i1 = command.getByte(i * 2 + 1);
4343
// little endian
4444
int word = ((i1 & 0xff) << 8) | (i0 & 0xff);
45-
//System.out.println(word);
46-
Memory.putU2(Gdrom.data, (byte)word);
45+
Memory.putU2(Gdrom.data, (short)word);
4746
}
4847

4948
/*

0 commit comments

Comments
 (0)