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.
 
 
 
 
 

23 lines
426 B

  1. /* Copyright (C) 2014-2015 Ben Kurtovic <ben.kurtovic@gmail.com>
  2. Released under the terms of the MIT License. See LICENSE for details. */
  3. #pragma once
  4. #include <stdbool.h>
  5. #include "rom.h"
  6. /* Structs */
  7. typedef struct {
  8. ROM *rom;
  9. bool state;
  10. } GameGear;
  11. /* Functions */
  12. GameGear* gamegear_create();
  13. void gamegear_destroy(GameGear*);
  14. void gamegear_load(GameGear*, ROM*);
  15. void gamegear_power(GameGear*, bool);