VOGONS

Common searches


Search results

Display options

Re: Null pointer dereferences

No it's not. Members are always at a fixed location within classes. Under what situation do you imagine it returning random garbage? When the compiler assumes that 'chip' isn't null, because that would be UB and the compiler is free to assume that this can't happen. Also, the clang ubsan is not …

Re: Null pointer dereferences

It looks like old code written to be portable before "offsetof" was widely available. It's not dereferencing a NULL pointer, it's getting the address of a member variable when the "this" pointer is NULL which is equivalent to finding the offset of that member (in bytes) from "this". That's …

Null pointer dereferences

There's a few places in the dosbox code where sanitizers detect null pointer derefs at runtime. Example: $ ./dosbox ... dbopl.cpp:1447:47: runtime error: member access within null pointer of type 'DBOPL::Chip' dbopl.cpp:1462:47: runtime error: member access within null pointer of type 'DBOPL:: …

Re: DOSBox ECE (for Windows & Linux)

There's an audio bug in the last r4279 Windows Build. Popping digital sounds in Prince of Persia. I usually crank sound frequency up to 49716 to get the best results in OPL emulation, but I don't think this is the cause of the issue, because I've always done that and there was no problem at all …

Re: DOSBox ECE (for Windows & Linux)

lavadrop wrote: realnc wrote: Well, the build doesn't make fluidsynth optional. You can build it youself against fluidsynth 2 in this case. I have Fluidsynth 2.0.8 actually The build you downloaded needs v1. If you only have v2, you need to build it yourself so it will use v2.

Re: Screenshot size in vgaonly mode

This is an old thread, but this recently came up in another place. Why is this behavior only done with "vgaonly"? "svga_s3" for example does not do this. I thought SVGA is compatible with VGA so shouldn't it also do doublescan? Right now it doesn't. If the game runs at 320x200, you get an output of …

Re: PCEm. Another PC emulator.

in PC Emulation
Thought I'd give it a spin under linux (its all I use)... seems not useless but..... without any gui to say set floppy disks etc like in the windows version, it seems kinda pointless. cant even insert my dos boot disk to fdisk the hd image. windows has all these funky gui options. linux version has …

Re: PCEm. Another PC emulator.

in PC Emulation
but when I ask for examples I come away empty handed. AWE32 and WSS emulation come to mind. Also, it emulates more video cards and runs original BIOS. The various CPUs are also emulated more accurately. Basically it provides a closer to original hardware experience. If that's not what you're after …

Re: DOSBox ECE (for Windows & Linux)

Deffnator wrote: Its possible to play with CRT Shaders or inject it with something like Reshade OpenGL?, pixel perfection is a meme and Retroarch NEC Xm29 shader + Lottes spoiled me a bit. RetroArch now has a DOSBox-SVN core. I've been using it for a while now 😀

Re: Unofficial libretro port screen tearing

As mentioned in the libretro bug , with this patch applied the core seems to only present new frames when there's changes on the screen. When the image is static and nothing new is being drawn, there's no new frames being presented. This stalls the refresh rate in g-sync mode (you get 0Hz) and …

Page 9 of 29