(MSVC 2010) Buildfix

This commit is contained in:
twinaphex 2019-04-20 05:53:17 +02:00
parent b137616746
commit e35cd80a14
2 changed files with 6 additions and 5 deletions

View File

@ -289,13 +289,14 @@ Testing
uint8_t* cheevos_var_get_memory(const cheevos_var_t* var)
{
uint8_t* memory = NULL;
size_t length = 0;
rarch_system_info_t *system = NULL;
uint8_t *memory = NULL;
size_t length = 0;
if (var->bank_id < 0)
return NULL;
rarch_system_info_t* system = runloop_get_system_info();
system = runloop_get_system_info();
if (system->mmaps.num_descriptors != 0)
{

View File

@ -582,7 +582,7 @@ bool playlist_push(playlist_t *playlist,
if (entry->subsystem_roms)
{
int j;
unsigned j;
const struct string_list *roms = playlist->entries[i].subsystem_roms;
bool unequal = false;
@ -1051,7 +1051,7 @@ void playlist_write_file(playlist_t *playlist)
if (playlist->entries[i].subsystem_roms && playlist->entries[i].subsystem_roms->size > 0)
{
int j;
unsigned j;
JSON_Writer_WriteComma(context.writer);
JSON_Writer_WriteNewLine(context.writer);