Skip to content

No PAL option/support? #52

@maddin1502

Description

@maddin1502

I can't run PAL roms with correct speed, there is no region option available. Or am I wrong?

I adjusted some code and tried to get PAL working:
`unsigned retro_get_region(void)

  1. /libretro/libretro.cpp (no recognized effect)
    unsigned retro_get_region(void)
    {
    #return RETRO_REGION_NTSC;
    return RETRO_REGION_PAL;
    }

  2. /nes_emu/Nes_Emu.h (video speed is correct with this setting)
    // Number of frames generated per second
    #enum { frame_rate = 60 };
    enum { frame_rate = 50 };

  3. /nes_emu/Nes_Apu.cpp (no recognized effect)
    Nes_Apu::Nes_Apu() :
    square1( &square_synth ),
    square2( &square_synth )
    {
    ...

    #reset( false);
    reset( true );
    }

Option 2 resolves video speed. But now the sound is wrong.... speed is OK, pitch is too low
How can I do it right?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions