StapleButter
467461fb3d
properly initialize shit before attempting to read from the file
...
fixes load failure when attaching a debugger
2018-10-18 05:14:15 +02:00
StapleButter
b5c39680a5
hax, finally making savestates usable
...
F1 to save, F2 to load. filename hardcoded for now.
shits itself:
* when the 3D engine is used
* when a debugger is used (heh)
2018-10-18 04:00:16 +02:00
StapleButter
20862b7daf
aight, wifi done
2018-10-18 03:22:53 +02:00
StapleButter
f51e1ec805
I guess that might have malfunctioned
2018-10-18 03:10:17 +02:00
StapleButter
86f5155f72
more procrastinating before actually starting savestatez0ring wifi.
...
I need to pee
2018-10-18 03:09:03 +02:00
StapleButter
3a54b9178b
RTC done. misc shito.
2018-10-18 03:04:39 +02:00
StapleButter
cbe5780837
SPI done
2018-10-18 02:54:48 +02:00
StapleButter
7bf62918cd
SPU done
2018-10-18 02:45:38 +02:00
StapleButter
a2cc7087f7
GPU done
2018-10-18 02:31:01 +02:00
StapleButter
148f4032f1
fix code that would have fucking asploded
2018-10-18 01:38:33 +02:00
StapleButter
f4cf54829e
a bit moar of it
...
brick by brick, file by file, we will destroy capitalism
and make savestates work, maybe
2018-10-18 00:54:21 +02:00
StapleButter
de91eabf71
savestate shito: fix compile errors.
...
still far from being finished, so avoid using unless you want to spawn blackholes or some pretty bad shit.
2018-10-18 00:27:55 +02:00
StapleButter
7cbcc6c230
zlarg
2018-09-15 03:41:09 +02:00
StapleButter
60f24a7432
moar progress on it
2018-09-15 03:29:36 +02:00
StapleButter
0bfd019dc0
start implementing actual shito
...
(also looks like the test bench in libui_sdl/main.cpp snuck in with the copyright update. shit)
2018-09-15 02:47:34 +02:00
StapleButter
fea7955675
fixor copyright years.
2018-09-15 02:32:13 +02:00
StapleButter
1d19145983
moar working now.
2018-09-15 02:14:08 +02:00
StapleButter
aa59ee257e
base for savestate crapo.
...
I'm not quite settled yet, so before I can get into the real meat, I figured I'd address some 'popular request' items.
2018-09-15 02:04:21 +02:00
Dario Nieuwenhuis
d721e098eb
Make "unknown IO" messages consistent, all including value and PC.
2018-05-24 01:09:40 +02:00
Dario Nieuwenhuis
cb79a5dc14
Make Main RAM size configurable in a single place.
2018-05-24 01:09:23 +02:00
StapleButter
20050fb668
quick attempt at supercard emulation. really ugly
2018-04-27 20:00:53 +02:00
StapleButter
81e98b5e12
direct boot: init cart ID from NDSCart::CartID instead of hardcoding it
2018-04-27 19:26:46 +02:00
StapleButter
f0bc364210
init AUXSPICNT to 0x8000.
...
(guess sloppy DLDI drivers expect that)
2018-04-27 00:20:18 +02:00
StapleButter
39bd94f551
start work on DLDI, with some (very haxy) patching so it can do interesting things
2018-04-27 00:17:05 +02:00
StapleButter
aa3fc8be68
fix build under Windows
...
(fuck that shit)
2018-04-24 23:16:26 +02:00
Dario Nieuwenhuis
a2c95f2dc3
Add 32bit IPCSYNC reads and writes.
2018-04-24 22:31:52 +02:00
StapleButter
aab0030137
Merge pull request #224 from hcorion/alternate-loading
...
Load bios, firmware and melonDS.ini from exe, ~/.config/melonds or AppData
2018-02-19 13:08:34 +01:00
StapleButter
12e33ae872
Merge pull request #222 from dogtopus/master
...
Fix build on linux, enable build directory support
2018-02-19 12:50:54 +01:00
Zion Nimchuk
52df6be5f8
Load bios, firmware and melonDS.ini from executable or ~/.config/melonds or AppData
2018-01-11 14:38:57 -08:00
StapleButter
981661a36d
wifi: implement increment for txheader[4]
2018-01-04 00:10:35 +01:00
StapleButter
d50e7e4686
fix SMULWx/SMLAWx. fixes #78 , finally
2017-12-29 03:17:32 +01:00
dogtopus
549bcf6d71
Fix build on linux, enable build directory support
...
Specifically:
- Include stddef.h for missing ptrdiff_t
- Define PCAP_OPENFLAG_PROMISCUOUS if not using WinPcap because it seems to be
a WinPcap extension
- Make use of CMAKE_CURRENT_{SOURCE,BINARY}_DIR to enable building under a
directory other than root of the project
2017-12-22 12:29:34 -04:00
StapleButter
9336e15197
avoid crashing when receiving a packet that is too large
2017-12-19 01:00:55 +01:00
StapleButter
5fe30d306f
wifi:
...
* fix BSSID/MAC check when receiving packets
* safeguard AP auth/deauth so local MP doesn't trigger it
2017-12-19 00:33:09 +01:00
StapleButter
141e2a7ab0
clear chipselect when turning SPI off. fixes libnds bugs.
2017-12-19 00:20:36 +01:00
StapleButter
3bdb7a7f2d
hook up the LAN (pcap) interface
2017-12-18 23:24:45 +01:00
StapleButter
0ff67d28d3
wifiAP: basic support for probereq/auth/assoc/deauth/deassoc
2017-12-18 22:44:29 +01:00
StapleButter
9632aa4021
start working on melonAP.
...
it sends beacons!
2017-12-18 21:37:17 +01:00
StapleButter
07685a80a6
add base for wifi AP
2017-12-18 19:53:51 +01:00
StapleButter
4ec2d109f7
wifi: more shit
2017-12-18 19:31:26 +01:00
StapleButter
e44bc7743d
actually init pcap etc
2017-12-17 23:09:48 +01:00
StapleButter
17087a1ece
start work on libpcap shit
2017-12-17 17:21:50 +01:00
StapleButter
e4e8d775c0
libui/windows: don't explode if setWindowText() fails. fixes random crash when closing window.
...
also add extra safety, can't hurt.
2017-12-17 02:11:28 +01:00
StapleButter
2e82a4f26a
gtk: add icon
2017-12-16 05:43:34 +01:00
StapleButter
ca41ce6efd
windows: add icon
2017-12-16 04:10:32 +01:00
StapleButter
fff4ca0c95
Merge pull request #216 from bentley/master
...
Small fixes
2017-12-12 02:34:00 +01:00
StapleButter
904316de60
fix ScreenGap loading, fixes #218
2017-12-12 02:32:11 +01:00
StapleButter
2333b17029
bump version number
2017-12-12 02:28:57 +01:00
StapleButter
73bf4471ee
audio: change output rate to 47340Hz, add resampler with small margin to elimiate pops/clicks due to output rate fluctuation
...
output rate is picked such that 1024 samples at that rate equal exactly 710 samples at the SPU's output rate
2017-12-11 18:41:05 +01:00
StapleButter
c639152541
urgl. how could I let something that dumb slip in
2017-12-07 11:17:51 +01:00
Anthony J. Bentley
4519a7ae1f
Pass correct number of arguments to printf.
2017-12-06 22:06:15 -07:00
Anthony J. Bentley
b603029549
Fix bitwise operation precedence.
2017-12-06 22:02:55 -07:00
StapleButter
e4f030149b
add option to toggle filtering
2017-12-07 02:50:05 +01:00
StapleButter
18bcefe83b
libui: add parameter to uiDrawBitmapDraw() to specify filtering
2017-12-07 02:41:46 +01:00
StapleButter
b58a5334fa
fix potential memleak
2017-12-07 01:24:39 +01:00
StapleButter
a7c7779917
ensure proper minimum window size at all times
2017-12-07 01:13:13 +01:00
StapleButter
b5046b9766
comment out some unwanted printf's
2017-12-07 01:04:00 +01:00
StapleButter
10b797e53d
libui/GTK: properly clean up menus, so it doesn't crash upon exit
2017-12-05 05:21:11 +01:00
StapleButter
746b4db382
libui/GTK: add area BG color support
2017-12-05 04:20:52 +01:00
StapleButter
dd529f0f5c
libui/GTK: fix drawmatrix transform order to match Windows. fixes rotation.
2017-12-05 04:12:03 +01:00
StapleButter
c5872dab7d
libui/GTK: start adding submenu support. cleanup still has to be done. use uiMenuAppendCheckItem() for checkable items.
2017-12-05 03:41:49 +01:00
StapleButter
bdf9f56152
libui/GTK: add uiAreaSetBackgroundColor, not hooked up yet
2017-12-05 03:04:17 +01:00
StapleButter
21e204cdea
don't pointlessly restrict the window size
2017-11-23 21:22:47 +01:00
StapleButter
85c375cce7
* remember screen rotation/gap/etc settings
...
* fix menu cleanup to take submenus into account properly, so it doesn't crash when exiting
2017-11-23 21:02:24 +01:00
StapleButter
aa4f427ed4
properly resize window when changing display settings, etc
...
begin polishing things
2017-11-23 20:01:43 +01:00
StapleButter
8e6d834f13
libui: add API for setting a background color for uiArea. (TODO: do for GTK)
...
make window background black.
2017-11-23 19:28:06 +01:00
StapleButter
b96ac8e000
(finally) fix sound
...
* reset capture position when starting capture
* reorder channel/capture handling
* implement FIFO for channel and capture
2017-11-11 18:46:42 +01:00
StapleButter
c3675af538
properly reset IE/IF, fixes some reset issues.
2017-11-09 16:02:37 +01:00
StapleButter
35c3b34a09
make screen rotation configurable. start making it all clean.
2017-11-09 16:02:17 +01:00
StapleButter
f2a5be6096
make touchscreen code take rotation into account
2017-11-09 00:15:59 +01:00
StapleButter
34513063ab
begin work on rotation
2017-11-09 00:04:01 +01:00
StapleButter
bb87a709be
cooler screen positioning in horizontal mode
2017-11-08 02:02:15 +01:00
StapleButter
e6e5f48748
attempt at horizontal mode, I guess
2017-11-08 01:53:20 +01:00
StapleButter
857ba49759
actually implement screen gap
2017-11-08 01:34:11 +01:00
StapleButter
5bea3cc530
3D: add support for 8bit accesses to GXSTAT (Golden Sun - Dark Dawn)
2017-11-04 15:13:01 +01:00
StapleButter
0a04efc33e
attempt at auto-emphasis mode, emphasizing main screen
2017-10-30 05:45:26 +01:00
StapleButter
85d823d4c7
fix more sizing bugs
2017-10-30 05:17:20 +01:00
StapleButter
f4e7e2f62a
fix aspect ratio code
2017-10-30 05:08:04 +01:00
StapleButter
c9082cd50d
some attempt at fancypants scaling, I guess
2017-10-30 04:39:50 +01:00
StapleButter
b8706c29c7
make it betterer
2017-10-30 03:21:12 +01:00
StapleButter
84a842c6f3
libui/windows: add support for submenus
2017-10-30 03:11:45 +01:00
StapleButter
3881b2615b
libui/Windows: allow file pickers to navigate through shortcuts. fixes #199
2017-10-21 22:24:29 +02:00
StapleButter
e9798e032b
up version number (I forgot)
2017-10-11 04:38:11 +02:00
StapleButter
befc5db031
restore FPS counter
2017-10-11 03:06:30 +02:00
StapleButter
f9d9aaec11
Merge pull request #112 from bentley/master
...
Portability fixes
2017-10-11 02:56:06 +02:00
StapleButter
73626e9f45
fix memory leak
2017-10-11 00:40:56 +02:00
StapleButter
273fbe24f4
add fopen wrapper to support UTF8 paths/filenames under Windows.
2017-10-11 00:32:43 +02:00
StapleButter
ee1da52d77
fail gracefully when ROM loading fails
2017-10-11 00:01:05 +02:00
Anthony J. Bentley
56bf1ecc13
Treat failed haptics initialization as a warning, not a fatal error.
2017-10-09 03:42:50 -06:00
Anthony J. Bentley
df19b93408
Include POSIX headers required for fd_set and INADDR_ANY.
2017-10-09 03:41:17 -06:00
StapleButter
a15c395460
GTK: file drop support. adsfgdgfdg
2017-10-05 03:10:14 +02:00
StapleButter
084d9254e3
maybe now the input dialog can stop being dumb
2017-10-05 02:05:23 +02:00
StapleButter
d895dfc9fb
hopefully fix that shit for good
2017-10-05 01:58:41 +02:00
StapleButter
a84caacb03
make window actually resizable below min size. we lose proper client sizing under GTK tho.
2017-10-05 01:35:50 +02:00
StapleButter
f714c492b9
GTK: hook SetMinSize. fuck around with gtk_widget_set_size_request() so the window can be resized smaller than the initial size.
2017-10-05 01:22:03 +02:00
StapleButter
5d5311c53c
use grids instead of nested boxes for input config dialog. (still lags, needs optimization)
...
adjust things to make those dialogs sexier.
2017-10-05 01:03:22 +02:00
StapleButter
9d3f13b689
rework things a bit.
...
also remove some useless variables.
2017-10-05 00:13:22 +02:00
StapleButter
5b71ffceee
minor fix
2017-10-04 02:47:49 +02:00
StapleButter
9125620ff1
christ, did I seriously forget to remove that code
2017-10-03 03:28:49 +02:00
StapleButter
012a7d61a7
actually make uiKeyName() work
2017-10-03 02:52:30 +02:00