musashi: fix build on newer gcc

This commit is contained in:
notaz 2017-09-12 01:25:26 +03:00
parent 61c4e5117a
commit 0104fd873b

View file

@ -1623,7 +1623,7 @@ INLINE void m68ki_stack_frame_buserr(uint sr)
/* Format 8 stack frame (68010). /* Format 8 stack frame (68010).
* 68010 only. This is the 29 word bus/address error frame. * 68010 only. This is the 29 word bus/address error frame.
*/ */
void m68ki_stack_frame_1000(uint pc, uint sr, uint vector) INLINE void m68ki_stack_frame_1000(uint pc, uint sr, uint vector)
{ {
/* VERSION /* VERSION
* NUMBER * NUMBER
@ -1677,7 +1677,7 @@ void m68ki_stack_frame_1000(uint pc, uint sr, uint vector)
* if the error happens at an instruction boundary. * if the error happens at an instruction boundary.
* PC stacked is address of next instruction. * PC stacked is address of next instruction.
*/ */
void m68ki_stack_frame_1010(uint sr, uint vector, uint pc) INLINE void m68ki_stack_frame_1010(uint sr, uint vector, uint pc)
{ {
/* INTERNAL REGISTER */ /* INTERNAL REGISTER */
m68ki_push_16(0); m68ki_push_16(0);
@ -1724,7 +1724,7 @@ void m68ki_stack_frame_1010(uint sr, uint vector, uint pc)
* if the error happens during instruction execution. * if the error happens during instruction execution.
* PC stacked is address of instruction in progress. * PC stacked is address of instruction in progress.
*/ */
void m68ki_stack_frame_1011(uint sr, uint vector, uint pc) INLINE void m68ki_stack_frame_1011(uint sr, uint vector, uint pc)
{ {
/* INTERNAL REGISTERS (18 words) */ /* INTERNAL REGISTERS (18 words) */
m68ki_push_32(0); m68ki_push_32(0);
@ -1968,7 +1968,7 @@ m68k_read_memory_8(0x00ffff01);
/* Service an interrupt request and start exception processing */ /* Service an interrupt request and start exception processing */
void m68ki_exception_interrupt(uint int_level) INLINE void m68ki_exception_interrupt(uint int_level)
{ {
uint vector; uint vector;
uint sr; uint sr;