mirror of
https://github.com/libretro/PUAE.git
synced 2025-02-17 06:19:19 +00:00
qemuuaeglue.h: fix problem when compiled with gcc 4.5.4
This commit is contained in:
parent
c0376a8f52
commit
1a3d2fb59b
@ -171,10 +171,14 @@ void portio_list_add(PortioList *piolist,
|
||||
uint32_t addr);
|
||||
void portio_list_del(PortioList *piolist);
|
||||
|
||||
|
||||
typedef struct IORange IORange;
|
||||
typedef struct IORangeOps IORangeOps;
|
||||
|
||||
typedef struct IORange {
|
||||
const IORangeOps *ops;
|
||||
uint64_t base;
|
||||
uint64_t len;
|
||||
} IORange;
|
||||
|
||||
struct IORangeOps {
|
||||
void (*read)(IORange *iorange, uint64_t offset, unsigned width,
|
||||
uint64_t *data);
|
||||
@ -183,12 +187,6 @@ struct IORangeOps {
|
||||
void (*destructor)(IORange *iorange);
|
||||
};
|
||||
|
||||
typedef struct IORange {
|
||||
const IORangeOps *ops;
|
||||
uint64_t base;
|
||||
uint64_t len;
|
||||
} IORange;
|
||||
|
||||
typedef void (IOPortWriteFunc)(void *opaque, uint32_t address, uint32_t data);
|
||||
typedef uint32_t (IOPortReadFunc)(void *opaque, uint32_t address);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user