mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-24 17:16:57 +01:00
Added reset message in debug file, fixed bug about currah rom lenght
This commit is contained in:
parent
87dda5fed6
commit
8a63b21260
@ -1726,6 +1726,7 @@ void ResetComputer () {
|
|||||||
|
|
||||||
static int bucle;
|
static int bucle;
|
||||||
|
|
||||||
|
printf("Reset computer\n");
|
||||||
Z80free_reset (&procesador);
|
Z80free_reset (&procesador);
|
||||||
load_rom (ordenador.mode128k);
|
load_rom (ordenador.mode128k);
|
||||||
|
|
||||||
|
@ -492,7 +492,7 @@ void load_rom(char type) {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ordenador.currah_rom_unavailable = 0;
|
ordenador.currah_rom_unavailable = 0;
|
||||||
size=fread(ordenador.currahrom,2024,1,fichero);
|
size=fread(ordenador.currahrom,2048,1,fichero);
|
||||||
fclose(fichero);
|
fclose(fichero);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1644,7 +1644,6 @@ int main(int argc,char *argv[])
|
|||||||
printf("Init Currah microspeech\n");
|
printf("Init Currah microspeech\n");
|
||||||
currah_microspeech_init();
|
currah_microspeech_init();
|
||||||
|
|
||||||
printf("Reset computer\n");
|
|
||||||
ResetComputer();
|
ResetComputer();
|
||||||
|
|
||||||
SDL_Delay(1000);
|
SDL_Delay(1000);
|
||||||
|
Loading…
Reference in New Issue
Block a user