twinaphex/genesis-next — comment on commit 62ee45296bd1e23ca9dede6461caa59d0d0f7357
File:  line 0
By twinaphex:

I guess I'll make a diff based on the current trunk in your Google Code repo.

While doing this, I can also have a look at implementing load_rom and load_archive in a way that does not require a modification to loadrom.c.

There are two things I can already mention you could change though -

1. in ym2413.c - there is this line -

#define INLINE static __inline__

create an ifdef around this like this:

#ifndef INLINE
#define INLINE static __inline__
#endif

This is strictly done with MSVC in mind, where 'inline' is not supported for C89 - but _inline as a keyword is. (hence why I make a global define in my MSVC solution /DINLINE=static _inline

2. Remove the stdlib.h include in m68kops.h. This was causing problems with the Linux port on compile time. (probably due to it already being included prior either in shared.h or osd.h.