mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 02:29:49 +00:00
Fix build with NO_INLINE_MEMORY_ACCESS set
This commit is contained in:
parent
830bf0f65c
commit
6c65ae370e
@ -37,27 +37,27 @@ addrbank mem_banks[65536];
|
||||
#endif
|
||||
|
||||
#ifdef NO_INLINE_MEMORY_ACCESS
|
||||
__inline__ uae_u32 longget (uaecptr addr)
|
||||
uae_u32 longget (uaecptr addr)
|
||||
{
|
||||
return call_mem_get_func (get_mem_bank (addr).lget, addr);
|
||||
}
|
||||
__inline__ uae_u32 wordget (uaecptr addr)
|
||||
uae_u32 wordget (uaecptr addr)
|
||||
{
|
||||
return call_mem_get_func (get_mem_bank (addr).wget, addr);
|
||||
}
|
||||
__inline__ uae_u32 byteget (uaecptr addr)
|
||||
uae_u32 byteget (uaecptr addr)
|
||||
{
|
||||
return call_mem_get_func (get_mem_bank (addr).bget, addr);
|
||||
}
|
||||
__inline__ void longput (uaecptr addr, uae_u32 l)
|
||||
void longput (uaecptr addr, uae_u32 l)
|
||||
{
|
||||
call_mem_put_func (get_mem_bank (addr).lput, addr, l);
|
||||
}
|
||||
__inline__ void wordput (uaecptr addr, uae_u32 w)
|
||||
void wordput (uaecptr addr, uae_u32 w)
|
||||
{
|
||||
call_mem_put_func (get_mem_bank (addr).wput, addr, w);
|
||||
}
|
||||
__inline__ void byteput (uaecptr addr, uae_u32 b)
|
||||
void byteput (uaecptr addr, uae_u32 b)
|
||||
{
|
||||
call_mem_put_func (get_mem_bank (addr).bput, addr, b);
|
||||
}
|
||||
|
@ -88,8 +88,6 @@ extern void map_banks(addrbank *bank, int first, int count);
|
||||
|
||||
#else
|
||||
|
||||
extern uae_u32 alongget(uaecptr addr);
|
||||
extern uae_u32 awordget(uaecptr addr);
|
||||
extern uae_u32 longget(uaecptr addr);
|
||||
extern uae_u32 wordget(uaecptr addr);
|
||||
extern uae_u32 byteget(uaecptr addr);
|
||||
|
Loading…
Reference in New Issue
Block a user