Re: [hatari-devel] Hatari screen dialog regression |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
> Am 11.08.2025 um 01:11 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>: > > Hi, > > On 10.8.2025 20.53, Andreas Grabher wrote: >> Just to make sure this arrived. > > No, I never received the mail. > >>> Von: Andreas Grabher <andreas_g86@xxxxxxxxxx> >>>> Am 07.08.2025 um 22:21 schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>: >>> I just checked the patches to see what would need to be merged into Previous. I recognised that configuration handling is done in paths.c now. I don’t think it is a good idea to increase dependencies this way. It would be better to create a function in configuration like Configuration_GetScreenShotDir() which returns either the default or the user selected directory. That way paths.c can be untouched and code structure is more logical. >>> >>> Hatari has a quite good code structure, but it seems to get eroded more and more over time. I think it is a win-win situation if portability is taken into account when editing the source files. (H)Atari-specific code should not go into common files. > > Could you propose a patch? > > > - Eero > I appended the requested patch. You know that your code structure has improved if the amount of includes is reduced.
Attachment:
paths_fix.diff
Description: Binary data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |