Merge pull request #2 from OPNA2608/fix/macro-typo

Typo fix Mapper{Read,Write}PPU in writeCartridgePPU
This commit is contained in:
Lauchmelder 2021-10-29 21:55:58 +02:00 committed by GitHub
commit 801a2febcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ void writeCartridgeCPU(struct Cartridge* cartridge, Word addr, Byte val)
void writeCartridgePPU(struct Cartridge* cartridge, Word addr, Byte val)
{
MapperReadPPU(cartridge->mapper, addr, val);
MapperWritePPU(cartridge->mapper, addr, val);
}
void getPatternTableTexture(struct Cartridge* cartridge, SDL_Texture* texture, int index)