(UWP) Buildfix

This commit is contained in:
twinaphex 2019-02-11 23:15:11 +01:00
parent 7f88822853
commit d1a831e6ec
7 changed files with 9 additions and 11 deletions

View File

@ -720,7 +720,7 @@ int retro_vfs_closedir_impl(libretro_vfs_implementation_dir *rdir)
return 0;
}
bool uwp_is_path_accessible_using_standard_io(char *path)
bool uwp_is_path_accessible_using_standard_io(const char *path)
{
char *relative_path_abbrev = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
fill_pathname_abbreviate_special(relative_path_abbrev, path, PATH_MAX_LENGTH * sizeof(char));

View File

@ -258,7 +258,7 @@ void ozone_draw_osk(ozone_handle_t *ozone,
video_frame_info_t *video_info,
const char *label, const char *str)
{
int i;
unsigned i;
const char *text;
char message[2048];
unsigned text_color;

View File

@ -166,7 +166,7 @@ void ozone_draw_sidebar(ozone_handle_t *ozone, video_frame_info_t *video_info)
y = ENTRIES_START_Y - 10;
menu_display_blend_begin(video_info);
for (i = 0; i < ozone->system_tab_end+1; i++)
for (i = 0; i < (unsigned)(ozone->system_tab_end+1); i++)
{
enum msg_hash_enums value_idx;
const char *title = NULL;

View File

@ -725,8 +725,7 @@ switch (id)
void ozone_unload_theme_textures(ozone_handle_t *ozone)
{
int i;
int j;
unsigned i, j;
for (j = 0; j < ozone_themes_count; j++)
{
@ -738,8 +737,7 @@ void ozone_unload_theme_textures(ozone_handle_t *ozone)
bool ozone_reset_theme_textures(ozone_handle_t *ozone)
{
int i;
int j;
unsigned i, j;
char theme_path[255];
bool result = true;

View File

@ -33,11 +33,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.7.5</string>
<string>1.7.6</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.7.5</string>
<string>1.7.6</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIApplicationExitsOnSuspend</key>

View File

@ -27,7 +27,7 @@ extern char uwp_dir_data[PATH_MAX_LENGTH];
extern char uwp_device_family[128];
void uwp_open_broadfilesystemaccess_settings(void);
bool uwp_is_path_accessible_using_standard_io(char *path);
bool uwp_is_path_accessible_using_standard_io(const char *path);
bool uwp_drive_exists(const char *path);
char* uwp_trigger_picker(void);

View File

@ -477,7 +477,7 @@ void App::OnPackageInstalling(PackageCatalog^ sender, PackageInstallingEventArgs
{
char msg[512];
snprintf(msg, sizeof(msg), "Package \"%ls\" installed, a restart may be necessary", args->Package->DisplayName->Data());
runloop_msg_queue_push(msg, 1, 5 * 60, false);
runloop_msg_queue_push(msg, 1, 5 * 60, false, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
}
}