I'm still unsure what the name should be. Maybe `core` or `core-apps` would make more sense? Anyway, for now retro-core still makes it clearer what it is than retro-run...
27 lines
558 B
C
27 lines
558 B
C
#include <stddef.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#include <rg_system.h>
|
|
|
|
#define AUDIO_SAMPLE_RATE (32000)
|
|
#define AUDIO_BUFFER_LENGTH (AUDIO_SAMPLE_RATE / 50 + 1)
|
|
|
|
extern rg_audio_sample_t audioBuffer[AUDIO_BUFFER_LENGTH];
|
|
|
|
extern rg_video_update_t updates[2];
|
|
extern rg_video_update_t *currentUpdate;
|
|
extern rg_video_update_t *previousUpdate;
|
|
|
|
extern rg_app_t *app;
|
|
|
|
extern uint8_t shared_memory_block_64K[0x10000];
|
|
|
|
void launcher_main();
|
|
void gbc_main();
|
|
void nes_main();
|
|
void pce_main();
|
|
void gw_main();
|
|
void lynx_main();
|
|
void snes_main();
|