X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Femu.c;h=58fee619eb9ea645fdf44dbfa7ab21a349782db3;hb=299acadc74705b64b8663f333b52ac405e5a4efa;hp=73ca01bb0bdc9cfe17a6e7f1c0eb3ccb5d2438c5;hpb=efcba75f8a730340df6c1b679a207723f98d1ee6;p=picodrive.git diff --git a/platform/common/emu.c b/platform/common/emu.c index 73ca01b..58fee61 100644 --- a/platform/common/emu.c +++ b/platform/common/emu.c @@ -670,6 +670,16 @@ int emu_WriteConfig(int is_game) } +void emu_writelrom(void) +{ + char cfg[512]; + make_config_cfg(cfg); + config_writelrom(cfg); +#ifndef NO_SYNC + sync(); +#endif +} + #ifndef UIQ3 void emu_textOut8(int x, int y, const char *text) {