diff options
author | 2015-12-12 08:58:57 +0100 | |
---|---|---|
committer | 2015-12-12 08:58:57 +0100 | |
commit | 379581fb3690d92f7e3815534a479823aee8ddcc (patch) | |
tree | 77b4a080ba46ba58bfd8382926580cb2aad5a69d /src/emu/debug/debugcmd.cpp | |
parent | afe2bbe6481acf518e384509586ada235e106c54 (diff) |
macro removal INLINE -> static inline (nw)
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
-rw-r--r-- | src/emu/debug/debugcmd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 08eec1307bd..328079095c9 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -168,7 +168,7 @@ static void execute_dumpkbd(running_machine &machine, int ref, int params, const given address is valid for cheating -------------------------------------------------*/ -INLINE int cheat_address_is_valid(address_space &space, offs_t address) +static inline int cheat_address_is_valid(address_space &space, offs_t address) { return debug_cpu_translate(space, TRANSLATE_READ, &address) && (space.get_write_ptr(address) != nullptr); } @@ -179,7 +179,7 @@ INLINE int cheat_address_is_valid(address_space &space, offs_t address) the current cheat width, if signed -------------------------------------------------*/ -INLINE UINT64 cheat_sign_extend(const cheat_system *cheatsys, UINT64 value) +static inline UINT64 cheat_sign_extend(const cheat_system *cheatsys, UINT64 value) { if (cheatsys->signed_cheat) { @@ -196,7 +196,7 @@ INLINE UINT64 cheat_sign_extend(const cheat_system *cheatsys, UINT64 value) cheat_byte_swap - swap a value -------------------------------------------------*/ -INLINE UINT64 cheat_byte_swap(const cheat_system *cheatsys, UINT64 value) +static inline UINT64 cheat_byte_swap(const cheat_system *cheatsys, UINT64 value) { if (cheatsys->swapped_cheat) { @@ -217,7 +217,7 @@ INLINE UINT64 cheat_byte_swap(const cheat_system *cheatsys, UINT64 value) and swapping if necessary -------------------------------------------------*/ -INLINE UINT64 cheat_read_extended(const cheat_system *cheatsys, address_space &space, offs_t address) +static inline UINT64 cheat_read_extended(const cheat_system *cheatsys, address_space &space, offs_t address) { return cheat_sign_extend(cheatsys, cheat_byte_swap(cheatsys, debug_read_memory(space, address, cheatsys->width, TRUE))); } |