Archived
1
0

temp fix for handle_interrupt() bug

This commit is contained in:
Erick
2022-02-05 02:41:59 +01:00
committed by GitHub
parent d8063b5c8e
commit 5bf4742be2
+2 -2
View File
@@ -215,13 +215,13 @@ void mem_read(uint16_t address) {
} }
#endif #endif
#ifdef __UNIX //#ifdef __UNIX
void handle_interrupt(int signal) { void handle_interrupt(int signal) {
restore_input_buffering(); restore_input_buffering();
printf("\n"); printf("\n");
exit(-2); exit(-2);
} }
#endif //#endif
int main(int argc, const char* argv[]) { int main(int argc, const char* argv[]) {