mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 02:55:06 +00:00
osdep: Move default qemu_hw_version() value to a macro
The macro will be used by code that will stop calling qemu_hw_version() at runtime and just need a constant value. Backports commit d494352c2f7818aeba184a8ef757569083740bb2 from qemu
This commit is contained in:
parent
923dcf1cb8
commit
aa3d46ef83
|
@ -207,4 +207,13 @@ void qemu_anon_ram_free(void *ptr, size_t size);
|
|||
*/
|
||||
unsigned long qemu_getauxval(unsigned long type);
|
||||
|
||||
/* Starting on QEMU 2.5, qemu_hw_version() returns "2.5+" by default
|
||||
* instead of QEMU_VERSION, so setting hw_version on MachineClass
|
||||
* is no longer mandatory.
|
||||
*
|
||||
* Do NOT change this string, or it will break compatibility on all
|
||||
* machine classes that don't set hw_version.
|
||||
*/
|
||||
#define QEMU_HW_VERSION "2.5+"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue