djhackersdev / bemanitools

Runs recent Konami arcade games and emulates various arcade hardware.
The Unlicense
84 stars 16 forks source link

misc. SDVX fixes - [merged] #216

Closed icex2 closed 1 year ago

icex2 commented 2 years ago

In GitLab by @xyen on May 20, 2022, 05:54

Merges sdvx-fixes -> master

fixes a crash when using sdvxhook2 on certain OS versions (windows 7 on cabs in particular), and set title pop lights to 50% by default in sdvxio-bio2.

icex2 commented 2 years ago

You are checking if the pointer value is > UIN16_MAX? Would expect you want to check the dereferenced value, i.e. *((intptr_t) name) > UINT16_MAX If your code is correct, do you mind explaining why (and maybe add that explanation to the commit message or code as a comment?

icex2 commented 2 years ago

In GitLab by @xyen on May 28, 2022, 01:22

Commented on src/main/sdvxhook2/nvapi.c line 36

It's explained right below in the Microsoft doc.

icex2 commented 2 years ago

-_-" for not having the full view and seeing the next few lines. lgtm

icex2 commented 2 years ago

resolved all threads

icex2 commented 2 years ago

approved this merge request

icex2 commented 2 years ago

In GitLab by @xyen on May 28, 2022, 01:26

added 3 commits

Compare with previous version