Skip to content

Commit

Permalink
Merge branch 'feat/main-loop' into 'master'
Browse files Browse the repository at this point in the history
Support for main game loop inversion of control

Closes #26

See merge request joamag/boytacean!38
  • Loading branch information
joamag committed Jun 19, 2024
2 parents 97925b8 + c1667dd commit 47ef47b
Show file tree
Hide file tree
Showing 5 changed files with 151 additions and 214 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

* Support for SIMD based color space conversion - [#45](https://gitlab.stage.hive.pt/joamag/boytacean/-/issues/45)
* Support for `window.requestAnimationFrame()` and game loop inversion of control - [#26](https://gitlab.stage.hive.pt/joamag/boytacean/-/issues/26)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion frontends/web/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ const BACKGROUNDS = [

// starts the emulator with the provided ROM URL, this is
// going to run the main emulator (infinite) loop
await emulator.main({ romUrl: romUrl });
await emulator.start({ romUrl: romUrl });
})();
20 changes: 10 additions & 10 deletions frontends/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
"source": "index.ts",
"devDependencies": {
"@parcel/transformer-typescript-tsc": "^2.12.0",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.1.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"buffer": "^6.0.3",
"emukit": "^0.9.8",
"emukit": "^0.10.0",
"eslint": "^8.57.0",
"jszip": "^3.10.1",
"nodemon": "^3.1.0",
"nodemon": "^3.1.3",
"parcel": "^2.12.0",
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.4.5",
"webgl-plot": "^0.7.1"
}
}
Loading

0 comments on commit 47ef47b

Please sign in to comment.