Turn width/height into unsigned

This commit is contained in:
twinaphex 2018-04-15 18:55:16 +02:00
parent 4d87772f4a
commit 311c156e08
2 changed files with 19 additions and 19 deletions

View File

@ -28,13 +28,13 @@
#include "video_driver.h"
#include "video_crt_switch.h"
static int ra_core_width = 0;
static int ra_core_height = 0;
static int ra_tmp_width = 0;
static int ra_tmp_height = 0;
static int ra_set_core_hz = 0;
static int orig_width = 0;
static int orig_height = 0;
static unsigned ra_core_width = 0;
static unsigned ra_core_height = 0;
static unsigned ra_tmp_width = 0;
static unsigned ra_tmp_height = 0;
static unsigned ra_set_core_hz = 0;
static unsigned orig_width = 0;
static unsigned orig_height = 0;
static int first_run = 0;
static float ra_tmp_core_hz = 0.0f;
@ -230,7 +230,7 @@ static void crt_screen_setup_aspect(int width, int height)
}
void crt_switch_res_core(int width, int height, float hz)
void crt_switch_res_core(unsigned width, unsigned height, float hz)
{
/* ra_core_hz float passed from within
* void video_driver_monitor_adjust_system_rates(void) */

View File

@ -27,7 +27,7 @@
RETRO_BEGIN_DECLS
void crt_switch_res_core(int width, int height, float hz);
void crt_switch_res_core(unsigned width, unsigned height, float hz);
void crt_video_restore(void);