472 Commits

Author SHA1 Message Date
Brian Pugh
88c8df2492 change sms pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1dedf5986a change gb pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
1925bcccb5 change nes pause_pressed and power_pressed to correct dtypes 2021-07-25 09:17:38 +02:00
Brian Pugh
836db3157c Have NES use joystick abstraction (matching other emus) rather than directly reading raw gnw buttons 2021-07-25 09:17:38 +02:00
Brian Pugh
2d166d5cb0 Save state and poweroff when power is pressed when in-menu (#112) 2021-07-24 18:12:08 +02:00
Brian Pugh
b6bbe8e2bb Add 0.5x, 0.75x, 1.25x and 1.5x speed options (#111)
* fix GB speedup, add 1.25x and 1.5x options

* Add options for 0.5x and 0.75x in gb

* nes speedup

* pce speedup

* sms speedup

Closes #110
Closes #56
2021-07-21 08:23:46 +02:00
Konrad Beckmann
8276c2d607 Update submodule 2021-07-21 08:15:45 +02:00
Konrad Beckmann
3dce00d594 vscode: Add c_cpp_properties.json 2021-07-19 11:02:16 +02:00
Konrad Beckmann
5ccd71eae8 Update submodule
linux/gb: Fix size calculation of compressed area for linux
change uint32_t to size_t
2021-07-19 10:20:42 +02:00
Konrad Beckmann
f4730eb1eb linux/gb: Don't include a period in the rom extension 2021-07-15 23:18:27 +02:00
Konrad Beckmann
0f7ed40544 linux/gb: Initialize joystick struct 2021-07-15 23:08:47 +02:00
Brian Pugh
9d35031e69 replace zopfli with zlib until decompression bug is resolved 2021-07-15 20:05:50 +02:00
Rustam Zinurov
94062c331c Issue 101: Remember the last selected game in the menu after reset (#108)
Remember the last selected game in the menu after reset

Closes #101 

Add two extra variables to odroid settings:
 - main_menu_selected_tab
 - main_menu_cursor

* Reset active tab on power off

* Update retro-go-stm32 submodule to latest main

* Remember the last selected game in the menu on power off
2021-07-14 22:21:52 +02:00
Konrad Beckmann
e7f2e7cf86 scripts: Disable debug based on RESET_DBGMCU 2021-07-13 19:25:30 +02:00
Konrad Beckmann
262ac696a9 scripts: Make the scripts more platform independent
Fixes a loop issue on mac
2021-07-13 19:19:13 +02:00
Konrad Beckmann
ccb7099a93 ci: Add linux integration build job 2021-07-12 22:37:47 +02:00
Konrad Beckmann
a20c590b79 makefile: Add RESET_DBGMCU to control if debug should be disabled 2021-07-12 18:10:45 +02:00
Konrad Beckmann
2e0525565f makefile: Rename disable_debug_block to reset_dbgmcu 2021-07-12 18:10:31 +02:00
Konrad Beckmann
d62c0144a8 linux: Make it build again 2021-07-12 08:32:53 +02:00
Konrad Beckmann
4a9e49bcde scripts: Disable debug block when done for all scripts 2021-07-12 00:06:37 +02:00
Konrad Beckmann
a495618279 scripts: Disable debug block when done 2021-07-12 00:04:16 +02:00
Konrad Beckmann
76b5680df0 makefile: Reset DBGMCU_CR after flashing
This will disable clocks from running when the device
is in standby after being flashed, increasing battery life.
2021-07-11 22:39:08 +02:00
Konrad Beckmann
3bec6c6137 templates: Add feature request, simplyfy bug report 2021-07-11 22:21:12 +02:00
Konrad Beckmann
1bfba9776e Move scripts to a separate directory 2021-07-11 22:07:31 +02:00
Konrad Beckmann
70881218ef ci: Move scripts 2021-07-11 22:07:28 +02:00
Konrad Beckmann
cf39e3f4d3 vscode: Add launch.json with a target debug config 2021-07-11 16:08:52 +02:00
Konrad Beckmann
0c092ae9fc Add script to erase save slots 2021-07-11 12:20:18 +02:00
Konrad Beckmann
0850193c9a ci: Download toolchain from a mirror
Also fixes submodule config for the ci jobs
2021-07-10 11:42:00 +02:00
Konrad Beckmann
ff034689bb ci: Don't download toolchains from github
Github has quotas on LFS which make this problematic.
2021-07-10 01:44:24 +02:00
Konrad Beckmann
850308b5d4 ci: Refactor a bit more 2021-07-10 01:07:48 +02:00
Konrad Beckmann
a78dac3fdc ci: Add macos build and refactor a bit 2021-07-10 00:33:55 +02:00
Brian Pugh
0a3c1c500b case-insensitive extensions when searching for roms 2021-07-08 20:44:17 +02:00
Brian Pugh
7257338df4 Update README with requirements.txt and zopfli compression 2021-07-08 20:06:43 +02:00
Brian Pugh
3306ccf11b update retro-go-stm32 to get new miniz files 2021-07-08 20:06:43 +02:00
Brian Pugh
ba092b7b16 Update parse_roms.py help strings 2021-07-08 20:06:43 +02:00
Brian Pugh
04f969f67f fix endian order of uncompressed deflate data 2021-07-08 20:06:43 +02:00
Brian Pugh
79ec35c9cd Fix space in makefile before MINIZ macros 2021-07-08 20:06:43 +02:00
Brian Pugh
fcb786a7dc parse_roms.py linting 2021-07-08 20:06:43 +02:00
Brian Pugh
864c488c3e Initial attempt at deflate nes support 2021-07-08 20:06:43 +02:00
Brian Pugh
f2f754e81e remove lupng from the build 2021-07-08 20:06:43 +02:00
Brian Pugh
013083f827 have rom manager expose the rom extension 2021-07-08 20:06:43 +02:00
Brian Pugh
e2bb399642 initial zopfli support in parse_roms.py 2021-07-08 20:06:43 +02:00
Brian Pugh
9449bdb092 Add pre-commit config and lint rules for python 2021-07-07 08:58:33 +02:00
Brian Pugh
e1bdee743f Add semi-optional requirements.txt 2021-07-07 08:36:21 +02:00
Brian Pugh
3ff11840d8 fix exception when attempting to compress non-nes/gb games 2021-07-07 08:36:21 +02:00
Brian Pugh
804612a685 Change lz4 python parameters to match cli 2021-07-07 08:36:21 +02:00
Brian Pugh
e39ede61a2 refactor parse_roms.py to use pathlib and be easily expandable for future compression algorithms 2021-07-07 08:36:21 +02:00
Konrad Beckmann
e03ec09db9 ci: Add placeholder roms for untested emulators
Closes #104
2021-07-05 22:45:16 +02:00
Konrad Beckmann
95f93b6772 Revert "ci: Build PRs as well"
This reverts commit 3bcc8f9caf.
2021-07-04 18:27:29 +02:00
Konrad Beckmann
3bcc8f9caf ci: Build PRs as well 2021-07-04 12:55:36 +02:00