mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-05-09 04:23:24 -05:00
Fix some compiler warnings
This commit is contained in:
parent
029a5a4cda
commit
ff2ce54e61
|
|
@ -9,7 +9,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void* PTGBSFXHandle;
|
||||
typedef unsigned short PTGBSFXHandle;
|
||||
|
||||
/**
|
||||
* @brief The API's defined here are a thin abstraction layer over the sound engine functions.
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
#include "custom_malloc.h"
|
||||
#include "sound.h"
|
||||
|
||||
#define MACRO_AS_STR_IMPL(x) #x
|
||||
#define MACRO_AS_STR(x) MACRO_AS_STR_IMPL(x)
|
||||
|
||||
/*
|
||||
|
||||
TODO:
|
||||
|
|
@ -350,8 +353,9 @@ static void __attribute__((noinline)) show_intro()
|
|||
#ifndef JPN_ID
|
||||
#error JPN_ID_NOT_DEFINED
|
||||
#endif
|
||||
#pragma message "PTGB_BUILD_LANGUAGE=" PTGB_BUILD_LANGUAGE
|
||||
#pragma message "JPN_ID=" JPN_ID
|
||||
|
||||
#pragma message("PTGB_BUILD_LANGUAGE=" MACRO_AS_STR(PTGB_BUILD_LANGUAGE))
|
||||
#pragma message("JPN_ID=" MACRO_AS_STR(JPN_ID))
|
||||
|
||||
int char_width = (PTGB_BUILD_LANGUAGE == JPN_ID ? 8 : 6);
|
||||
int x = ((240 - (press_start_text_length * char_width)) / 2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user