So far it works properly, but only allows to go as low as 96 samples.
Edit: results from runnimg smasho4 with your settings,
I:\Hyperspin\Emulators\Mame>mame64 samsho4 -str 900 -v -asio_log -fd 1 -video d3
d
SwitchRes: v0.015l, Monitor: lcd, Orientation: horizontal, Modeline generation:
disabled
SwitchRes: Using default vfreq range for LCD 59.000000-61.000000
SwitchRes: \\.\DISPLAY1: NVIDIA GeForce GTX 660 (PCI\VEN_10DE&DEV_11C0&SUBSYS_
354E1458&REV_A1)
SwitchRes: Device key: System\CurrentControlSet\Control\Video\{3B7E4324-B082-457
8-8488-6B1EF016122E}\0000
Video chipset is not compatible.
Switchres: Searching for custom video modes...
Switchres: [ 1] 640x 480 @ 60 : system mode
Switchres: [ 2] 640x 480 @ 75 : system mode
Switchres: [ 3] 800x 600 @ 60 : system mode
Switchres: [ 4] 800x 600 @ 75 : system mode
Switchres: [ 5] 1024x 768 @ 60 : system mode
Switchres: [ 6] 1024x 768 @ 75 : system mode
Switchres: [ 7] 1176x 664 @ 50 : system mode
Switchres: [ 8] 1176x 664 @ 60 : system mode
Switchres: [ 9] 1176x 664 @ 59 : system mode
Switchres: [ 10] 1280x1024 @ 60 : system mode
Switchres: [ 11] 1280x1024 @ 75 : system mode
Switchres: [ 12] 1600x1200 @ 60 : system mode
Switchres: [ 13] 1768x 992 @ 25 : system mode
Switchres: [ 14] 1768x 992 @ 30 : system mode
Switchres: [ 15] 1768x 992 @ 29 : system mode
Switchres: [ 16] 1920x1200 @ 59 : system mode
Switchres: [ 17] 1920x1200 @ 60 : system mode
Switchres: [ 18] 1920x1080 @ 60* : system mode
Switchres: [ 19] 1920x1080 @ 59 : system mode
Switchres: [ 20] 1920x1080 @ 30 : system mode
Switchres: [ 21] 1920x1080 @ 29 : system mode
Switchres: [ 22] 1920x1080 @ 50 : system mode
Switchres: [ 23] 1920x1080 @ 25 : system mode
Switchres: [ 24] 1920x1080 @ 24 : system mode
Switchres: [ 25] 1920x1080 @ 23 : system mode
Switchres: [ 26] 1280x 720 @ 60 : system mode
Switchres: [ 27] 1280x 720 @ 59 : system mode
Switchres: [ 28] 1280x 720 @ 50 : system mode
Switchres: [ 29] 720x 480 @ 60 : system mode
Switchres: [ 30] 720x 480 @ 59 : system mode
Switchres: [ 31] 720x 576 @ 50 : system mode
Switchres: [ 32] 1152x 864 @ 75 : system mode
SwitchRes: Found 0 custom of 32 active video modes
SwitchRes: Creating automatic specs for LCD based on VESA GTF
SwitchRes: Monitor range 65962.00-68198.00,59.00-61.00,0.741,1.157,1.898,0.015,0
.045,0.507,0,1,1080,1080,0,0
SwitchRes: -resolution was forced as 1920x1080@60
SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.015l:[samsho4] Calculating best video mode for 320x224@59.185608 o
rientation: normal
SwitchRes: [ 640]x[ 480]_(60=60.000000Hz) - locked
SwitchRes: [ 640]x[ 480]_(75=75.000000Hz) - locked
SwitchRes: [ 800]x[ 600]_(60=60.000000Hz) - locked
SwitchRes: [ 800]x[ 600]_(75=75.000000Hz) - locked
SwitchRes: [1024]x[ 768]_(60=60.000000Hz) - locked
SwitchRes: [1024]x[ 768]_(75=75.000000Hz) - locked
SwitchRes: [1176]x[ 664]_(50=50.000000Hz) - locked
SwitchRes: [1176]x[ 664]_(60=60.000000Hz) - locked
SwitchRes: [1176]x[ 664]_(59=59.000000Hz) - locked
SwitchRes: [1280]x[1024]_(60=60.000000Hz) - locked
SwitchRes: [1280]x[1024]_(75=75.000000Hz) - locked
SwitchRes: [1600]x[1200]_(60=60.000000Hz) - locked
SwitchRes: [1768]x[ 992]_(25=25.000000Hz) - locked
SwitchRes: [1768]x[ 992]_(30=30.000000Hz) - locked
SwitchRes: [1768]x[ 992]_(29=29.000000Hz) - locked
SwitchRes: [1920]x[1200]_(59=59.000000Hz) - locked
SwitchRes: [1920]x[1200]_(60=60.000000Hz) - locked
SwitchRes: [1920]x[1080]_(60=60.000000Hz)
rng(0): 1920 x1080_60.000000p 0.000000 [fract] scale(6, 4, 1) diff(0.00, 16.6
5, 0.0000) ratio(6.000, 4.821)
SwitchRes: [1920]x[1080]_(59=59.000000Hz) - locked
SwitchRes: [1920]x[1080]_(30=30.000000Hz) - locked
SwitchRes: [1920]x[1080]_(29=29.000000Hz) - locked
SwitchRes: [1920]x[1080]_(50=50.000000Hz) - locked
SwitchRes: [1920]x[1080]_(25=25.000000Hz) - locked
SwitchRes: [1920]x[1080]_(24=24.000000Hz) - locked
SwitchRes: [1920]x[1080]_(23=23.000000Hz) - locked
SwitchRes: [1280]x[ 720]_(60=60.000000Hz) - locked
SwitchRes: [1280]x[ 720]_(59=59.000000Hz) - locked
SwitchRes: [1280]x[ 720]_(50=50.000000Hz) - locked
SwitchRes: [ 720]x[ 480]_(60=60.000000Hz) - locked
SwitchRes: [ 720]x[ 480]_(59=59.000000Hz) - locked
SwitchRes: [ 720]x[ 576]_(50=50.000000Hz) - locked
SwitchRes: [1152]x[ 864]_(75=75.000000Hz) - locked
SwitchRes: [samsho4] (1) horizontal (320x224@59.185608)->(1920x1080@60.000000)
rng(0): 1920 x1080_60.000000p 0.000000 [fract] scale(6, 4, 1) diff(0.00, 16.6
5, 0.0000) ratio(6.000, 4.821)
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -autoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -multithreading
SwitchRes: Setting option -notriplebuffer
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -nohwstretch
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -filter
SwitchRes: Setting option -prescale 1
Video: Monitor 00000000083EC4A8 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9
window_proc: WM_NCACTIVATE
blit_lock = TRUE
Physical width 1920, height 1080
Direct3D: Configuring adapter #0 = NVIDIA GeForce GTX 660
Direct3D: Adapter has Vendor ID: 10DE and Device ID: 11C0
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 1920x1080
Direct3D: First scanline: 0, Last scanline: 1079, Break scanline: 979, Delay sca
nline: 0
blit_unlock = TRUE
window_proc: WM_PAINT
Blitting thread created
winwindow_video_window_create: blit_lock = TRUE
Blitting thread started
RawInput: APIs detected
Input: Adding Mouse #0: HID-compliant mouse
Input: Adding Gun #0: HID-compliant mouse
Input: Adding Kbd #0: HID Keyboard Device
Input: Adding Mouse #1: HID-compliant mouse
Input: Adding Gun #1: HID-compliant mouse
Input: Adding Kbd #1: HID Keyboard Device
DirectInput: Using DirectInput 8
blit_lock = FALSE
window_proc: WM_PAINT:END
Input: Adding Joy #0: MotioninJoy Virtual Game Controller
ASIO: Game is running at 59.185608 Hz, screen at about 60.000000 Hz
ASIO: Driver SB Audigy 4 ASIO [C000] initialized with latency 96,
sample rate 48000.00, compensated sample rate 0.000000,
driver version: 2, bufmin: 96, bufmax: 65536,
bufpref: 96, bufgran: 16
audio latency is 1
frame delay is 1
ASIO: Setting initial playback rate to 48000.000 Hz
Region ':maincpu' created
Region ':fixed' created
Region ':fixedbios' created
Region ':zoomy' created
Region ':mainbios' created
Region ':audiobios' created
Region ':audiocpu' created
Region ':ymsnd' created
Region ':sprites' created
Starting Samurai Shodown IV - Amakusa's Revenge / Samurai Spirits - Amakusa Kour
in (NGM-222)(NGH-222) ':'
Optional device 'cartslot6' not found
Optional device 'cartslot5' not found
Optional device 'cartslot4' not found
Optional device 'cartslot3' not found
Optional device 'cartslot2' not found
Optional device 'cartslot1' not found
(missing dependencies; rescheduling)
Starting M68000 ':maincpu'
Starting Z80 ':audiocpu'
Starting Video Screen ':screen'
Optional device 'finder_dummy_tag' not found
Starting palette ':palette'
Starting Neogeo Sprites ':spritegen'
Starting Speaker ':lspeaker'
(missing dependencies; rescheduling)
Starting Speaker ':rspeaker'
(missing dependencies; rescheduling)
Starting YM2610 ':ymsnd'
Starting NeoGeo Banked Cartridge ':banked_cart'
Starting uPD4990A RTC ':upd4990a'
Starting NVRAM ':saveram'
Starting NeoGeo Memory Card ':memcard'
Starting NeoGeo Protection (Metal Slug X) ':mslugx_prot'
Starting NeoGeo SMA Cartridge ':sma_prot'
Starting NeoGeo Protection (CMC) ':cmc_prot'
Starting NeoGeo Protection (NEOPCM2) ':pcm2_prot'
Starting NeoGeo Protection (PVC) ':pvc_prot'
Starting NeoGeo Protection (Bootleg) ':bootleg_prot'
Starting NeoGeo Protection (KOF2002) ':kof2002_prot'
Starting NeoGeo Protection (Fatal Fury 2) ':fatfury2_prot'
Starting NeoGeo Protection (KOF98) ':kof98_prot'
Starting NeoGeo Protection (Super Bubble Pop) ':sbp_prot'
Starting Samurai Shodown IV - Amakusa's Revenge / Samurai Spirits - Amakusa Kour
in (NGM-222)(NGH-222) ':'
Optional device 'cartslot6' not found
Optional device 'cartslot5' not found
Optional device 'cartslot4' not found
Optional device 'cartslot3' not found
Optional device 'cartslot2' not found
Optional device 'cartslot1' not found
(missing dependencies; rescheduling)
Starting Speaker ':lspeaker'
Starting Speaker ':rspeaker'
Starting Samurai Shodown IV - Amakusa's Revenge / Samurai Spirits - Amakusa Kour
in (NGM-222)(NGH-222) ':'
Optional device 'cartslot6' not found
Optional device 'cartslot5' not found
Optional device 'cartslot4' not found
Optional device 'cartslot3' not found
Optional device 'cartslot2' not found
Optional device 'cartslot1' not found
Loading cheats file from cheat
ASIO: Advancing head 523 counts at update 2, speed is 1.000000
ASIO: Advancing head 116 counts at update 7, speed is 1.000000
ASIO: Advancing head 116 counts at update 16, speed is 1.013823
ASIO: Advancing head 112 counts at update 25, speed is 1.013823
ASIO: Advancing head 113 counts at update 34, speed is 1.013765
ASIO: Advancing head 112 counts at update 43, speed is 1.013765
Average speed: 101.37% (517 seconds)
ASIO: Average callback timeslice usage: 0.174222
ASIO: Overrun/underrun: 0/0
window_proc: WM_NCACTIVATE
blit_lock = TRUE
window_proc: WM_DESTROY
blit_lock = TRUE
Blitting thread destroyed