File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ __errsp:
66
66
pop iy ; restore iy for OS
67
67
push de
68
68
call 0004F0h ; usb_ResetTimers
69
- pop hl ; program return value in hl
69
+ pop hl ; program return value in hl
70
70
ret
71
71
_exit:
72
72
pop de
Original file line number Diff line number Diff line change @@ -2318,8 +2318,8 @@ _Tilemap:
2318
2318
; uint8_t x_res = x_offset/tilemap->tile_width;
2319
2319
; uint8_t y = y_offset/tilemap->tile_height;
2320
2320
;
2321
- ; x_offset = x_offset % tilemap->tile_width;
2322
- ; y_offset = y_offset % tilemap->tile_height;
2321
+ ; x_offset = x_offset% tilemap->tile_width;
2322
+ ; y_offset = y_offset% tilemap->tile_height;
2323
2323
;
2324
2324
; y_draw = tilemap->y_loc-y_offset;
2325
2325
; for(y_tile = 0; y_tile <= tilemap->draw_height; y_tile++) {
@@ -2423,10 +2423,10 @@ DrawTile_SMC =$+1
2423
2423
call 0
2424
2424
lea hl , ix +- 12
2425
2425
ld sp , hl
2426
- ld iy , (ix + 6 )
2427
2426
BlankTile:
2428
2427
or a , a
2429
2428
sbc hl , hl
2429
+ ld iy , (ix + 6 )
2430
2430
ld l , (iy + 7 )
2431
2431
ld bc , (ix +- 7 )
2432
2432
add hl , bc
You can’t perform that action at this time.
0 commit comments