News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rhys

Pages: [1]
1
Gaming Discussion / Custom SNES
« on: November 15, 2018, 05:22:48 pm »
I remember a while back a site showing off a custom SNES with a bunch of extra features, I believe it was done by the same person that did a fairly extensive German translation of Breath of Fire 2 if my memory serves me correctly. Does anyone remember this / know what this mod was called?

2
Programming / C++ Virtual Stigmas
« on: November 30, 2012, 02:26:09 am »
There seems to be a lot of stigma attached to using virtual methods and polymorphic class hierarchies in C++. Even Bjarne Stroustrup states that templates are better than polymorphism.

A lot of the issue seems to be around there being an extra lookup in the vtable per call, on stackoverflow they worked this out to around 100 extra cycles per call. On today's hardware is this really even an issue anymore though?

The other reason I've seen mentioned is the possibility of a cache miss, although I'm a bit fuzzy about what that actually is/means for a program. My best guess is the method isn't in the cpu's cache so it has to be loaded from RAM instead.

I come from an OO background, so a flat class structure just irks me, I always strive to make as much of my code reusable as possible, and with a flat class structure that seems to be considerably harder to achieve.

3
Programming / (C++) Vector corruption?
« on: June 06, 2011, 11:16:52 am »
I've been working on a game engine for the past couple months, and have recently been working on porting it via devkitPPC to the Wii so the engine can have its' platform specifics abstracted away so it can be ported to any platform.

I've run into an issue with a vector inside a filesystem object I'm using to store my VFS's file indexes, all of the fields now fill fine (used to fail on this due to endianess issues which I fixed), but after leaving the function to load all the data, and closing the ifstream, when returning to the filesystem object to load a file, when it accesses the vector again, the file count's decreased from 5 to 2, and the filenames are corrupt and don't display via printf like they do before leaving that function call.

It's declared as:
Code: [Select]
vector<FSHeader *> Filesystem;
In the filesystem object's header, and I literally just push_back objects onto it. The code works 100% pefectly on Windows and Linux, but seems to fail when running inside Dolphin. Could this be some kind of emulation issue?

4
Script Help and Language Discussion / Kanji ID Help?
« on: February 07, 2011, 05:02:44 pm »
Can someone please help me ID these Kanji?


Pages: [1]