Skip to content

Commit

Permalink
Merge pull request #25 from tidotua/patch-1
Browse files Browse the repository at this point in the history
Update InfoNES.cpp
  • Loading branch information
fhoedemakers authored Jun 15, 2024
2 parents b26bc26 + d9a880c commit 0c52586
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infones/InfoNES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,9 @@ int __not_in_flash_func(InfoNES_HSync)()
InfoNES_DrawLine();

} else {
InfoNES_MemorySet(WorkLine, 0, 640);
// Array out of bounds, WorkLine size is equals to NES_DISP_WIDTH << 1 = 512
//InfoNES_MemorySet(WorkLine, 0, 640);
InfoNES_MemorySet(WorkLine, 0, NES_DISP_WIDTH << 1);
}
InfoNES_PostDrawLine(PPU_Scanline, false);
// if (PPU_Scanline >=240) {
Expand Down

0 comments on commit 0c52586

Please sign in to comment.