Update to v094r20 release.
byuu says:
Main reason for this WIP was because of all the added lines to hiro for
selective component disabling. May as well get all the diff-noise apart
from code changes.
It also merges something I've been talking to Cydrak about ... making
nall::string::(integer,decimal) do built-in binary,octal,hex decoding
instead of just failing on those. This will have fun little side effects
all over the place, like being able to view a topic on my forum via
"forum.byuu.org/topic/0b10010110", heh.
There are two small changes to higan itself, though. First up, I fixed
the resampler ratio when loading non-SNES games. Tested and I can play
Game Boy games fine now. Second, I hooked up menu option hiding for
reset and controller selection. Right now, this works like higan v094,
but I'm thinking I might want to show the "Device -> Controller" even if
that's all that's there. It kind of jives nicer with the input settings
window to see the labels there, I think. And if we ever do add more
stuff, it'll be nice that people already always expect that menu there.
Remaining issues:
* add slotted cart loader (SGB, BSX, ST)
* add DIP switch selection window (NSS)
* add timing configuration (video/audio sync)
2015-05-23 05:37:08 +00:00
|
|
|
#if defined(Hiro_IconView)
|
|
|
|
|
Update to v094r09 release.
byuu says:
This will easily be the biggest diff in the history of higan. And not in
a good way.
* target-higan and target-loki have been blown away completely
* nall and ruby massively updated
* phoenix replaced with hiro (pretty near a total rewrite)
* target-higan restarted using hiro (just a window for now)
* all emulation cores updated to compile again
* installation changed to not require root privileges (installs locally)
For the foreseeable future (maybe even permanently?), the new higan UI
will only build under Linux/BSD with GTK+ 2.20+. Probably the most
likely route for Windows/OS X will be to try and figure out how to build
hiro/GTK on those platforms, as awful as that would be. The other
alternative would be to produce new UIs for those platforms ... which
would actually be a good opportunity to make something much more user
friendly.
Being that I just started on this a few hours ago, that means that for
at least a few weeks, don't expect to be able to actually play any
games. Right now, you can pretty much just compile the binary and that's
it. It's quite possible that some nall changes didn't produce
compilation errors, but will produce runtime errors. So until the UI can
actually load games, we won't know if anything is broken. But we should
mostly be okay. It was mostly just trim<1> -> trim changes, moving to
Hash::SHA256 (much cleaner), and patching some reckless memory copy
functions enough to compile.
Progress isn't going to be like it was before: I'm now dividing my time
much thinner between studying and other hobbies.
My aim this time is not to produce a binary for everyone to play games
on. Rather, it's to keep the emulator alive. I want to be able to apply
critical patches again. And I would also like the base of the emulator
to live on, for use in other emulator frontends that utilize higan.
2015-02-26 10:10:46 +00:00
|
|
|
namespace hiro {
|
|
|
|
|
|
|
|
static auto IconView_activate(GtkIconView* iconView, GtkTreePath* path, pIconView* p) -> void {
|
|
|
|
if(!p->locked()) p->self().doActivate();
|
|
|
|
}
|
|
|
|
|
|
|
|
static auto IconView_buttonEvent(GtkTreeView* treeView, GdkEventButton* event, pIconView* p) -> signed {
|
|
|
|
if(event->type == GDK_BUTTON_RELEASE && event->button == 3) {
|
|
|
|
if(!p->locked()) p->self().doContext();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
static auto IconView_change(GtkIconView* iconView, pIconView* p) -> void {
|
|
|
|
p->_updateSelected();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::construct() -> void {
|
|
|
|
gtkWidget = gtk_scrolled_window_new(0, 0);
|
|
|
|
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(gtkWidget), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
|
|
|
|
gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(gtkWidget), GTK_SHADOW_ETCHED_IN);
|
|
|
|
|
|
|
|
store = gtk_list_store_new(2, GDK_TYPE_PIXBUF, G_TYPE_STRING);
|
|
|
|
subWidget = gtk_icon_view_new_with_model(GTK_TREE_MODEL(store));
|
|
|
|
gtk_icon_view_set_pixbuf_column(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_icon_view_set_text_column(GTK_ICON_VIEW(subWidget), 1);
|
|
|
|
gtk_icon_view_set_reorderable(GTK_ICON_VIEW(subWidget), false);
|
|
|
|
gtk_icon_view_set_margin(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_icon_view_set_spacing(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_icon_view_set_column_spacing(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_icon_view_set_row_spacing(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_icon_view_set_item_padding(GTK_ICON_VIEW(subWidget), 0);
|
|
|
|
gtk_container_add(GTK_CONTAINER(gtkWidget), subWidget);
|
|
|
|
|
|
|
|
gtk_widget_show(subWidget);
|
|
|
|
|
|
|
|
setBackgroundColor(state().backgroundColor);
|
|
|
|
setFlow(state().flow);
|
|
|
|
setForegroundColor(state().foregroundColor);
|
|
|
|
setMultiSelect(state().multiSelect);
|
|
|
|
setOrientation(state().orientation);
|
|
|
|
for(auto position : range(self().items())) {
|
|
|
|
auto& item = state().items[position];
|
|
|
|
append(item);
|
|
|
|
}
|
|
|
|
_updateSelected();
|
|
|
|
|
|
|
|
g_signal_connect(G_OBJECT(subWidget), "button-press-event", G_CALLBACK(IconView_buttonEvent), (gpointer)this);
|
|
|
|
g_signal_connect(G_OBJECT(subWidget), "button-release-event", G_CALLBACK(IconView_buttonEvent), (gpointer)this);
|
|
|
|
g_signal_connect(G_OBJECT(subWidget), "item-activated", G_CALLBACK(IconView_activate), (gpointer)this);
|
|
|
|
g_signal_connect(G_OBJECT(subWidget), "selection-changed", G_CALLBACK(IconView_change), (gpointer)this);
|
|
|
|
|
|
|
|
pWidget::construct();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::destruct() -> void {
|
|
|
|
gtk_widget_destroy(subWidget);
|
|
|
|
gtk_widget_destroy(gtkWidget);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::append(sIconViewItem item) -> void {
|
|
|
|
GtkTreeIter iter;
|
|
|
|
gtk_list_store_append(store, &iter);
|
|
|
|
setItemIcon(item->offset(), item->state.icon);
|
|
|
|
setItemSelected(item->offset(), item->state.selected);
|
|
|
|
setItemText(item->offset(), item->state.text);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::remove(sIconViewItem item) -> void {
|
|
|
|
lock();
|
|
|
|
GtkTreeIter iter;
|
|
|
|
if(gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(store), &iter, string{item->offset()})) {
|
|
|
|
gtk_list_store_remove(store, &iter);
|
|
|
|
}
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::reset() -> void {
|
|
|
|
lock();
|
|
|
|
gtk_list_store_clear(store);
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setBackgroundColor(Color color) -> void {
|
|
|
|
GdkColor gdkColor = CreateColor(color);
|
|
|
|
gtk_widget_modify_base(subWidget, GTK_STATE_NORMAL, color ? &gdkColor : nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setFlow(Orientation flow) -> void {
|
|
|
|
//GTK+ does not support vertical flow ... the closest we can get is a horizontal flow with only one column
|
|
|
|
if(flow == Orientation::Horizontal) {
|
|
|
|
gtk_icon_view_set_columns(GTK_ICON_VIEW(subWidget), -1);
|
|
|
|
gtk_icon_view_set_item_width(GTK_ICON_VIEW(subWidget), -1);
|
|
|
|
} else {
|
|
|
|
gtk_icon_view_set_columns(GTK_ICON_VIEW(subWidget), 1);
|
|
|
|
gtk_icon_view_set_item_width(GTK_ICON_VIEW(subWidget), max(128, pSizable::state().geometry.width() - 64));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setForegroundColor(Color color) -> void {
|
|
|
|
GdkColor gdkColor = CreateColor(color);
|
|
|
|
gtk_widget_modify_text(subWidget, GTK_STATE_NORMAL, color ? &gdkColor : nullptr);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setGeometry(Geometry geometry) -> void {
|
|
|
|
pWidget::setGeometry(geometry);
|
|
|
|
if(state().flow == Orientation::Vertical) {
|
|
|
|
gtk_icon_view_set_item_width(GTK_ICON_VIEW(subWidget), max(128, pSizable::state().geometry.width() - 64));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemIcon(unsigned position, const image& icon) -> void {
|
Update to v094r40 release.
byuu says:
Changelog:
- updated to newest hiro API
- SFC performance profile builds once again
- hiro: Qt port completed
Errata 1: the hiro/Qt target won't run tomoko just yet. Starts by
crashing inside InputSettings because hiro/Qt isn't forcefully selecting
the first item added to a ComboButton just yet. Even with a monkey patch
to get around that, the UI is incredibly unstable. Lots of geometry
calculation bugs, and a crash when you try and access certain folders in
the browser dialog. Lots of work left to be done there, sadly.
Errata 2: the hiro/Windows port has black backgrounds on all ListView
items. It's because I need to test for unassigned colors and grab the
default Windows brush colors in those cases.
Note: alternating row colors on multi-column ListView widgets is gone
now. Not a bug. May add it back later, but I'm not sure. It doesn't
interact nicely with per-cell background colors.
Things left to do:
First, I have to fix the Windows and Qt target bugs.
Next, I need to go through and revise the hiro API even more (nothing
too major.)
Next, I need to update icarus to use the new hiro API, and add support
for the SFC games database.
Next, I have to rewrite my TSV->BML cheat code tool.
Next, I need to post a final WIP of higan+icarus publicly and wait a few
days.
Next, I need to fix any bugs reported from the final WIP that I can.
Finally, I should be able to release v095.
2015-08-18 10:18:00 +00:00
|
|
|
if(position >= self().itemCount()) return;
|
Update to v094r09 release.
byuu says:
This will easily be the biggest diff in the history of higan. And not in
a good way.
* target-higan and target-loki have been blown away completely
* nall and ruby massively updated
* phoenix replaced with hiro (pretty near a total rewrite)
* target-higan restarted using hiro (just a window for now)
* all emulation cores updated to compile again
* installation changed to not require root privileges (installs locally)
For the foreseeable future (maybe even permanently?), the new higan UI
will only build under Linux/BSD with GTK+ 2.20+. Probably the most
likely route for Windows/OS X will be to try and figure out how to build
hiro/GTK on those platforms, as awful as that would be. The other
alternative would be to produce new UIs for those platforms ... which
would actually be a good opportunity to make something much more user
friendly.
Being that I just started on this a few hours ago, that means that for
at least a few weeks, don't expect to be able to actually play any
games. Right now, you can pretty much just compile the binary and that's
it. It's quite possible that some nall changes didn't produce
compilation errors, but will produce runtime errors. So until the UI can
actually load games, we won't know if anything is broken. But we should
mostly be okay. It was mostly just trim<1> -> trim changes, moving to
Hash::SHA256 (much cleaner), and patching some reckless memory copy
functions enough to compile.
Progress isn't going to be like it was before: I'm now dividing my time
much thinner between studying and other hobbies.
My aim this time is not to produce a binary for everyone to play games
on. Rather, it's to keep the emulator alive. I want to be able to apply
critical patches again. And I would also like the base of the emulator
to live on, for use in other emulator frontends that utilize higan.
2015-02-26 10:10:46 +00:00
|
|
|
GtkTreeIter iter;
|
|
|
|
if(gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(store), &iter, string{position})) {
|
|
|
|
if(icon) {
|
|
|
|
GdkPixbuf* pixbuf = CreatePixbuf(icon);
|
|
|
|
gtk_list_store_set(store, &iter, 0, pixbuf, -1);
|
|
|
|
} else {
|
|
|
|
gtk_list_store_set(store, &iter, 0, nullptr, -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemSelected(unsigned position, bool selected) -> void {
|
Update to v094r40 release.
byuu says:
Changelog:
- updated to newest hiro API
- SFC performance profile builds once again
- hiro: Qt port completed
Errata 1: the hiro/Qt target won't run tomoko just yet. Starts by
crashing inside InputSettings because hiro/Qt isn't forcefully selecting
the first item added to a ComboButton just yet. Even with a monkey patch
to get around that, the UI is incredibly unstable. Lots of geometry
calculation bugs, and a crash when you try and access certain folders in
the browser dialog. Lots of work left to be done there, sadly.
Errata 2: the hiro/Windows port has black backgrounds on all ListView
items. It's because I need to test for unassigned colors and grab the
default Windows brush colors in those cases.
Note: alternating row colors on multi-column ListView widgets is gone
now. Not a bug. May add it back later, but I'm not sure. It doesn't
interact nicely with per-cell background colors.
Things left to do:
First, I have to fix the Windows and Qt target bugs.
Next, I need to go through and revise the hiro API even more (nothing
too major.)
Next, I need to update icarus to use the new hiro API, and add support
for the SFC games database.
Next, I have to rewrite my TSV->BML cheat code tool.
Next, I need to post a final WIP of higan+icarus publicly and wait a few
days.
Next, I need to fix any bugs reported from the final WIP that I can.
Finally, I should be able to release v095.
2015-08-18 10:18:00 +00:00
|
|
|
if(position >= self().itemCount()) return;
|
Update to v094r09 release.
byuu says:
This will easily be the biggest diff in the history of higan. And not in
a good way.
* target-higan and target-loki have been blown away completely
* nall and ruby massively updated
* phoenix replaced with hiro (pretty near a total rewrite)
* target-higan restarted using hiro (just a window for now)
* all emulation cores updated to compile again
* installation changed to not require root privileges (installs locally)
For the foreseeable future (maybe even permanently?), the new higan UI
will only build under Linux/BSD with GTK+ 2.20+. Probably the most
likely route for Windows/OS X will be to try and figure out how to build
hiro/GTK on those platforms, as awful as that would be. The other
alternative would be to produce new UIs for those platforms ... which
would actually be a good opportunity to make something much more user
friendly.
Being that I just started on this a few hours ago, that means that for
at least a few weeks, don't expect to be able to actually play any
games. Right now, you can pretty much just compile the binary and that's
it. It's quite possible that some nall changes didn't produce
compilation errors, but will produce runtime errors. So until the UI can
actually load games, we won't know if anything is broken. But we should
mostly be okay. It was mostly just trim<1> -> trim changes, moving to
Hash::SHA256 (much cleaner), and patching some reckless memory copy
functions enough to compile.
Progress isn't going to be like it was before: I'm now dividing my time
much thinner between studying and other hobbies.
My aim this time is not to produce a binary for everyone to play games
on. Rather, it's to keep the emulator alive. I want to be able to apply
critical patches again. And I would also like the base of the emulator
to live on, for use in other emulator frontends that utilize higan.
2015-02-26 10:10:46 +00:00
|
|
|
lock();
|
|
|
|
GtkTreePath* path = gtk_tree_path_new_from_string(string{position});
|
|
|
|
if(selected) {
|
|
|
|
gtk_icon_view_select_path(GTK_ICON_VIEW(subWidget), path);
|
|
|
|
} else {
|
|
|
|
gtk_icon_view_unselect_path(GTK_ICON_VIEW(subWidget), path);
|
|
|
|
}
|
|
|
|
gtk_tree_path_free(path);
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemSelected(const vector<signed>& selections) -> void {
|
|
|
|
lock();
|
|
|
|
setItemSelectedNone();
|
|
|
|
for(auto& position : selections) setItemSelected(position, true);
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemSelectedAll() -> void {
|
|
|
|
lock();
|
|
|
|
gtk_icon_view_select_all(GTK_ICON_VIEW(subWidget));
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemSelectedNone() -> void {
|
|
|
|
lock();
|
|
|
|
gtk_icon_view_unselect_all(GTK_ICON_VIEW(subWidget));
|
|
|
|
_updateSelected();
|
|
|
|
unlock();
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setItemText(unsigned position, const string& text) -> void {
|
Update to v094r40 release.
byuu says:
Changelog:
- updated to newest hiro API
- SFC performance profile builds once again
- hiro: Qt port completed
Errata 1: the hiro/Qt target won't run tomoko just yet. Starts by
crashing inside InputSettings because hiro/Qt isn't forcefully selecting
the first item added to a ComboButton just yet. Even with a monkey patch
to get around that, the UI is incredibly unstable. Lots of geometry
calculation bugs, and a crash when you try and access certain folders in
the browser dialog. Lots of work left to be done there, sadly.
Errata 2: the hiro/Windows port has black backgrounds on all ListView
items. It's because I need to test for unassigned colors and grab the
default Windows brush colors in those cases.
Note: alternating row colors on multi-column ListView widgets is gone
now. Not a bug. May add it back later, but I'm not sure. It doesn't
interact nicely with per-cell background colors.
Things left to do:
First, I have to fix the Windows and Qt target bugs.
Next, I need to go through and revise the hiro API even more (nothing
too major.)
Next, I need to update icarus to use the new hiro API, and add support
for the SFC games database.
Next, I have to rewrite my TSV->BML cheat code tool.
Next, I need to post a final WIP of higan+icarus publicly and wait a few
days.
Next, I need to fix any bugs reported from the final WIP that I can.
Finally, I should be able to release v095.
2015-08-18 10:18:00 +00:00
|
|
|
if(position >= self().itemCount()) return;
|
Update to v094r09 release.
byuu says:
This will easily be the biggest diff in the history of higan. And not in
a good way.
* target-higan and target-loki have been blown away completely
* nall and ruby massively updated
* phoenix replaced with hiro (pretty near a total rewrite)
* target-higan restarted using hiro (just a window for now)
* all emulation cores updated to compile again
* installation changed to not require root privileges (installs locally)
For the foreseeable future (maybe even permanently?), the new higan UI
will only build under Linux/BSD with GTK+ 2.20+. Probably the most
likely route for Windows/OS X will be to try and figure out how to build
hiro/GTK on those platforms, as awful as that would be. The other
alternative would be to produce new UIs for those platforms ... which
would actually be a good opportunity to make something much more user
friendly.
Being that I just started on this a few hours ago, that means that for
at least a few weeks, don't expect to be able to actually play any
games. Right now, you can pretty much just compile the binary and that's
it. It's quite possible that some nall changes didn't produce
compilation errors, but will produce runtime errors. So until the UI can
actually load games, we won't know if anything is broken. But we should
mostly be okay. It was mostly just trim<1> -> trim changes, moving to
Hash::SHA256 (much cleaner), and patching some reckless memory copy
functions enough to compile.
Progress isn't going to be like it was before: I'm now dividing my time
much thinner between studying and other hobbies.
My aim this time is not to produce a binary for everyone to play games
on. Rather, it's to keep the emulator alive. I want to be able to apply
critical patches again. And I would also like the base of the emulator
to live on, for use in other emulator frontends that utilize higan.
2015-02-26 10:10:46 +00:00
|
|
|
GtkTreeIter iter;
|
|
|
|
if(gtk_tree_model_get_iter_from_string(GTK_TREE_MODEL(store), &iter, string{position})) {
|
|
|
|
gtk_list_store_set(store, &iter, 1, (const char*)text, -1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setMultiSelect(bool multiSelect) -> void {
|
|
|
|
gtk_icon_view_set_selection_mode(GTK_ICON_VIEW(subWidget),
|
|
|
|
multiSelect ? GTK_SELECTION_MULTIPLE : GTK_SELECTION_SINGLE
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::setOrientation(Orientation orientation) -> void {
|
|
|
|
gtk_icon_view_set_item_orientation(GTK_ICON_VIEW(subWidget),
|
|
|
|
orientation == Orientation::Horizontal ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
auto pIconView::_updateSelected() -> void {
|
|
|
|
vector<unsigned> selected;
|
|
|
|
|
|
|
|
GList* list = gtk_icon_view_get_selected_items(GTK_ICON_VIEW(subWidget));
|
|
|
|
GList* p = list;
|
|
|
|
|
|
|
|
while(p) {
|
|
|
|
auto path = (GtkTreePath*)p->data;
|
|
|
|
char* pathString = gtk_tree_path_to_string(path);
|
|
|
|
unsigned position = decimal(pathString);
|
|
|
|
g_free(pathString);
|
|
|
|
selected.append(position);
|
|
|
|
p = p->next;
|
|
|
|
}
|
|
|
|
|
|
|
|
g_list_foreach(list, (GFunc)gtk_tree_path_free, nullptr);
|
|
|
|
g_list_free(list);
|
|
|
|
|
|
|
|
bool identical = selected.size() == currentSelection.size();
|
|
|
|
if(identical) {
|
|
|
|
for(unsigned n = 0; n < selected.size(); n++) {
|
|
|
|
if(selected[n] != currentSelection[n]) {
|
|
|
|
identical = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(identical) return;
|
|
|
|
|
|
|
|
currentSelection = selected;
|
|
|
|
for(auto& item : state().items) item->state.selected = false;
|
|
|
|
for(auto& position : currentSelection) {
|
Update to v094r40 release.
byuu says:
Changelog:
- updated to newest hiro API
- SFC performance profile builds once again
- hiro: Qt port completed
Errata 1: the hiro/Qt target won't run tomoko just yet. Starts by
crashing inside InputSettings because hiro/Qt isn't forcefully selecting
the first item added to a ComboButton just yet. Even with a monkey patch
to get around that, the UI is incredibly unstable. Lots of geometry
calculation bugs, and a crash when you try and access certain folders in
the browser dialog. Lots of work left to be done there, sadly.
Errata 2: the hiro/Windows port has black backgrounds on all ListView
items. It's because I need to test for unassigned colors and grab the
default Windows brush colors in those cases.
Note: alternating row colors on multi-column ListView widgets is gone
now. Not a bug. May add it back later, but I'm not sure. It doesn't
interact nicely with per-cell background colors.
Things left to do:
First, I have to fix the Windows and Qt target bugs.
Next, I need to go through and revise the hiro API even more (nothing
too major.)
Next, I need to update icarus to use the new hiro API, and add support
for the SFC games database.
Next, I have to rewrite my TSV->BML cheat code tool.
Next, I need to post a final WIP of higan+icarus publicly and wait a few
days.
Next, I need to fix any bugs reported from the final WIP that I can.
Finally, I should be able to release v095.
2015-08-18 10:18:00 +00:00
|
|
|
if(position >= self().itemCount()) continue;
|
Update to v094r09 release.
byuu says:
This will easily be the biggest diff in the history of higan. And not in
a good way.
* target-higan and target-loki have been blown away completely
* nall and ruby massively updated
* phoenix replaced with hiro (pretty near a total rewrite)
* target-higan restarted using hiro (just a window for now)
* all emulation cores updated to compile again
* installation changed to not require root privileges (installs locally)
For the foreseeable future (maybe even permanently?), the new higan UI
will only build under Linux/BSD with GTK+ 2.20+. Probably the most
likely route for Windows/OS X will be to try and figure out how to build
hiro/GTK on those platforms, as awful as that would be. The other
alternative would be to produce new UIs for those platforms ... which
would actually be a good opportunity to make something much more user
friendly.
Being that I just started on this a few hours ago, that means that for
at least a few weeks, don't expect to be able to actually play any
games. Right now, you can pretty much just compile the binary and that's
it. It's quite possible that some nall changes didn't produce
compilation errors, but will produce runtime errors. So until the UI can
actually load games, we won't know if anything is broken. But we should
mostly be okay. It was mostly just trim<1> -> trim changes, moving to
Hash::SHA256 (much cleaner), and patching some reckless memory copy
functions enough to compile.
Progress isn't going to be like it was before: I'm now dividing my time
much thinner between studying and other hobbies.
My aim this time is not to produce a binary for everyone to play games
on. Rather, it's to keep the emulator alive. I want to be able to apply
critical patches again. And I would also like the base of the emulator
to live on, for use in other emulator frontends that utilize higan.
2015-02-26 10:10:46 +00:00
|
|
|
state().items[position]->state.selected = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(!locked()) self().doChange();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
Update to v094r20 release.
byuu says:
Main reason for this WIP was because of all the added lines to hiro for
selective component disabling. May as well get all the diff-noise apart
from code changes.
It also merges something I've been talking to Cydrak about ... making
nall::string::(integer,decimal) do built-in binary,octal,hex decoding
instead of just failing on those. This will have fun little side effects
all over the place, like being able to view a topic on my forum via
"forum.byuu.org/topic/0b10010110", heh.
There are two small changes to higan itself, though. First up, I fixed
the resampler ratio when loading non-SNES games. Tested and I can play
Game Boy games fine now. Second, I hooked up menu option hiding for
reset and controller selection. Right now, this works like higan v094,
but I'm thinking I might want to show the "Device -> Controller" even if
that's all that's there. It kind of jives nicer with the input settings
window to see the labels there, I think. And if we ever do add more
stuff, it'll be nice that people already always expect that menu there.
Remaining issues:
* add slotted cart loader (SGB, BSX, ST)
* add DIP switch selection window (NSS)
* add timing configuration (video/audio sync)
2015-05-23 05:37:08 +00:00
|
|
|
|
|
|
|
#endif
|