Ver código fonte

core, fix typo
platform, show Mark III as name for japanese SMS

root 2 anos atrás
pai
commit
bcebc0aed9
2 arquivos alterados com 3 adições e 1 exclusões
  1. 1 1
      pico/pico_port.h
  2. 2 0
      platform/common/emu.c

+ 1 - 1
pico/pico_port.h

@@ -38,7 +38,7 @@
 // some well known non-standard macros for detection.
 #if defined __BYTE_ORDER__
 #define	CPU_IS_LE	__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
-#elif defined _BYTE_ORDER
+#elif defined __BYTE_ORDER
 #define	CPU_IS_LE	__BYTE_ORDER == __LITTLE_ENDIAN
 #elif defined __BIG_ENDIAN__ || defined _M_PPC // Windows on PPC was big endian
 #define	CPU_IS_LE	0

+ 2 - 0
platform/common/emu.c

@@ -418,6 +418,8 @@ static void system_announce(void)
 		sys_name = "Master System";
 		if (Pico.m.hardware & 0x1)
 			sys_name = "Game Gear";
+		else if (Pico.m.hardware & 0x4)
+			sys_name = "Mark III";
 #ifdef NO_SMS
 		extra = " [no support]";
 #endif