Blame view

emulateur/epsilon-nofrendo/apps/nes/nofrendo/epsilon/nofrendo_wrapper.h 376 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  #ifndef NOFRENDO_WRAPPER_H
  #define NOFRENDO_WRAPPER_H
  
  #include <stdint.h>
  #include "../bitmap.h"
  
  #ifdef __cplusplus
  #define EXTERNC extern "C"
  class NofrendoWrapper {
  public:
    NofrendoWrapper();
    void run();
  };
  #else
  #define EXTERNC
  #endif
  
  EXTERNC int nofrendo_ticks(void);
  EXTERNC uint64_t readKeyboard();
  EXTERNC void draw(bitmap_t *bitmap, uint16_t *palette);
  
  #endif