Giter VIP home page Giter VIP logo

Comments (11)

drjerk1 avatar drjerk1 commented on May 9, 2024

You can just comment those asserts in the source code, the game doesn't crash itself, those asserts just cause some graphical glitches, i have tested the first charapter of conker just now, it works with all asserts commented.

from xemu.

Djipi71 avatar Djipi71 commented on May 9, 2024

from xemu.

drjerk1 avatar drjerk1 commented on May 9, 2024

you need to compile emulator from source to do this

from xemu.

drjerk1 avatar drjerk1 commented on May 9, 2024

I did patching with simple script and dummyassert.h header file, and a bit of manual patching, as it failed to compile one file

#!/bin/sh

ack -l '#include <assert.h>' | xargs -i@ sed -i 's/#include <assert\.h>/#include <dummyassert\.h>/g' @
/*
 * dummyassert.h
 * Copyright (C) 2020 terminal <terminal@localhost>
 *
 * Distributed under terms of the MIT license.
 */

#ifndef DUMMYASSERT_H
#define DUMMYASSERT_H
#include <stdio.h>

#define assert(condition) { if(!(condition)){ fprintf(stderr, "dummyassert in %s, line %d, cond %s\n", __FILE__,  __LINE__, #condition); fflush(stderr); } }

#endif /* !DUMMYASSERT_H */

from xemu.

Djipi71 avatar Djipi71 commented on May 9, 2024

from xemu.

drjerk1 avatar drjerk1 commented on May 9, 2024

for now, it doesnt exists, maybe someone will do this later

from xemu.

Djipi71 avatar Djipi71 commented on May 9, 2024

from xemu.

mborgerson avatar mborgerson commented on May 9, 2024

Thanks for reporting, the issue will be fixed shortly. Downloading builds from other people is not supported, and highly(!) discouraged as those builds might potentially include malware. I also do not recommend blanket removal of all asserts in this way. If you want to help fix the underlying issue, you are welcome to join us in the chat and/or file a PR.

from xemu.

Djipi71 avatar Djipi71 commented on May 9, 2024

ok so i will wait no problem :)

from xemu.

peksomess avatar peksomess commented on May 9, 2024

Hello exactly the same thing is happening to me and I am using the Latest Version of XEMU-0.5.0-2 For Windows

from xemu.

Djipi71 avatar Djipi71 commented on May 9, 2024

Yeah assertion seems like to take time to merged do or merged on MAster :(

from xemu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.