fix cart size switch (thks wertz)
This commit is contained in:
@@ -1419,12 +1419,12 @@ static int InsertCartridge(const char *filename, CARTRIDGE_image_t *cart)
|
|||||||
#ifdef __LIBRETRO__
|
#ifdef __LIBRETRO__
|
||||||
if(autorun5200){
|
if(autorun5200){
|
||||||
int match=0,i=0;
|
int match=0,i=0;
|
||||||
printf("Hack Libretro:atari800_opt1 ON\n");
|
printf("Hack Libretro:atari800_opt1 ON %d\n",cart->size);
|
||||||
while(a5200_game[i].type!=-1){
|
while(a5200_game[i].type!=-1){
|
||||||
if(crc==a5200_game[i].crc){
|
if(crc==a5200_game[i].crc){
|
||||||
match=1;
|
match=1;
|
||||||
if(a5200_game[i].type==0)
|
if(a5200_game[i].type==0)
|
||||||
switch(cart->size){
|
switch(cart->size*1024){
|
||||||
case 4096:
|
case 4096:
|
||||||
cart->type =CARTRIDGE_5200_4;
|
cart->type =CARTRIDGE_5200_4;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user