Skip to content

Commit f0bf4f6

Browse files
committed
acorn/acrnsys1: remove use of utf8.h
1 parent dfd738c commit f0bf4f6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/mame/acorn/acrnsys1.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ Note that left-most digit is not wired up, and therefore will always be blank.
4646
#include "machine/timer.h"
4747
#include "imagedev/cassette.h"
4848
#include "speaker.h"
49-
#include "utf8.h"
5049

5150
#include "acrnsys1.lh"
5251

@@ -231,13 +230,13 @@ static INPUT_PORTS_START( acrnsys1 )
231230

232231
PORT_START("X6")
233232
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("E") PORT_CODE(KEYCODE_E) PORT_CHAR('E')
234-
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(UTF8_UP) PORT_CODE(KEYCODE_UP) PORT_CHAR('^')
233+
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(u8"\u2191") PORT_CODE(KEYCODE_UP) PORT_CHAR('^') // U+2191 = ↑
235234
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("6") PORT_CODE(KEYCODE_6) PORT_CHAR('6')
236235
PORT_BIT(0xc7, IP_ACTIVE_LOW, IPT_UNUSED)
237236

238237
PORT_START("X7")
239238
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("F") PORT_CODE(KEYCODE_F) PORT_CHAR('F')
240-
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(UTF8_DOWN) PORT_CODE(KEYCODE_DOWN) PORT_CHAR('V')
239+
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(u8"\u2193") PORT_CODE(KEYCODE_DOWN) PORT_CHAR('V') // U+2193 = ↓
241240
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("7") PORT_CODE(KEYCODE_7) PORT_CHAR('7')
242241
PORT_BIT(0xc7, IP_ACTIVE_LOW, IPT_UNUSED)
243242

0 commit comments

Comments
 (0)