Skip to content

Commit 2ace103

Browse files
trekawekclaude
andcommitted
Remove leftover debug logging from the fetcher
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1wLWscyUGS7CFwc3CjJR8
1 parent f9043ca commit 2ace103

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

core/src/main/java/eu/rekawek/coffeegb/core/gpu/Fetcher.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
*/
1818
public class Fetcher implements Serializable, Originator<Fetcher> {
1919

20-
public static boolean DBG_PUSH;
21-
2220
public static final int GET_TILE_T1 = 0;
2321
public static final int GET_TILE_T2 = 1;
2422
public static final int GET_TILE_DATA_LOW_T1 = 2;
@@ -225,10 +223,6 @@ public void advance(int position, boolean window, int windowY, boolean duringObj
225223
if (window) {
226224
windowTileX = (windowTileX + 1) & 0x1f;
227225
}
228-
if (DBG_PUSH && r.get(GpuRegister.LY) == 5) {
229-
System.err.printf("PUSH line=%d pos=%d tile=%02x data=%02x%02x win=%d%n",
230-
r.get(GpuRegister.LY), position, tileId, tileData1, tileData2, window ? 1 : 0);
231-
}
232226
fifo.enqueue8Pixels(zip(tileData1, tileData2, tileAttributes.isXflip()), tileAttributes);
233227
firstFetch = false;
234228
state = GET_TILE_T1;

core/src/main/java/eu/rekawek/coffeegb/core/gpu/phase/PixelTransfer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public PixelTransfer(
122122
eu.rekawek.coffeegb.core.cpu.SpeedMode speedMode,
123123
int entryDelay) {
124124
this.entryDelay = entryDelay;
125+
125126
this.r = r;
126127
this.lcdc = lcdc;
127128
this.gbc = gbc;

0 commit comments

Comments
 (0)