diff options
Diffstat (limited to 'system/arch_init.c')
| -rw-r--r-- | system/arch_init.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/system/arch_init.c b/system/arch_init.c index b1baed18a3..e85736884c 100644 --- a/system/arch_init.c +++ b/system/arch_init.c @@ -24,18 +24,7 @@ #include "qemu/osdep.h" #include "system/arch_init.h" -#ifdef TARGET_SPARC -int graphic_width = 1024; -int graphic_height = 768; -int graphic_depth = 8; -#elif defined(TARGET_M68K) -int graphic_width = 800; -int graphic_height = 600; -int graphic_depth = 8; -#else -int graphic_width = 800; -int graphic_height = 600; -int graphic_depth = 32; -#endif - -const uint32_t arch_type = QEMU_ARCH; +bool qemu_arch_available(unsigned qemu_arch_mask) +{ + return qemu_arch_mask & QEMU_ARCH; +} |