X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=common%2Femu.c;h=58fee619eb9ea645fdf44dbfa7ab21a349782db3;hb=86883f7f8a1f3d0b0542907bef84e40ad127a513;hp=73ca01bb0bdc9cfe17a6e7f1c0eb3ccb5d2438c5;hpb=f11bad75edc8966e9f84b040163cc86e830c46c6;p=libpicofe.git diff --git a/common/emu.c b/common/emu.c index 73ca01b..58fee61 100644 --- a/common/emu.c +++ b/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) {