remove external data (#551)

* remove external data

* fix tabs
This commit is contained in:
Isaac0-dev 2023-12-20 19:42:00 +10:00 committed by Agent X
parent 777c41e50d
commit 7868cc26df
4 changed files with 4 additions and 4 deletions

View File

@ -1842,7 +1842,7 @@ void audio_init() {
} }
#ifdef VERSION_EU #ifdef VERSION_EU
// We want the refresh rate to be 60 FPS on PC. // We want the refresh rate to be 60 FPS on PC.
// We shouldn't need to worry about PAL specfic computers anymore. // We shouldn't need to worry about PAL specfic computers anymore.
D_EU_802298D0 = 16.713f; D_EU_802298D0 = 16.713f;
gRefreshRate = 60; gRefreshRate = 60;

View File

@ -140,7 +140,7 @@ u8 gMenuHoldKeyIndex = 0;
u8 gMenuHoldKeyTimer = 0; u8 gMenuHoldKeyTimer = 0;
s32 gDialogResponse = 0; s32 gDialogResponse = 0;
#if (defined(VERSION_JP) || defined(VERSION_SH) || defined(VERSION_EU)) #if defined(VERSION_JP) || defined(VERSION_SH) || defined(VERSION_EU)
#ifdef VERSION_EU #ifdef VERSION_EU
#define CHCACHE_BUFLEN (8 * 8) // EU only converts 8x8 #define CHCACHE_BUFLEN (8 * 8) // EU only converts 8x8
#else #else

View File

@ -216,6 +216,7 @@ static void gfx_update_loaded_texture(uint8_t tile_number, uint32_t size_bytes,
// forward declaration // // forward declaration //
//////////////////////// ////////////////////////
void ext_gfx_run_dl(Gfx* cmd); void ext_gfx_run_dl(Gfx* cmd);
////////////////////////////////// //////////////////////////////////
static unsigned long get_time(void) { static unsigned long get_time(void) {
@ -366,7 +367,7 @@ void gfx_texture_cache_clear(void) {
static bool gfx_texture_cache_lookup(int tile, struct TextureHashmapNode **n, const uint8_t *orig_addr, uint32_t fmt, uint32_t siz) { static bool gfx_texture_cache_lookup(int tile, struct TextureHashmapNode **n, const uint8_t *orig_addr, uint32_t fmt, uint32_t siz) {
size_t hash = (uintptr_t)orig_addr; size_t hash = (uintptr_t)orig_addr;
#define CMPADDR(x, y) x == y #define CMPADDR(x, y) x == y
hash = (hash >> HASH_SHIFT) & HASH_MASK; hash = (hash >> HASH_SHIFT) & HASH_MASK;

View File

@ -28,7 +28,6 @@ struct GfxRenderingAPI *gfx_get_current_rendering_api(void);
void gfx_start_frame(void); void gfx_start_frame(void);
void gfx_run(Gfx *commands); void gfx_run(Gfx *commands);
void gfx_end_frame(void); void gfx_end_frame(void);
void gfx_precache_textures(void);
void gfx_shutdown(void); void gfx_shutdown(void);
void gfx_pc_precomp_shader(uint32_t rgb1, uint32_t alpha1, uint32_t rgb2, uint32_t alpha2, uint32_t flags); void gfx_pc_precomp_shader(uint32_t rgb1, uint32_t alpha1, uint32_t rgb2, uint32_t alpha2, uint32_t flags);