Commit graph

44 commits

Author SHA1 Message Date
Shaun Inman
ae3e1e5eba simplified rumble thread 2023-02-15 23:06:26 -05:00
Shaun Inman
a39620bc99 misc cleanup 2023-02-15 21:30:24 -05:00
Shaun Inman
db6b1a9301 moved rumble to thread + prevent rapid vacillation 2023-02-15 08:50:00 -05:00
Shaun Inman
81734e10c0 random minor edits 2023-02-14 20:52:04 -05:00
Shaun Inman
6bd06532c8 added resolution switching
including
- Screen Scaling frontend option
- bindings for Cycle Scaling and Toggle Scanlines
- muddiness around SCREEN_* and FIXED_* macros...
2023-02-11 17:03:12 -05:00
Shaun Inman
05d9616d07 light cleanup before GFX refactor 2023-02-10 21:01:24 -05:00
Shaun Inman
ab7da437c6 tidy
trying (and failing) to figure out double buffered flickering...
2023-02-10 00:07:27 -05:00
Shaun Inman
8d036a38a4 formatting 2023-02-08 22:53:18 -05:00
Shaun Inman
13ea0b9c0f PAN_DISPLAY before WAITFORVSYNC
this eliminates tearing when double instead of triple buffering, might be the proper way to use these two together?
2023-02-06 19:27:31 -05:00
Shaun Inman
8aca402163 need to restore deferred configs on load
changed default vsync to strict (primarily for menus)
2023-02-06 09:03:03 -05:00
Shaun Inman
a6847e7ab4 added CPU speed api and minarch frontend option 2023-01-30 23:08:04 -05:00
Shaun Inman
7de8c5afc2 renamed volume button constants 2023-01-29 11:09:18 -05:00
Shaun Inman
2793ae4973 tweaks around the brightness hint
show MENU Brightness when pressing +/-, show + - when holding MENU
2023-01-29 10:59:49 -05:00
Shaun Inman
efa1e9bd0c added GFX_wrapText and refactored GFX_truncateText 2023-01-28 19:57:44 -05:00
Shaun Inman
3cfd1313c6 first incomplete pass at options
layout is done, need to polish up the frontend and emulator options and sort out the mess of input overrides
2023-01-26 20:42:28 -05:00
Shaun Inman
501aa77d14 tidy 2023-01-26 20:39:22 -05:00
Shaun Inman
9e795ff1bc removed threaded rendering, made vsync an option 2023-01-21 20:51:31 -05:00
Shaun Inman
416e32bc53 removed overlay testing code 2023-01-21 19:42:45 -05:00
Shaun Inman
71ac3a16d6 abandoned overlay testing code
will remove in next commit
2023-01-21 19:38:07 -05:00
Shaun Inman
d0d87e4a00 refactored battery calculation 2023-01-21 19:04:32 -05:00
Shaun Inman
d71dc59cd3 simplified battery icon percentages 2023-01-20 22:29:55 -05:00
Shaun Inman
7c934dfcd2 misc cleanup 2023-01-20 22:28:31 -05:00
Shaun Inman
10dd0fe66a fixed SDL_GetTicks var types 2023-01-19 20:41:38 -05:00
Shaun Inman
5e8dc211a3 added rumble support 2023-01-17 21:16:01 -05:00
Shaun Inman
baf2c0da7f added blitRect to api 2023-01-16 21:34:00 -05:00
Shaun Inman
32dc04c780 snap battery reading to 5% increments 2023-01-15 22:43:20 -05:00
Shaun Inman
d7cc711291 added name truncation api 2023-01-15 22:43:04 -05:00
Shaun Inman
5c8f231162 added different settings bar bg for menu mode 2023-01-15 22:42:29 -05:00
Shaun Inman
d42e7c31d0 fixed autosleep shenanigans when emulating 2023-01-15 20:38:57 -05:00
Shaun Inman
1145988066 api refactor
- handles power related input and state
- handles battery and settings rendering
2023-01-15 20:19:59 -05:00
Shaun Inman
7009fb08c6 first (incomplete) pass at in-game menu 2023-01-14 23:14:36 -05:00
Shaun Inman
809a7e360d added key repeat to keymon and api 2023-01-14 21:26:42 -05:00
Shaun Inman
8531236d62 first pass at 12 hour clock mode 2023-01-14 15:29:02 -05:00
Shaun Inman
c1e7dbdfca added GFX_blitABButtons() to api 2023-01-14 08:47:16 -05:00
Shaun Inman
cf44917afa implemented most (all?) of MinUI plus required API
removed simple mode and version screen (for now at least)
2023-01-13 20:19:25 -05:00
Shaun Inman
4c5b216c2a added missing void arg 2023-01-13 20:13:34 -05:00
Shaun Inman
d8c96b82fa only wait for vsync if under frame budget 2023-01-13 20:12:47 -05:00
Shaun Inman
90288872ca remove commented out code 2023-01-13 20:08:30 -05:00
Shaun Inman
17ca7cc84a removed bad threaded renderer 2023-01-06 00:17:44 -05:00
Shaun Inman
83e1f03e22 I made it worse somehow
the threaded version is as janky as the pre-waitforvsync version
2023-01-05 23:56:55 -05:00
Shaun Inman
473af67f51 failed attempt to add threaded rendering
will retry with a simpler version
2023-01-05 23:39:28 -05:00
Shaun Inman
db0042e57e implemented sleep and power off 2023-01-05 22:15:46 -05:00
Shaun Inman
cfcc855df9 vsync unlocked 🎉 2023-01-04 12:17:32 -05:00
Shaun Inman
f6f8fa6a8f messy experimentation commit 2023-01-03 22:17:49 -05:00