NESe (pronounced "Nessie") is a NES emulator based on the e6502 emulator, also written in C with a focus on speed and portability for use on embedded platforms, especially ARM.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

24 linhas
380B

  1. #ifndef NESE_MENU_H_
  2. #define NESE_MENU_H_
  3. #include "cartinfo.h"
  4. #include "action.h"
  5. typedef struct {
  6. int cursor;
  7. int top;
  8. } Menu_State;
  9. typedef struct {
  10. int count;
  11. char** files;
  12. } File_List;
  13. nese_Action run_menu(void*, Menu_State* state, const File_List* files, int x);
  14. nese_Action modal_popup(void*, const char* message, uint32_t color);
  15. #endif // NESE_MENU_H_