mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
Turn width/height into unsigned
This commit is contained in:
parent
4d87772f4a
commit
311c156e08
@ -28,13 +28,13 @@
|
|||||||
#include "video_driver.h"
|
#include "video_driver.h"
|
||||||
#include "video_crt_switch.h"
|
#include "video_crt_switch.h"
|
||||||
|
|
||||||
static int ra_core_width = 0;
|
static unsigned ra_core_width = 0;
|
||||||
static int ra_core_height = 0;
|
static unsigned ra_core_height = 0;
|
||||||
static int ra_tmp_width = 0;
|
static unsigned ra_tmp_width = 0;
|
||||||
static int ra_tmp_height = 0;
|
static unsigned ra_tmp_height = 0;
|
||||||
static int ra_set_core_hz = 0;
|
static unsigned ra_set_core_hz = 0;
|
||||||
static int orig_width = 0;
|
static unsigned orig_width = 0;
|
||||||
static int orig_height = 0;
|
static unsigned orig_height = 0;
|
||||||
static int first_run = 0;
|
static int first_run = 0;
|
||||||
|
|
||||||
static float ra_tmp_core_hz = 0.0f;
|
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
|
/* ra_core_hz float passed from within
|
||||||
* void video_driver_monitor_adjust_system_rates(void) */
|
* void video_driver_monitor_adjust_system_rates(void) */
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
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);
|
void crt_video_restore(void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user