Skip to content

Commit 7bd6fc9

Browse files
committed
gpu.c inline some things
Signed-off-by: Joseph Mattello <[email protected]>
1 parent 465d588 commit 7bd6fc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gpu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ uint8_t GPUReadByte(uint32_t offset, uint32_t who/*=UNKNOWN*/)
296296
}
297297

298298
// GPU word access (read)
299-
uint16_t GPUReadWord(uint32_t offset, uint32_t who/*=UNKNOWN*/)
299+
INLINE uint16_t GPUReadWord(uint32_t offset, uint32_t who/*=UNKNOWN*/)
300300
{
301301
if ((offset >= GPU_WORK_RAM_BASE) && (offset < GPU_WORK_RAM_BASE+0x1000))
302302
{
@@ -325,7 +325,7 @@ uint16_t GPUReadWord(uint32_t offset, uint32_t who/*=UNKNOWN*/)
325325
}
326326

327327
// GPU dword access (read)
328-
uint32_t GPUReadLong(uint32_t offset, uint32_t who/*=UNKNOWN*/)
328+
INLINE uint32_t GPUReadLong(uint32_t offset, uint32_t who/*=UNKNOWN*/)
329329
{
330330
if (offset >= 0xF02000 && offset <= 0xF020FF)
331331
{

0 commit comments

Comments
 (0)