Skip to content

Commit

Permalink
megadrive: implement overclocking (#1523)
Browse files Browse the repository at this point in the history
* megadrive: implement overclocking
  • Loading branch information
barbudreadmon authored Jul 25, 2023
1 parent 1266b0f commit 7ca1e5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/burn/drv/megadrive/megadrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4659,6 +4659,9 @@ INT32 MegadriveFrame()

for (INT32 y=0; y<lines; y++) {

if (y > lines_vis && nBurnCPUSpeedAdjust > 0x100)
SekRunM68k((INT32)((INT64)CYCLES_M68K_LINE * (nBurnCPUSpeedAdjust - 0x100) / 0x0100));

Scanline = y;

if (y < lines_vis) {
Expand Down

0 comments on commit 7ca1e5f

Please sign in to comment.