File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
77- ` npm test ` - Run code formatting check and tests (required before commits)
88- ` npm run build ` - Build distribution files (` dist/jsnes.js ` and ` dist/jsnes.min.js ` )
99- ` npm run format ` - Auto-format all source code with Prettier
10+ - ` cd web && npx prettier --write src/ ` - Format web UI code (web has its own Prettier config; ` npm run format ` only covers ` src/ ` )
1011- ` npm run test:watch ` - Run tests in watch mode for development
1112- ` npm run typecheck ` - TypeScript type checking (verifies ` .d.ts ` files)
1213- ` node bench.js ` - Run performance benchmark (~ 1800 fps baseline). Run this on major changes or when you suspect a performance regression/improvement.
Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ class Emulator extends Component {
6060 // done by audio instead of requestAnimationFrame.
6161 // - System can't run emulator at full speed. In this case it'll stop
6262 // firing requestAnimationFrame.
63- debug (
64- "Buffer underrun, running another frame to try and catch up" ,
65- ) ;
63+ debug ( "Buffer underrun, running another frame to try and catch up" ) ;
6664
6765 this . frameTimer . generateFrame ( ) ;
6866 // desiredSize will be 2048, and the NES produces 1468 samples on each
You can’t perform that action at this time.
0 commit comments