Browse Source

Allow to quit to TempleOS

master
Alec Murphy 5 months ago
parent
commit
583048aada
  1. 2
      Lib/LibC.HC
  2. 6
      Lib/SDL2.HC

2
Lib/LibC.HC

@ -300,7 +300,7 @@ U0 fwrite() {
Bool @isatty(I64 fd) {
no_warn fd;
return TRUE;
return FALSE;
}
U0 isatty() {

6
Lib/SDL2.HC

@ -482,3 +482,9 @@ U0 SDL_WM_SetCaption() {
debug_print("called: SDL_WM_SetCaption('%s', 0x%08x)\n", p0, p1);
POP_SYSV_REGS
}
U0 SDL_QuitSubSystem() {
TG_Exit;
PaletteSetStd;
_exit();
}
Loading…
Cancel
Save