An emulator, assembler, and disassembler for the Sega Game Gear
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
356 B

  1. /* Copyright (C) 2014 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. Released under the terms of the MIT License. See LICENSE for details. */
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include "errors.h"
  6. /* Called after an out-of-memory error. Prints a message and dies. */
  7. void out_of_memory() {
  8. printf("Error: couldn't allocate memory.\n");
  9. exit(1);
  10. }