# | Line 142 | Line 142 | static void read_settings(struct LayoutH | |
---|---|---|
142 | * Locale hook - returns string for given ID | |
143 | */ | |
144 | ||
145 | + | #ifdef __GNUC__ |
146 | + | static __saveds __attribute__((regparm(3))) const char *locale_hook_func(struct Hook *hook /*a0*/, void *id /*a1*/, struct LayoutHandle *h /*a2*/) |
147 | + | #else |
148 | static __saveds __regargs const char *locale_hook_func(struct Hook *hook /*a0*/, void *id /*a1*/, struct LayoutHandle *h /*a2*/) | |
149 | + | #endif |
150 | { | |
151 | return GetString((uint32)id); | |
152 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |